Fundamentally, codehaus plugins are not allowed to reference non-snapshot repositories from within their pom as they are being synced to maven central.
This is, IMHO, a critical bug that needs to be addressed by the developer of the plugin ASAP -Stephen 2009/11/20 Gajo Csaba <[email protected]>: > The newest version is 1.0-alpha-4, released on 31-May-2009. It also contains > the java.net repository declaration. Even worse, a declaration to > functionaljava.googlecode.com was added, which also doesn't exist. Didn't > anyone check this bug, or these two repositories got removed only after > June? In any case, can we get an alpha-5 release? > > Here's the log: > > Downloading: > http://download.java.net/maven/2/org/codehaus/mojo/unix/unix-common/1.0-alpha-4/unix-common-1.0-alpha-4.pom > [INFO] Unable to find resource > 'org.codehaus.mojo.unix:unix-common:pom:1.0-alpha-4' in repository java.net > (http://download.java.net/maven/2) > Downloading: > http://functionaljava.googlecode.com/svn/maven//org/codehaus/mojo/unix/unix-common/1.0-alpha-4/unix-common-1.0-alpha-4.pom > [INFO] Unable to find resource > 'org.codehaus.mojo.unix:unix-common:pom:1.0-alpha-4' in repository > functionaljava (http://functionaljava.googlecode.com/svn/maven/) > Downloading: > http://repo1.maven.org/maven2/org/codehaus/mojo/unix/unix-common/1.0-alpha-4/unix-common-1.0-alpha-4.pom > > > Stephen Connolly wrote: >> >> released pom files can never be modified. >> >> You will need to use a newer version (if one is available) >> >> 2009/11/20 Gajo Csaba <[email protected]>: >> >>> >>> Hello, >>> >>> I'm using the RPM plugin, and at one point it tries to access a >>> repository >>> at java.net. The path is >>> >>> http://download.java.net/maven/2/org/codehaus/mojo/mojo-parent/18/mojo-parent-18.pom >>> This path doesn't exist, and an exception occurs. After tracing how this >>> happens, I found out that the problem is in >>> >>> <dependency> >>> <groupId>org.codehaus.mojo.unix</groupId> >>> <artifactId>unix-rpm</artifactId> >>> <version>1.0-alpha-1</version> >>> </dependency> >>> >>> If you look at the pom file of this project at >>> >>> http://repo1.maven.org/maven2/org/codehaus/mojo/unix/unix/1.0-alpha-1/unix-1.0-alpha-1.pom >>> then you'll see it has its repository set as java.net: >>> >>> <repository> >>> <id>java.net</id> >>> <url>http://download.java.net/maven/2</url> >>> </repository> >>> >>> I'm guessing this is some leftover from a previous build, because the >>> file >>> on java.net doesn't exist anymore. >>> >>> The problem for me is that Maven tries to access java.net, and that site >>> is >>> blocked by our firewall. Because of this, the whole Maven build blocks, >>> because of some thing that doesn't even exist anymore. >>> >>> So could someone please fix this pom file and remove that repository >>> entry? >>> Or is there a way for me to do it (someone give me commit privileges...)? >>> >>> Thanks, Csaba >>> >>> >>> >>> >>> --------------------------------------------------------------------- >>> 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 >> >> >> > > > -- > _____________________ _ _ _ _ ____________________ > |_| |_| |_| |_| |_| > Csaba Gajo Cosylab > Email: [email protected] http://www.cosylab.com > Phone: +386 (70) 226-357 Teslova ulica 30 > Skype ID: gcsaba2 SI-1000 Ljubljana > Yahoo! IM: gcsaba2 Slovenia > Web page: http://users.cosylab.com/~cgajo > __ _ _ _ _ __________________ _ _ _ _ __ > |_| |_| |_| |_| |_| |_| |_| |_| |_| |_| > > --------------------------------------------------------------------- > 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
