[jboss-user] [JBoss Seam] - Problems with Seam-gen (and maven i guess)

Eethyo do-not-reply at jboss.com
Tue Oct 9 10:02:25 EDT 2007


Hi I am using Seam 2.0.0.CR2.

If i want to run seam-gen i get the following error: 


Buildfile: C:\rhdevstudio\jboss-eap\jboss-seam-2.0.0.CR2\seam-gen\build.xml
  | init:
  | [artifact:dependencies] Downloading: org/jboss/seam/jboss-seam-gen/2.0.0.CR2/jboss-seam-gen-2.0.0.CR2.pom
  | [artifact:dependencies] Downloading: org/jboss/seam/jboss-seam-gen/2.0.0.CR2/jboss-seam-gen-2.0.0.CR2.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) org.jboss.seam:jboss-seam-gen:jar:2.0.0.CR2
  | [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=org.jboss.seam -DartifactId=jboss-seam-gen \
  | [artifact:dependencies]           -Dversion=2.0.0.CR2 -Dpackaging=jar -Dfile=/path/to/file
  | [artifact:dependencies] Alternatively, if you host your own repository you can deploy the file there:       mvn deploy:deploy-file -DgroupId=org.jboss.seam -DartifactId=jboss-seam-gen \
  | [artifact:dependencies]           -Dversion=2.0.0.CR2 -Dpackaging=jar -Dfile=/path/to/file \
  | [artifact:dependencies]            -Durl=[url] -DrepositoryId=[id]
  | [artifact:dependencies] 
  | [artifact:dependencies]   Path to dependency: 
  | [artifact:dependencies]   	1) unspecified:unspecified:jar:0.0
  | [artifact:dependencies]   	2) org.jboss.seam:jboss-seam-gen:jar:2.0.0.CR2
  | [artifact:dependencies] 
  | [artifact:dependencies] ----------
  | [artifact:dependencies] 1 required artifact is missing.
  | [artifact:dependencies] 
  | [artifact:dependencies] for artifact: 
  | [artifact:dependencies]   unspecified:unspecified:jar:0.0
  | [artifact:dependencies] 
  | [artifact:dependencies] from the specified remote repositories:
  | [artifact:dependencies]   central (http://repo1.maven.org/maven2)
  | [artifact:dependencies] 
  | [artifact:dependencies] 
  | 
  | BUILD FAILED
  | C:\rhdevstudio\jboss-eap\jboss-seam-2.0.0.CR2\seam-gen\build.xml:14: Unable to resolve artifact: Missing:
  | ----------
  | 1) org.jboss.seam:jboss-seam-gen:jar:2.0.0.CR2
  | 
  |   Try downloading the file manually from the project website.
  | 
  |   Then, install it using the command: 
  |       mvn install:install-file -DgroupId=org.jboss.seam -DartifactId=jboss-seam-gen \
  |           -Dversion=2.0.0.CR2 -Dpackaging=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 -DartifactId=jboss-seam-gen \
  |           -Dversion=2.0.0.CR2 -Dpackaging=jar -Dfile=/path/to/file \
  |            -Durl=[url] -DrepositoryId=[id]
  | 
  |   Path to dependency: 
  |   	1) unspecified:unspecified:jar:0.0
  |   	2) org.jboss.seam:jboss-seam-gen:jar:2.0.0.CR2
  | 
  | ----------
  | 1 required artifact is missing.
  | 
  | for artifact: 
  |   unspecified:unspecified:jar:0.0
  | 
  | from the specified remote repositories:
  |   central (http://repo1.maven.org/maven2)
  | 
  | 
  | Total time: 3 seconds


if I run the "ant" in the seam-gen directory i get:



C:\rhdevstudio\jboss-eap\jboss-seam-2.0.0.CR2\seam-gen>ant
  | Buildfile: build.xml
  | 
  | init:
  | [artifact:dependencies] Downloading: org/jboss/seam/jboss-seam-gen/2.0.0.CR2/jbo
  | ss-seam-gen-2.0.0.CR2.pom
  | [artifact:dependencies] Downloading: org/jboss/seam/jboss-seam-gen/2.0.0.CR2/jbo
  | ss-seam-gen-2.0.0.CR2.jar
  | [artifact:dependencies] An error has occurred while processing the Maven artifac
  | t tasks.
  | [artifact:dependencies]  Diagnosis:
  | [artifact:dependencies]
  | [artifact:dependencies] Unable to resolve artifact: Missing:
  | [artifact:dependencies] ----------
  | [artifact:dependencies] 1) org.jboss.seam:jboss-seam-gen:jar:2.0.0.CR2
  | [artifact:dependencies]
  | [artifact:dependencies]   Try downloading the file manually from the project web
  | site.
  | [artifact:dependencies]
  | [artifact:dependencies]   Then, install it using the command:
  | [artifact:dependencies]       mvn install:install-file -DgroupId=org.jboss.seam
  | -DartifactId=jboss-seam-gen \
  | [artifact:dependencies]           -Dversion=2.0.0.CR2 -Dpackaging=jar -Dfile=/pa
  | th/to/file
  | [artifact:dependencies] Alternatively, if you host your own repository you can d
  | eploy the file there:       mvn deploy:deploy-file -DgroupId=org.jboss.seam -Dar
  | tifactId=jboss-seam-gen \
  | [artifact:dependencies]           -Dversion=2.0.0.CR2 -Dpackaging=jar -Dfile=/pa
  | th/to/file \
  | [artifact:dependencies]            -Durl=[url] -DrepositoryId=[id]
  | [artifact:dependencies]
  | [artifact:dependencies]   Path to dependency:
  | [artifact:dependencies]         1) unspecified:unspecified:jar:0.0
  | [artifact:dependencies]         2) org.jboss.seam:jboss-seam-gen:jar:2.0.0.CR2
  | [artifact:dependencies]
  | [artifact:dependencies] ----------
  | [artifact:dependencies] 1 required artifact is missing.
  | [artifact:dependencies]
  | [artifact:dependencies] for artifact:
  | [artifact:dependencies]   unspecified:unspecified:jar:0.0
  | [artifact:dependencies]
  | [artifact:dependencies] from the specified remote repositories:
  | [artifact:dependencies]   central (http://repo1.maven.org/maven2)
  | [artifact:dependencies]
  | [artifact:dependencies]
  | 
  | BUILD FAILED
  | C:\rhdevstudio\jboss-eap\jboss-seam-2.0.0.CR2\seam-gen\build.xml:14: Unable to r
  | esolve artifact: Missing:
  | ----------
  | 1) org.jboss.seam:jboss-seam-gen:jar:2.0.0.CR2
  | 
  |   Try downloading the file manually from the project website.
  | 
  |   Then, install it using the command:
  |       mvn install:install-file -DgroupId=org.jboss.seam -DartifactId=jboss-seam-
  | gen \
  |           -Dversion=2.0.0.CR2 -Dpackaging=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 -DartifactId=jboss-seam-gen
  | \
  |           -Dversion=2.0.0.CR2 -Dpackaging=jar -Dfile=/path/to/file \
  |            -Durl=[url] -DrepositoryId=[id]
  | 
  |   Path to dependency:
  |         1) unspecified:unspecified:jar:0.0
  |         2) org.jboss.seam:jboss-seam-gen:jar:2.0.0.CR2
  | 
  | ----------
  | 1 required artifact is missing.
  | 
  | for artifact:
  |   unspecified:unspecified:jar:0.0
  | 
  | from the specified remote repositories:
  |   central (http://repo1.maven.org/maven2)
  | 
  | 
  | Total time: 4 seconds
  | C:\rhdevstudio\jboss-eap\jboss-seam-2.0.0.CR2\seam-gen>


whats the mistake?
i didnt change anything and i dont have any idea about maven... yet ;)

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

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



More information about the jboss-user mailing list