[fedora-java] groovy compilation - maven problem.

Luca Foppiano luca at foppiano.org
Thu Oct 9 11:05:10 UTC 2008


Hi, I've a problem while compiling groovy using maven.

I run mvn-jpp compile, but I got this error:

[lfoppiano at sboing apache-tomcat-5.5.27-src]$ mvn-jpp compile

/etc/alternatives/java_sdk
[INFO] Scanning for projects...
[INFO]
----------------------------------------------------------------------------
[INFO] Building Maven Default Project
[INFO]    task-segment: [compile]
[INFO]
----------------------------------------------------------------------------
[WARNING] Skipping non filebased repository
http://repo1.maven.org/maven2 in full offline mode
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: org.apache.maven.plugins:maven-resources-plugin

Reason: Error getting POM for
'org.apache.maven.plugins:maven-resources-plugin' from the repository:
Failed to resolve artifact, possibly due to a repository list that is
not appropriately equipped for this artifact's metadata.
  org.apache.maven.plugins:maven-resources-plugin:pom:2.2

from the specified remote repositories:
  __jpp_repo__ (file:///usr/share/maven2/repository),
  central (http://repo1.maven.org/maven2)



[INFO]
------------------------------------------------------------------------
[....]

but I don't understand why it doesn't work...I have installed these
packages:


[lfoppiano at sboing apache-tomcat-5.5.27-src]$ yum list installed
maven2-plugin*
Loaded plugins: fastestmirror, presto, refresh-packagekit
Installed Packages
maven2-plugin-antrun.x86_64              2.0.4-10jpp.10.fc9
installed       
maven2-plugin-clean.x86_64               2.0.4-10jpp.10.fc9
installed       
maven2-plugin-compiler.x86_64            2.0.4-10jpp.10.fc9
installed       
maven2-plugin-install.x86_64             2.0.4-10jpp.10.fc9
installed       
maven2-plugin-jar.x86_64                 2.0.4-10jpp.10.fc9
installed       
maven2-plugin-javadoc.x86_64             2.0.4-10jpp.10.fc9
installed       
maven2-plugin-plugin.x86_64              2.0.4-10jpp.10.fc9
installed       
maven2-plugin-resources.x86_64           2.0.4-10jpp.10.fc9
installed       
maven2-plugin-surefire.x86_64            2.0.4-10jpp.10.fc9
installed

that error is strange...

anyone have idea about it?

thanks
Luca
-- 
Today is Boomtime, the 63rd day of Bureaucracy in the YOLD 3174

I came, I saw, I deleted all your files.




More information about the java-devel mailing list