i think it has something to do with these lindes:
in my pom properties
<web.framework>struts</web.framework>
<appfuse.version>2.0-m3</appfuse.version>
tibi wrote:
i have a project which i can run from command line. like mvn test
but when i run it from the eclipse plugin i get this:
===============================================================================================
[WARN] Unable to get resource from repository central
(http://repo1.maven.org/maven2)
[WARN] Unable to get resource from repository struts-205-staging
(http://people.apache.org/builds/struts/2.0.5/m2-staging-repository)
[WARN] Unable to get resource from repository central
(http://repo1.maven.org/maven2)
[WARN] Unable to get resource from repository struts-205-staging
(http://people.apache.org/builds/struts/2.0.5/m2-staging-repository)
[WARN] Unable to get resource from repository appfuse
(http://static.appfuse.org/repository)
[WARN] Unable to get resource from repository struts-205-staging
(http://people.apache.org/builds/struts/2.0.5/m2-staging-repository)
[WARN] Unable to get resource from repository appfuse
(http://static.appfuse.org/repository)
[WARN] Unable to get resource from repository central
(http://repo1.maven.org/maven2)
org.apache.maven.artifact.resolver.MultipleArtifactsNotFoundException:
Missing:
----------
1) org.appfuse:appfuse-struts:warpath:2.0-m3
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.appfuse
-DartifactId=appfuse-struts \
-Dversion=2.0-m3 -Dpackaging=warpath -Dfile=/path/to/file
Path to dependency:
1) nl.tibi.janneke:janneke:war:1.0-SNAPSHOT
2) org.appfuse:appfuse-struts:warpath:2.0-m3
2) org.appfuse:appfuse-web-common:warpath:2.0-m3
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.appfuse
-DartifactId=appfuse-web-common \
-Dversion=2.0-m3 -Dpackaging=warpath -Dfile=/path/to/file
Path to dependency:
1) nl.tibi.janneke:janneke:war:1.0-SNAPSHOT
2) org.appfuse:appfuse-struts:warpath:2.0-m3
3) org.appfuse:appfuse-web-common:warpath:2.0-m3
----------
2 required artifacts are missing.
for artifact:
nl.tibi.janneke:janneke:war:1.0-SNAPSHOT
from the specified remote repositories:
central (http://repo1.maven.org/maven2),
struts-205-staging
(http://people.apache.org/builds/struts/2.0.5/m2-staging-repository),
appfuse (http://static.appfuse.org/repository)
at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:244)
at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:211)
at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:192)
at
org.apache.maven.project.DefaultMavenProjectBuilder.buildWithDependencies(DefaultMavenProjectBuilder.java:342)
at
org.apache.maven.project.DefaultMavenProjectBuilder.buildWithDependencies(DefaultMavenProjectBuilder.java:289)
at
org.apache.maven.embedder.MavenEmbedder.readProjectWithDependencies(MavenEmbedder.java:277)
at org.maven.ide.eclipse.Maven2Executor.main(Maven2Executor.java:53)
======================================================================
thanks
tibi
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email