Problems with Maven Eclipse Plugin [message #8716] |
Tue, 13 May 2008 14:58 |
Eclipse User |
|
|
|
Originally posted by: bud.curtis.gmail.com
This may be the wrong place to ask this question, if so please advise
where the issue should be reported.
When Eclipse starts up I encounter the following error:
___________
5/12/08 12:11:07 PM MDT: Downloaded [central] ->
http://repo1.maven.org/maven2/.index/nexus-maven-repository- index.zip
5/12/08 12:11:08 PM MDT: Unable to update index for central
http://repo1.maven.org/maven2/
___________
However, I have no problem using the same URL in my browser to download
the nexus-maven-repository-index.zip.
Then when I attempt to build (The POM has an ant generate-sources phase
to generate using JAXB some source) with in Eclipse I get the following
errors reported:
___________
5/12/08 12:28:14 PM MDT: [INFO] Executing tasks
5/12/08 12:28:14 PM MDT: [FATAL ERROR]
org.apache.maven.plugin.antrun.AntRunMojo#execute() caused a linkage
error (java.lang.NoSuchMethodError) and may be out-of-date. Check the
realms:
5/12/08 12:28:14 PM MDT: [FATAL ERROR] Plugin realm =
/plugins/org.apache.maven.plugins:maven-antrun-plugin:1.1@48/thread:Worker-10
urls[0] =
file:/C:/Documents%20and%20Settings/harrison.curtis/.m2/repo sitory/org/apache/maven/plugins/maven-antrun-plugin/1.1/mave n-antrun-plugin-1.1.jar
urls[1] =
file:/C:/Documents%20and%20Settings/harrison.curtis/.m2/repo sitory/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1 .jar
urls[2] =
file:/C:/Documents%20and%20Settings/harrison.curtis/.m2/repo sitory/junit/junit/3.8.1/junit-3.8.1.jar
urls[3] =
file:/C:/Documents%20and%20Settings/harrison.curtis/.m2/repo sitory/ant/ant/1.6.5/ant-1.6.5.jar
urls[4] =
file:/C:/Documents%20and%20Settings/harrison.curtis/.m2/repo sitory/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.jar
5/12/08 12:28:14 PM MDT: [FATAL ERROR] Container realm = plexus.core
5/12/08 12:28:14 PM MDT: ERROR mojo-execute : antrun:run :
org.apache.maven.settings.Settings.setRuntimeInfo(Lorg/apach e/maven/settings/RuntimeInfo;)V
5/12/08 12:28:14 PM MDT: Build error for /SSRListener/pom.xml;
java.lang.NoSuchMethodError:
org.apache.maven.settings.Settings.setRuntimeInfo(Lorg/apach e/maven/settings/RuntimeInfo;)V
___________
If I run Maven outside of Eclipse it runs fine with no error. Can
someone suggest what the problem is.
|
|
|
|
Re: Problems with Maven Eclipse Plugin [message #8741 is a reply to message #8729] |
Wed, 14 May 2008 00:18 |
Eugene Kuleshov Messages: 504 Registered: July 2009 |
Senior Member |
|
|
Looking at the error log, it seem like Bud Curtis is using m2eclipse
[1] and not q4e, so this was the wrong news group and he should have
asked question in news://news.eclipse.org:119/eclipse.technology.m2e
Anyways, there been similar reports against 0.9.3 version, and we just
posted 0.9.4 dev build [2] that includes new indexer component, so this
issue might be fixed in that build.
While I am on it, m2eclipse 0.9.4 also includes extensible project
configuration framework [3] and provides implementations for WTP and
AJDT. So, I would like to invite everyone to try it and give us feedback.
regards,
Eugene
[1] http://m2eclipse.codehaus.org/
[2] http://m2eclipse.sonatype.org/update-dev/
[3] http://docs.codehaus.org/x/pYK9B
Abel Muiño wrote:
>> This may be the wrong place to ask this question, if so please advise
>> where the issue should be reported.
> For the moment, support requests are being answered on the q4e groups
> and issue trackers (http://code.google.com/p/q4e/).
>> When Eclipse starts up I encounter the following error:
>> ___________
>> 5/12/08 12:11:07 PM MDT: Downloaded [central] ->
>> http://repo1.maven.org/maven2/.index/nexus-maven-repository- index.zip
>> 5/12/08 12:11:08 PM MDT: Unable to update index for central
>> http://repo1.maven.org/maven2/
>> ___________
>
> Are you using a proxy?
|
|
|
|
|
Re: Problems with Maven Eclipse Plugin [message #565961 is a reply to message #8729] |
Wed, 14 May 2008 00:18 |
Eugene Kuleshov Messages: 504 Registered: July 2009 |
Senior Member |
|
|
Looking at the error log, it seem like Bud Curtis is using m2eclipse
[1] and not q4e, so this was the wrong news group and he should have
asked question in news://news.eclipse.org:119/eclipse.technology.m2e
Anyways, there been similar reports against 0.9.3 version, and we just
posted 0.9.4 dev build [2] that includes new indexer component, so this
issue might be fixed in that build.
While I am on it, m2eclipse 0.9.4 also includes extensible project
configuration framework [3] and provides implementations for WTP and
AJDT. So, I would like to invite everyone to try it and give us feedback.
regards,
Eugene
[1] http://m2eclipse.codehaus.org/
[2] http://m2eclipse.sonatype.org/update-dev/
[3] http://docs.codehaus.org/x/pYK9B
Abel Muiño wrote:
>> This may be the wrong place to ask this question, if so please advise
>> where the issue should be reported.
> For the moment, support requests are being answered on the q4e groups
> and issue trackers (http://code.google.com/p/q4e/).
>> When Eclipse starts up I encounter the following error:
>> ___________
>> 5/12/08 12:11:07 PM MDT: Downloaded [central] ->
>> http://repo1.maven.org/maven2/.index/nexus-maven-repository- index.zip
>> 5/12/08 12:11:08 PM MDT: Unable to update index for central
>> http://repo1.maven.org/maven2/
>> ___________
>
> Are you using a proxy?
|
|
|
|
Powered by
FUDForum. Page generated in 0.04333 seconds