Re: DependencyResolutionException when upgrading from Maven 2.2.1 to Maven 3.0.4

2012-04-12 Thread Jörg Schaible
Hi, Brain Dump wrote: Hey -- sorry about the information overload. I've seen other posts on other forums where people posted too little information and were asked to post their source code or run something on full debug, etc., so I tried to be complete. Didn't mean to overwhelm, and thanks

Re: DependencyResolutionException when upgrading from Maven 2.2.1 to Maven 3.0.4

2012-04-12 Thread Brain Dump
Just want to thank you all -- Stephen, Jörg, Wayne, John, Mike -- for your help. From your comments, it looks like there are some non-ideal ways my pom.xml files have been set up. Getting all this fixed up to switch to Maven 3 is out of scope for our team at the moment, but I'm going to save all

Re: DependencyResolutionException when upgrading from Maven 2.2.1 to Maven 3.0.4

2012-04-11 Thread Brain Dump
I was able to compile with no problems on 2.2.1. The only pom.xml changes I had to make to get this (almost) working on 3.0.4 was to add version numbers for plugins that didn't have them specified, move plugins under reporting/reporting into build/build, and run mvn -N install on the parent pom --

Re: DependencyResolutionException when upgrading from Maven 2.2.1 to Maven 3.0.4

2012-04-11 Thread Wayne Fay
Any thoughts from anyone about either Mike's issues, or mine? Can you boil it down to 5 sentences? I gave up and I'm sure everyone else did too. Sorry but that was just total information overload. Wayne - To unsubscribe,

Re: DependencyResolutionException when upgrading from Maven 2.2.1 to Maven 3.0.4

2012-04-11 Thread John Patrick
If you add relativePath../pom.xml/relativePath Into the parent section of child-alpha, does it resolve any issue your having? Specifically with having to do mvn -N install on the parent 1st. On 11 April 2012 16:14, Brain Dump braindump2...@gmail.com wrote: I was able to compile with no

Re: DependencyResolutionException when upgrading from Maven 2.2.1 to Maven 3.0.4

2012-04-11 Thread John Patrick
Or start from scratch with simple pom.xml and nothing in src, then add src and fix dependencies, build up slowly then diff the resulting pom and see what's different. On 11 April 2012 16:25, John Patrick nhoj.patr...@gmail.com wrote: If you add relativePath../pom.xml/relativePath Into the

Re: DependencyResolutionException when upgrading from Maven 2.2.1 to Maven 3.0.4

2012-04-11 Thread Brain Dump
be complicated for branching and our continuous integration server. *From: *Wayne Fay wayne...@gmail.com *To: *Maven Users List users@maven.apache.org *Sent: *Wednesday, April 11, 2012 8:21:44 AM *Subject: *Re: DependencyResolutionException when upgrading from Maven 2.2.1 to Maven 3.0.4 Any thoughts from

Re: DependencyResolutionException when upgrading from Maven 2.2.1 to Maven 3.0.4

2012-04-11 Thread Wayne Fay
I've managed to do to get the build to succeed is to (1) remove the dependency listed within profiles/profiles of child-alpha, or (2) first For a ton of reasons, including a dependency in a profile is a really terrible thing to do. The very first thing I would do would be to remove it. In

Re: DependencyResolutionException when upgrading from Maven 2.2.1 to Maven 3.0.4

2012-04-11 Thread Brain Dump
Just to see if it would work, I moved the child-dep-jdk15 dependency out of profiles and moved it into dependencies/dependencies (outside of profiles). It still fails with the same stack trace. Any idea why? I can get the build to pass if I leave out that dependency altogether, but that's not

Re: DependencyResolutionException when upgrading from Maven 2.2.1 to Maven 3.0.4

2012-04-11 Thread mike digioia
Brian, You can find detail in the manual - What do we mean by different build environments? Two example build environments are production and devel- opment. When you are working in a development environment, your system might be configured to read from a development database instance running on

Re: DependencyResolutionException when upgrading from Maven 2.2.1 to Maven 3.0.4

2012-04-11 Thread Stephen Connolly
Profiles per-se are “ok” Adding dependencies in a profile is not. The problem is when do those profiles get activated, and hence when will the dependencies get pulled in. When people have profiles activated by the presence of a file, and then that pom is resolved from the local repo and not

DependencyResolutionException when upgrading from Maven 2.2.1 to Maven 3.0.4

2012-04-10 Thread Brain Dump
Hi everyone, I'm trying to upgrade my project from Maven 2.2.1 to Maven 3.0.4 but am running into problems with a dependency resolution. I spent a full day trying to research this by looking through Maven documentation and similar posts, but I'm still stuck. I posted on stackoverflow (

Re: DependencyResolutionException when upgrading from Maven 2.2.1 to Maven 3.0.4

2012-04-10 Thread mike digioia
Hi, I just posted a similar issue I am having with the same kind of errors. Did you ever get this to compile on the 2.2.1? I have built two machines, one with 2.2.1 and the other one with 3.0.4. I have different problems with each. Main issue with 3.0.4 is it could not locate some of my

Re: DependencyResolutionException

2011-05-15 Thread uday shankar
. -- View this message in context: http://maven.40175.n5.nabble.com/DependencyResolutionException-tp4392741p4396997.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr

Re: DependencyResolutionException

2011-05-15 Thread uday shankar
]http://user/SendEmail.jtp?type=nodenode=4396321i=1 -- If you reply to this email, your message will be added to the discussion below: http://maven.40175.n5.nabble.com/DependencyResolutionException-tp4392741p4396321.html To unsubscribe from

Re: DependencyResolutionException

2011-05-15 Thread Wayne Fay
Does Mule provide any online repositories to which can connect? If yes, please explain how I can set up a connection with the online repository provided by Mule. I have no knowledge of anything related to Mule. This is the Maven Users list. You need to ask these questions on the Mule Users

Re: DependencyResolutionException

2011-05-14 Thread uday shankar
to a Online repository first. Unable to go ahead with the set up of a online repository. -- View this message in context: http://maven.40175.n5.nabble.com/DependencyResolutionException-tp4392741p4393563.html Sent from the Maven - Users mailing list archive at Nabble.com

Re: DependencyResolutionException

2011-05-14 Thread uday shankar
is to connect to the online repository provided by Mule .So I have to setup a connection tot he online repo provided by MULE. -- View this message in context: http://maven.40175.n5.nabble.com/DependencyResolutionException-tp4392741p4394727.html Sent from the Maven - Users mailing list archive

Re: DependencyResolutionException

2011-05-14 Thread Wayne Fay
I do not have a Maven Repo set up but I want to set up a maven repo(Nexus or any other). I actually started workin on repo since the last two days..so if anyone of you can take me through the set up of a online repository(any online repo). it will be of great help Since you want to know how

DependencyResolutionException

2011-05-13 Thread uday shankar
/MAVEN/DependencyReso lutionException http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException -- View this message in context: http://maven.40175.n5.nabble.com/DependencyResolutionException-tp4392741p4392741.html Sent from the Maven - Users mailing list archive at Nabble.com

Re: DependencyResolutionException

2011-05-13 Thread Wayne Fay
In my project I added all the jars required for Spring MVC in the local repository(C:\Documents and Settings\username\.m2\repository created by maven. How did you add all the jars? Be specific, provide the command line you executed or what steps you followed. Most likely, however you did this

Re: DependencyResolutionException

2011-05-13 Thread uday shankar
need to connect to a Online repository first. Unable to go ahead with the set up of a online repository. -- View this message in context: http://maven.40175.n5.nabble.com/DependencyResolutionException-tp4392741p4393563.html Sent from the Maven - Users mailing list archive at Nabble.com

Re: DependencyResolutionException

2011-05-13 Thread Ron Wheeler
. -- View this message in context: http://maven.40175.n5.nabble.com/DependencyResolutionException-tp4392741p4393563.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr