[jboss-user] [JBoss Seam] - fresh cvs co build

Daoud do-not-reply at jboss.com
Wed Oct 10 20:08:21 EDT 2007


first build

  | C:\seam-cvs\jboss-seam>ant build
  | Buildfile: build.xml
  | 
  | initpoms:
  |      [echo] Setting up dependencies
  |     [mkdir] Created dir: C:\seam-cvs\jboss-seam\classes\poms
  |      [copy] Copying 1 file to C:\seam-cvs\jboss-seam\classes\poms
  | [artifact:install] [INFO] Installing C:\seam-cvs\jboss-seam\classes\poms\root.pom to C:\Documents and Settings
  | \Administrateur\.m2\repository\org\jboss\seam\root\2.0.0.CR2\root-2.0.0.CR2.pom
  |      [copy] Copying 1 file to C:\seam-cvs\jboss-seam\classes\poms
  | [artifact:install] [INFO] Installing C:\seam-cvs\jboss-seam\classes\poms\parent.pom to C:\Documents and Settin
  | gs\Administrateur\.m2\repository\org\jboss\seam\parent\2.0.0.CR2\parent-2.0.0.CR2.pom
  |      [copy] Copying 1 file to C:\seam-cvs\jboss-seam\classes\poms
  |      [copy] Copying 1 file to C:\seam-cvs\jboss-seam\classes\poms
  |      [copy] Copying 1 file to C:\seam-cvs\jboss-seam\classes\poms
  |      [copy] Copying 1 file to C:\seam-cvs\jboss-seam\classes\poms
  |      [copy] Copying 1 file to C:\seam-cvs\jboss-seam\classes\poms
  |      [copy] Copying 1 file to C:\seam-cvs\jboss-seam\classes\poms
  |      [copy] Copying 1 file to C:\seam-cvs\jboss-seam\classes\poms
  |      [copy] Copying 1 file to C:\seam-cvs\jboss-seam\classes\poms
  | 
  | init:
  | 
  | initcore:
  |      [echo] Build JBoss Seam core 2.0
  |     [mkdir] Created dir: C:\seam-cvs\jboss-seam\classes\coreclasses
  |      [copy] Copying 25 files to C:\seam-cvs\jboss-seam\classes\coreclasses
  | 
  | select-compiler:
  | 
  | antlr:
  | 
  | compilecore:
  |     [javac] Compiling 486 source files to C:\seam-cvs\jboss-seam\classes\coreclasses
  |     [javac] Note: Some input files use or override a deprecated API.
  |     [javac] Note: Recompile with -Xlint:deprecation for details.
  |     [javac] Note: Some input files use unchecked or unsafe operations.
  |     [javac] Note: Recompile with -Xlint:unchecked for details.
  | 
  | jarcore:
  |     [mkdir] Created dir: C:\seam-cvs\jboss-seam\lib
  |     [mkdir] Created dir: C:\seam-cvs\jboss-seam\lib\src
  |       [jar] Building jar: C:\seam-cvs\jboss-seam\lib\jboss-seam.jar
  |       [jar] Building jar: C:\seam-cvs\jboss-seam\lib\src\jboss-seam-sources.jar
  | [artifact:install] [INFO] Installing C:\seam-cvs\jboss-seam\lib\jboss-seam.jar to C:\Documents and Settings\Ad
  | ministrateur\.m2\repository\org\jboss\seam\jboss-seam\2.0.0.CR2\jboss-seam-2.0.0.CR2.jar
  | [artifact:install] [INFO] Installing C:\seam-cvs\jboss-seam\lib\src\jboss-seam-sources.jar to C:\Documents and
  |  Settings\Administrateur\.m2\repository\org\jboss\seam\jboss-seam\2.0.0.CR2\jboss-seam-2.0.0.CR2-sources.jar
  | 
  | initui:
  | 
  | jarui:
  |      [copy] Copying 1 file to C:\seam-cvs\jboss-seam\ui
  |      [java] [ERROR] BUILD ERROR
  |      [java] Java Result: 1
  |    [delete] Deleting: C:\seam-cvs\jboss-seam\ui\pom.xml
  | 
  | BUILD FAILED
  | C:\seam-cvs\jboss-seam\build.xml:283: Warning: Could not find file C:\seam-cvs\jboss-seam\ui\target\jboss-seam
  | -ui.jar to copy.
  | 
  | Total time: 24 seconds
  | 

At this point i copied the ui jars from JBoss Maven Repository as said in Norman Blog, run the target again it chocks on the initioc target:


  | initioc:
  |      [echo] Build JBoss Seam ioc 2.0
  |     [mkdir] Created dir: C:\seam-cvs\jboss-seam\classes\iocclasses
  |      [copy] Copying 6 files to C:\seam-cvs\jboss-seam\classes\iocclasses
  | [artifact:dependencies] Downloading: sun-jaf/activation/1.0.2/activation-1.0.2.pom
  | [artifact:dependencies] Downloading: sun-jaf/activation/1.0.2/activation-1.0.2.pom
  | [artifact:dependencies] Downloading: sun-jaf/activation/1.0.2/activation-1.0.2.pom
  | [artifact:dependencies] Downloading: sun-jaf/activation/1.0.2/activation-1.0.2.jar
  | [artifact:dependencies] Downloading: sun-jaf/activation/1.0.2/activation-1.0.2.jar
  | [artifact:dependencies] Downloading: sun-jaf/activation/1.0.2/activation-1.0.2.jar
  | [artifact:dependencies] Downloading: sun-jaf/activation/1.0.2/activation-1.0.2.jar
  | [artifact:dependencies] An error has occurred while processing the Maven artifact tasks.
  | [artifact:dependencies]  Diagnosis:
  | [artifact:dependencies]
  | [artifact:dependencies] Unable to resolve artifact: Missing:
  | [artifact:dependencies] ----------
  | [artifact:dependencies] 1) sun-jaf:activation:jar:1.0.2
  | [artifact:dependencies]
  | [artifact:dependencies]   Try downloading the file manually from the project website.
  | [artifact:dependencies]
  | [artifact:dependencies]   Then, install it using the command:
  | [artifact:dependencies]       mvn install:install-file -DgroupId=sun-jaf -DartifactId=activation \
  | [artifact:dependencies]           -Dversion=1.0.2 -Dpackaging=jar -Dfile=/path/to/file
  | [artifact:dependencies] Alternatively, if you host your own repository you can deploy the file there:       mv
  | n deploy:deploy-file -DgroupId=sun-jaf -DartifactId=activation \
  | [artifact:dependencies]           -Dversion=1.0.2 -Dpackaging=jar -Dfile=/path/to/file \
  | [artifact:dependencies]            -Durl=[url] -DrepositoryId=[id]
  | [artifact:dependencies]
  | [artifact:dependencies]   Path to dependency:
  | [artifact:dependencies]         1) org.jboss.seam:jboss-seam-ioc:jar:2.0.0.CR2
  | [artifact:dependencies]         2) jboss:jbossxb:jar:1.0.0.CR8
  | [artifact:dependencies]         3) sun-jaf:activation:jar:1.0.2
  | [artifact:dependencies]
  | [artifact:dependencies] ----------
  | [artifact:dependencies] 1 required artifact is missing.
  | [artifact:dependencies]
  | [artifact:dependencies] for artifact:
  | [artifact:dependencies]   org.jboss.seam:jboss-seam-ioc:jar:2.0.0.CR2
  | [artifact:dependencies]
  | [artifact:dependencies] from the specified remote repositories:
  | [artifact:dependencies]   central (http://repo1.maven.org/maven2),
  | [artifact:dependencies]   repository.jboss.org (http://repository.jboss.org/maven2),
  | [artifact:dependencies]   local.repository (file://C:\seam-cvs\jboss-seam/build/repository)
  | [artifact:dependencies]
  | [artifact:dependencies]
  | 
  | BUILD FAILED
  | C:\seam-cvs\jboss-seam\build.xml:203: The following error occurred while executing this line:
  | C:\seam-cvs\jboss-seam\build.xml:702: The following error occurred while executing this line:
  | C:\seam-cvs\jboss-seam\build\utilities.build.xml:32: Unable to resolve artifact: Missing:
  | ----------
  | 1) sun-jaf:activation:jar:1.0.2
  | 
  |   Try downloading the file manually from the project website.
  | 
  |   Then, install it using the command:
  |       mvn install:install-file -DgroupId=sun-jaf -DartifactId=activation \
  |           -Dversion=1.0.2 -Dpackaging=jar -Dfile=/path/to/file
  | Alternatively, if you host your own repository you can deploy the file there:       mvn deploy:deploy-file -Dg
  | roupId=sun-jaf -DartifactId=activation \
  |           -Dversion=1.0.2 -Dpackaging=jar -Dfile=/path/to/file \
  |            -Durl=[url] -DrepositoryId=[id]
  | 
  |   Path to dependency:
  |         1) org.jboss.seam:jboss-seam-ioc:jar:2.0.0.CR2
  |         2) jboss:jbossxb:jar:1.0.0.CR8
  |         3) sun-jaf:activation:jar:1.0.2
  | 
  | ----------
  | 1 required artifact is missing.
  | 
  | for artifact:
  |   org.jboss.seam:jboss-seam-ioc:jar:2.0.0.CR2
  | 
  | from the specified remote repositories:
  |   central (http://repo1.maven.org/maven2),
  |   repository.jboss.org (http://repository.jboss.org/maven2),
  |   local.repository (file://C:\seam-cvs\jboss-seam/build/repository)
  | 
  | 
  | Total time: 15 seconds
  | 

the fact is that http://repository.jboss.org/maven2/sun-jaf/activation/1.0.2/ returns a 404 error.
Any pointer, help, fix appreciated.


Best Regards
Daoud AbdelMonem Faleh

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4093796#4093796

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4093796



More information about the jboss-user mailing list