[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-2147) seam-gen: maven artifacts required with "mavenized=false"
Joachim Neubert (JIRA)
jira-events at lists.jboss.org
Tue Oct 23 11:44:01 EDT 2007
seam-gen: maven artifacts required with "mavenized=false"
----------------------------------------------------------
Key: JBSEAM-2147
URL: http://jira.jboss.com/jira/browse/JBSEAM-2147
Project: JBoss Seam
Issue Type: Bug
Affects Versions: 2.0.0.CR2
Reporter: Joachim Neubert
seam-gen tries to download some maven artifacts and the build fails, because this does not work. (Maybe it does not understand the existing %http_proxy% setting, but, in my opinon, maven artifacts should not be required at all).
C:\Programme\jboss-seam-2.0.0.CR2>type build.properties
#Fri Oct 05 09:27:11 CDT 2007
mavenized=false
jboss.home=c\:/programme/jboss-4.2.1.GA
C:\Programme\jboss-seam-2.0.0.CR2>seam setup
Buildfile: C:\Programme\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 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=/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 -Dar
tifactId=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:\Programme\jboss-seam-2.0.0.CR2\seam-gen\build.xml:14: Unable to resolve artif
act: 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
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list