qickrooms / flex-mojos

Automatically exported from code.google.com/p/flex-mojos
0 stars 0 forks source link

Problem with ressource bundle in a remote repository (v2.0 alpha4) #95

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I just switch from version 1.0 to version 2.0alpha4 and got some probleme
related to ressource bundle and remote repository

I did deploy a complete version 3.0.0.477 of the sdk to our company
repository using your new install-mojo:deploy-sdk.
I did check the repository and all file are in place.

I then try to build the application (pom.xml attached) and got :

====================== MAVEN OUTPUT (truncated) =======================
Downloading:
http://repo1.maven.org/maven2/com/adobe/flex/framework/framework/3.
0.0.477/framework-3.0.0.477.rb.swc
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) com.adobe.flex.framework:framework:rb.swc:3.0.0.477

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=com.adobe.flex.framework
-DartifactId=f
ramework -Dversion=3.0.0.477 -Dpackaging=rb.swc -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there:

      mvn deploy:deploy-file -DgroupId=com.adobe.flex.framework
-DartifactId=fra
mework -Dversion=3.0.0.477 -Dpackaging=rb.swc -Dfile=/path/to/file
-Durl=[url] -
DrepositoryId=[id]

  Path to dependency:
        1) fr.mediametrie:TVLib_client:swc:1.1.0-SNAPSHOT
        2) com.adobe.flex.framework:flex-framework:pom:3.0.0.477
        3) com.adobe.flex.framework:framework:rb.swc:3.0.0.477

----------
======================= END ========================
I got 5 artifact missing in the full message and all are related to bundle
ressource.

However if I install the FDK in my local repository using you
install-mojo:install-sdk every think work well.

Possible problem:
if the sdk is only deploy on the repository. Then you build the application
maven try to download is dependency.
the build failed and maven say : Failed to resolve artifact. with no
usefull detail.
Then I look after that in my local repository, it look like maven stop at
the beacon rb.swc file. It look like maven cannot download the 0 byte file
and stop at that point for this artifact because my local repository is
partially updated up to the beacon.rb.swc file (not downloaded).

I'm not good enough with maven to undestand what happens. But this problem
come on all our working station and we did temporary resolve the problem by
installing the sdk on all local repository.
Thank you for the job done.

Original issue reported on code.google.com by rousseau...@laposte.net on 27 Aug 2008 at 3:43

Attachments:

GoogleCodeExporter commented 9 years ago
adding configuration profile:
Maven version: 2.0.9
Java version: 1.6.0_07
OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
flex-mojo 2.0-alpha4

Original comment by rousseau...@laposte.net on 27 Aug 2008 at 3:44

GoogleCodeExporter commented 9 years ago
Install mojo alpha4 has this bug, it is not deploying resources-bundle right.  
It
only installs (install-sdk goal).

It is fixed at TRUNK, 2.0-alpha5-SNAPSHOT.

You can:
a) download trunk, compile and used it.
b) run install mojo on each local machine.

I will release alpha-5 in a few days.

VELO

Original comment by velo...@gmail.com on 27 Aug 2008 at 4:48