Re: maven won't resolve from central log4j:log4j:1.2.8 through 1.2.15

2014-03-10 Thread Anders Hammar
Where did this repo.maven.apache.org url come from? Wayne, it's a correct URL for the central repository. It's the one we define in the super-POM since Maven 3.0.something. /Anders It is invalid as far as I know. I suspect your troubles are related to this. Or possibly related to the proxy

Re: Netbeans 7.4 maven POM for com.oracle:ojdbc6:jar:11.2.0.1 is invalid

2014-03-10 Thread Wayne Fay
I'm not sure where you mean to check that ojdbc6 is listed as a dependency. I am trying to convert the project from using MySql to Oracle, so I might not have configured everything correctly. Add -X to the call to Maven (mvn -X ...) and pipe the output to a file (mvn -X ... out.txt). Then

Re: maven won't resolve from central log4j:log4j:1.2.8 through 1.2.15

2014-03-10 Thread Wayne Fay
Where did this repo.maven.apache.org url come from? Wayne, it's a correct URL for the central repository. It's the one we define in the super-POM since Maven 3.0.something. Doh, well ignore that then. I should have done 30 seconds of searching before sending that one. :) But just FYI, when I

Re: Maven-shade-plugin Class Overlap

2014-03-10 Thread Jock924491
Wayne Fay wrote I use shade but won't pretend to be an expert on all the configuration options. I will assume you RTFM already. Did you consider using class relocation to move the overlapping classes to com.dontuse? Or perhaps an artifact filter to just eliminate them entirely? Just

Re: Maven-shade-plugin Class Overlap

2014-03-10 Thread Wayne Fay
Thanks for the reply, I was curious how would you throw together a filter that could handle something like that? I didn't see anything like that on their website. Do you know the name(s) of the files that overlap? If so, surely a filter that specifies them could be created. If not, that's the

Re: maven won't resolve from central log4j:log4j:1.2.8 through 1.2.15

2014-03-10 Thread Mauri, Richard
I am still having trouble. It certainly should be easy to reproducee no? It is a trivial settings.xml and pom.xml and mvn dependency:tree goal Thanks for helping, but please keep at it :-) On 3/10/14, 6:15 AM, Wayne Fay wayne...@gmail.com wrote: Where did this repo.maven.apache.org url come

Re: maven won't resolve from central log4j:log4j:1.2.8 through 1.2.15

2014-03-10 Thread Wayne Fay
I am still having trouble. It certainly should be easy to reproducee no? It is a trivial settings.xml and pom.xml and mvn dependency:tree goal Have you used mvn -U lately? Have you deleted ~/.m2/repository lately? I rarely do this myself, but occasionally we hear this solves problems for some

Re: maven won't resolve from central log4j:log4j:1.2.8 through 1.2.15

2014-03-10 Thread Adrien Rivard
Does'nt seem to work for me either when hitting maven central directly. Works ok when using my usual MRM. If I'm not wrong http://repo.maven.apache.org/maven2/log4j/log4j/maven-metadata.xml should return all versions while it returns only 2 . On Mon, Mar 10, 2014 at 4:37 PM, Mauri, Richard

Re: maven won't resolve from central log4j:log4j:1.2.8 through 1.2.15

2014-03-10 Thread Anders Hammar
Yes, something seems wrong with the metadata file. It should list all versions. /Anders (mobile) Den 10 mar 2014 17:25 skrev Adrien Rivard adrien.riv...@gmail.com: Does'nt seem to work for me either when hitting maven central directly. Works ok when using my usual MRM. If I'm not wrong

Re: Maven-shade-plugin Class Overlap

2014-03-10 Thread Jock924491
Wayne Fay wrote Do you know the name(s) of the files that overlap? If so, surely a filter that specifies them could be created. If not, that's the place to start. For fine-grained control of which classes from the selected dependencies are included, artifact filters can be used:

Re: Maven-shade-plugin Class Overlap

2014-03-10 Thread Wayne Fay
Well, I can find out which are and aren't but they change every release, and there will be many eventually. Which the filter using include/excludes would be unmanageable when it gets as large as I imagine it will be Try this experiment for me. Make 3 jar file with content as follows: 1.jar

[ANN] Apache Maven Filtering 1.2 Released

2014-03-10 Thread Robert Scholte
The Apache Maven team is pleased to announce the release of the Apache Maven Filtering, version 1.2 These Plexus components have been built from the filtering process/code in Apache Maven Resources Plugin. The goal is to provide a shared component for all plugins that need to filter

list all unique dependencies of multi-module project

2014-03-10 Thread Max Calderoni
Hi, was not able to find a quick way to list a consolidated list of all dependencies in your project. What i am looking for is something along the lines of dependency:list, or dependency:resolve of the maven dependency plugin, but for the entire multi-module project. What i see the maven

RE: Netbeans 7.4 maven POM for com.oracle:ojdbc6:jar:11.2.0.1 is invalid

2014-03-10 Thread Martin Gainty
MGDavid...all comments prefixed by MG Date: Sun, 9 Mar 2014 10:10:43 -0700 Subject: Re: Netbeans 7.4 maven POM for com.oracle:ojdbc6:jar:11.2.0.1 is invalid From: davek1...@gmail.com To: users@maven.apache.org Martin, I'm not sure where you mean to check that ojdbc6 is listed as a