Arbi,
I've recently pointed this out to Lincoln.
Attached is the patch I have submitted that resolves the issue, which
you can apply locally until it makes it into trunk
Ken
On 17/03/2010 17:45, Arbi Sookazian wrote:
Regarding this post:
http://seamframework.org/Community/JSF2ViewScopeInCDI#comment120916
I just did a 'svn co' using this URL:
http://anonsvn.jboss.org/repos/seam/modules/faces/trunk/
I then did a 'mvn clean install' on the trunk pom.xml and am getting this:
C:\projects\seamfaces\maven.1268846959419>mvn clean install
[INFO] Scanning for projects...
[INFO]
------------------------------------------------------------------------
[INFO] Building Seam Faces Module
[INFO] task-segment: [clean, install]
[INFO]
------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting file set:
C:\projects\seamfaces\maven.1268846959419\target (incl
uded: [**], excluded: [])
[WARNING] POM for 'org.jboss.weld:weld-core:pom:1.0.1-Final:compile'
is invalid.
It will be ignored for artifact resolution. Reason: Failed to
validate POM for
project org.jboss.weld:weld-core at Artifact
[org.jboss.weld:weld-core:pom:1.0.1
-Final:compile]
[INFO] snapshot org.jboss.test-jsf:jsf-mock:1.0.1-SNAPSHOT: checking
for updates
from
oss.sonatype.org/jboss-snapshots
<
http://oss.sonatype.org/jboss-snapshots>
Downloading:
http://oss.sonatype.org/content/repositories/jboss-snapshots/org/jb
oss/test-jsf/jsf-mock/1.0.1-SNAPSHOT/jsf-mock-1.0.1-SNAPSHOT.pom
Downloading:
http://oss.sonatype.org/content/repositories/jboss-snapshots/org/jb
oss/test-jsf/jsf-mock/1.0.1-SNAPSHOT/jsf-mock-1.0.1-SNAPSHOT.jar
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Missing:
----------
1) org.jboss.test-jsf:jsf-mock:jar:1.0.1-SNAPSHOT
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.jboss.test-jsf
-DartifactId=jsf-moc
k -Dversion=1.0.1-SNAPSHOT -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.test-jsf
-DartifactId=jsf-mock
-Dversion=1.0.1-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
-Durl=[url] -Drepo
sitoryId=[id]
Path to dependency:
1) org.jboss.seam:seam-faces:jar:3.0.0-SNAPSHOT
2) org.jboss.test-jsf:jsf-mock:jar:1.0.1-SNAPSHOT
----------
1 required artifact is missing.
for artifact:
org.jboss.seam:seam-faces:jar:3.0.0-SNAPSHOT
from the specified remote repositories:
central (
http://repo1.maven.org/maven2),
repository.jboss.org <
http://repository.jboss.org>
(
http://repository.jboss.org/maven2),
oss.sonatype.org/jboss-snapshots
<
http://oss.sonatype.org/jboss-snapshots>
(
http://oss.sonatype.org/content/repositories
/jboss-snapshots)
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 3 seconds
[INFO] Finished at: Wed Mar 17 10:34:18 PDT 2010
[INFO] Final Memory: 9M/17M
[INFO]
------------------------------------------------------------------------
This is a valid URL:
http://oss.sonatype.org/content/repositories/jboss-snapshots/org/jboss/seam/
This is not:
http://oss.sonatype.org/content/repositories/jboss-snapshots/org/jboss/te...
How/where can I get the required JAR
(org.jboss.test-jsf:jsf-mock:jar:1.0.1-SNAPSHOT) to complete the mvn
build? thx.
_______________________________________________
seam-dev mailing list
seam-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/seam-dev