This content has been marked as final.
Show 5 replies
-
1. Re: Seam 3 source code (core) build fails
nickarls Jun 9, 2010 8:20 AM (in response to isonisak)You need to set up your repositories according to this
-
2. Re: Seam 3 source code (core) build fails
isonisak Jun 10, 2010 6:39 AM (in response to isonisak)
Hello
- Added the elements "repositories" and "repositories" like instructed in page
http://community.jboss.org/wiki/MavenGettingStarted-Developers
to ./build/trunk/parent/pom.xml and /dist/trunk/pom.xml
- Cleaned local maven repository (./m3) ( apache-maven-3.0-beta-1 )
- Ran (mvn install) ./build/trunk/parent/pom.xml => OK
Now the org.jboss.spec stuf were downloaded.
- Ran (mvn install) ./dist/trunk/pom.xml => Error below
Shoul I download the required artifact (org.apache.maven.plugins:maven-shade-plugin:maven-plugin:1.3.3 ) manyally as requested and rerun build ?
Seam source code is probably not the cause ( Revision "2010.06.08" ).
// --------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Seam BOM .......................................... SUCCESS [4.047s]
[INFO] Seam .............................................. FAILURE [32:40.315s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 32:54.362s
[INFO] Finished at: Thu Jun 10 13:23:15 EEST 2010
[INFO] Final Memory: 15M/38M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-shade-plugin:1.3.3:shade (uber-jar) on project seam: Execu
tion uber-jar of goal org.apache.maven.plugins:maven-shade-plugin:1.3.3:shade failed: Plugin org.apache.maven.plugins:ma
ven-shade-plugin:1.3.3 or one of its dependencies could not be resolved: Missing:
----------
1) org.jboss.seam.build:seam-maven-tools:jar:1.0.0-SNAPSHOT
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.jboss.seam.build -DartifactId=seam-maven-tools -Dversion=1.0.0-SNAPSHOT -Dp
ackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=org.jboss.seam.build -DartifactId=seam-maven-tools -Dversion=1.0.0-SNAPSHOT -Dpac
kaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.apache.maven.plugins:maven-shade-plugin:maven-plugin:1.3.3
2) org.jboss.seam.build:seam-maven-tools:jar:1.0.0-SNAPSHOT
----------
1 required artifact is missing.
for artifact:
org.apache.maven.plugins:maven-shade-plugin:maven-plugin:1.3.3
from the specified remote repositories:
jboss-public-repository-group (http://repository.jboss.org/nexus/content/groups/public/, releases=true, snapshots=true
),
twdata-m2-repository.googlecode.com (http://twdata-m2-repository.googlecode.com/svn, releases=true, snapshots=false),
download.java.net/glassfish (http://download.java.net/maven/glassfish, releases=true, snapshots=false),
repository.jboss.org (http://repository.jboss.org/maven2, releases=true, snapshots=false),
central (http://repo1.maven.org/maven2, releases=true, snapshots=false)
-> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :seam -
3. Re: Seam 3 source code (core) build fails
nickarls Jun 11, 2010 1:59 AM (in response to isonisak)Hmm, Pete added that dep. You could add the repo http://oss.sonatype.org/content/repositories/jboss-snapshots/ until someone gives a better solution.
-
4. Re: Seam 3 source code (core) build fails
isonisak Jun 11, 2010 7:15 AM (in response to isonisak)
Thanks,
But this repo didn't correct the error and
Had to manually download and install seam-maven-tools-1.0.0-20100604.171109-2.jar
( mvn install:install-file -DgroupId=org.jboss.seam.build
-DartifactId=seam-maven-tools -Dversion=1.0.0-SNAPSHOT
-Dpackaging=jar -Dfile=.../Java/temp/seam-maven-tools-1.0.0-20100604.171109-2.jar )
Then Seam build succeeded.
Also Faces module build went OK.
387 jars were downloaded from diffrent repositories !
"Gathered explenations" that should be updated to page http://seamframework.org/Seam3/CheckOutAndBuildSeam
- Add the elements "repositories" and "repositories" like instructed in page
http://community.jboss.org/wiki/MavenGettingStarted-Developers
to ./build/trunk/parent/pom.xml and /dist/trunk/pom.xml
- If build fails,
- - add repo http://oss.sonatype.org/content/repositories/jboss-snapshots/
- - install rest manually
Next task is to try the examples ( .\examples\trunk )
Proper documentation is badly needed.
I made another ticket from this matter to this forum / how to build the docs from sources.
-
5. Re: Seam 3 source code (core) build fails
tedgoddard Sep 7, 2010 4:30 PM (in response to isonisak)Should this directory contain a .jar file as well as the signature files?