i have made no changes. and if i change something in my pom file like:
this
<web.framework>struts</web.framework>
<appfuse.version>2.0-m3</appfuse.version>
to
<web.framework>struts</web.framework>
<appfuse.version>2.0-m2</appfuse.version>
eclipse start my default target (i guess) and i get the same error.
if i look in my m2 reposetory i see that struts 2.0-m2 is downloaded and
added nicely next to 2.0-m3.
tibi
If you have made changes in your settings.xml you must ensure that the
eclipse plugin use the same settings.
Check which settings you use (under Window -> Preferences -> Maven2).
Has you change the reopsitory path in your settings.xml?
Mit freundlichen Grüßen
Andreas
-----Ursprüngliche Nachricht-----
Von: tibi [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 28. Februar 2007 14:22
An: [EMAIL PROTECTED]
Betreff: Re: AW: [m2eclipse-user] required artifacts are missing.
i have no settings.xml in my <user>/.m2 folder
tibi
Andreas Dunkel wrote:
Hi,
You are behind a firewall?
The plugin search for the settings.xml in the <user>/.m2/ folder. Form the
command line also used the conf-folder in maven2.
With regards
Andreas
-----Ursprüngliche Nachricht-----
Von: tibi [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 28. Februar 2007 14:01
An: [EMAIL PROTECTED]
Betreff: [m2eclipse-user] required artifacts are missing.
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
---------------------------------------------------------------------
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
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email