Nope, they're both on public repositories, but the compiler plugin may not have a repository entry pointing where the plexus-compiler- javac snapshot was deployed. I'll fix that and redeploy.

-john

On Feb 13, 2008, at 4:39 AM, Marco Huber wrote:

I got the similar error this morning, after starting a normal clean install of my project.

As I see from the error message the "maven-compiler-plugin" 2.1- SNAPSHOT tried to use the 1.6-SNAPSHOT of the "plexus-compiler".

I nailed the version of the maven-compiler-plugin to 2.0.2 and all works.

Does the developer of the maven-compiler-plugin or plexus-compiler missed to deploy the neccessary snapshot to a public repository ;-)

Regards
Marco

Wayne Fay wrote:
The reason it is failing is because you are trying to utilize SNAPSHOT
artifacts and yet you have not configured a Snapshot repository in
your pom.xml.
It looks like you're trying to compile Maven itself, or something
along those lines? Why are you doing this? This is generally something
that rookies should avoid doing.
What exactly are you trying to do? Perhaps you can post your pom.xml
somewhere so we can take a look and help you figure things out.
Wayne
On 2/12/08, krishnan.1000 <[EMAIL PROTECTED]> wrote:
Hi ,

I am a rookie using Maven. I have got this error. I have created this pom and I dont know what is causing this error. I looked at the forum but I did
not understand what was being discussed%-O

Please help me.

Thanks,

Karthik
1) org.codehaus.plexus:plexus-compiler-javac:jar:1.6-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=org.codehaus.plexus
-DartifactId=plexus-compiler-javac -Dversion=1.6-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.codehaus.plexus
-DartifactId=plexus-compiler-javac -Dversion=1.6-SNAPSHOT - Dpackaging=jar
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
        1)
org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.1- SNAPSHOT 2) org.codehaus.plexus:plexus-compiler-javac:jar:1.6- SNAPSHOT

2) org.codehaus.plexus:plexus-compiler-api:jar:1.6-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=org.codehaus.plexus
-DartifactId=plexus-compiler-api -Dversion=1.6-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.codehaus.plexus
-DartifactId=plexus-compiler-api -Dversion=1.6-SNAPSHOT - Dpackaging=jar
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
        1)
org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.1- SNAPSHOT
        2) org.codehaus.plexus:plexus-compiler-api:jar:1.6-SNAPSHOT

3) org.codehaus.plexus:plexus-compiler-manager:jar:1.6-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=org.codehaus.plexus
-DartifactId=plexus-compiler-manager -Dversion=1.6-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.codehaus.plexus
-DartifactId=plexus-compiler-manager -Dversion=1.6-SNAPSHOT - Dpackaging=jar
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
        1)
org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.1- SNAPSHOT 2) org.codehaus.plexus:plexus-compiler-manager:jar:1.6- SNAPSHOT
--
View this message in context:
http://www.nabble.com/Maven-does-not-compile%3Aorg.codehaus.plexus %3Aplexus-compiler-javac%3Ajar%3A1.6-SNAPSHOT- tp15447362s177p15447362.html
Sent from the Maven - Users mailing list archive at Nabble.com.


-------------------------------------------------------------------- -
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---
John Casey
Committer and PMC Member, Apache Maven
mail: jdcasey at commonjava dot org
blog: http://www.ejlife.net/blogs/john
rss: http://feeds.feedburner.com/ejlife/john


Reply via email to