Imports of required classes have classname only without package path within the class compiled by maven

2013-10-25 Thread brandenberger
The web project composed of several modules can be deployed to the application server (WAS 8.5.5) and runs as expected, when built within eclipse (juno sp2) by the eclipse compiler. The same project built with maven, either through the m2e-wtp plugin or with mvn clean install from the command

Detected Maven Version: 2.2.1 is not in the allowed range [3.0.2,)

2013-10-25 Thread rushikeshgarad...@gmail.com
Hi, i am very new to maven. I am trying to import hadoop source code into eclipse. and for this i followed this link: http://wiki.apache.org/hadoop/EclipseEnvironment in this there are 2 mvn commands: $ mvn install -DskipTests $ mvn eclipse:eclipse -DdownloadSources=true

Re: Detected Maven Version: 2.2.1 is not in the allowed range [3.0.2,)

2013-10-25 Thread Anders Hammar
Highlights don't get get through when sendig from Nabble. But the error message is saying that you are using Maven 2.2.1, but you need to use Maven 3.0.2 or greater. I strongly suggest you use Maven 3.0.4 or 3.0.5. /Anders On Fri, Oct 25, 2013 at 8:46 AM, rushikeshgarad...@gmail.com

Re: Detected Maven Version: 2.2.1 is not in the allowed range [3.0.2,)

2013-10-25 Thread Stephen Connolly
The people who write the software you are trying to build have decreed that you need to use a recent version of Maven in order to build correctly. They have defined an enforcer rule to enforce their minimum maven version requirement. The enforcer rule has kicked in and failed the build early

Re: Detected Maven Version: 2.2.1 is not in the allowed range [3.0.2,)

2013-10-25 Thread Stephen Connolly
FTR, here is the standard requires I add to most of my projects: requireMavenVersion version(,2.1.0),(2.1.0,2.2.0),(2.2.0,)/version messageMaven 2.1.0 and 2.2.0 produce incorrect GPG signatures and checksums respectively.

Re: Detected Maven Version: 2.2.1 is not in the allowed range [3.0.2,)

2013-10-25 Thread Stephen Connolly
On 25 October 2013 11:26, Stephen Connolly stephen.alan.conno...@gmail.comwrote: FTR, here is the standard requires I add to most of my projects: requireMavenVersion version(,2.1.0),(2.1.0,2.2.0),(2.2.0,)/version This range lets through any maven

Re: Imports of required classes have classname only without package path within the class compiled by maven

2013-10-25 Thread Wayne Fay
Maven build worked too, but does not anymore for unknown reason. No changes of configuration or programs but update of m2e-wtp. This list does not support m2e. You'll need to ask this question on the appropriate Eclipse list. We can help you sort out why command line Maven is not working as it

Adding to Books on Maven?

2013-10-25 Thread Russell Gold
How does one get added to the list of available Maven publications on the site (http://maven.apache.org/articles.html)? - Author, Getting Started with Apache Maven http://www.packtpub.com/getting-started-with-apache-maven/video Come read my webnovel, Take a Lemon

Re: how to convert unique snaphot into non-unique snaphot on downloading from nexus

2013-10-25 Thread sahil_tech
Can somebody please check the issue posted above and provide a fix if possible. I am completely stuck due to this and management now wants me to revert the mvn deploy to mvn install. -- View this message in context:

Re: how to convert unique snaphot into non-unique snaphot on downloading from nexus

2013-10-25 Thread Russell Gold
Can you explain how you are copying the artifacts currently? You say that your dependencies are being packaged with a timestamp. How are you doing this? And then you say that you are copying the flex artifact with a plugin. What plugin is that? I think that you need to explain a bit more what

Re: Trying to understand how maven finds source

2013-10-25 Thread Mark H. Wood
On Thu, Oct 24, 2013 at 10:34:39PM -0400, Ron Wheeler wrote: Eclipse/STS from the Spring guys (VMWare now) is an Eclipse IDE with all of the plug-ins that you need to develop Java (and more). We started with pure Eclipse but spent so much time fixing up the plug-ins with each new version

Re: Trying to understand how maven finds source

2013-10-25 Thread Nick Stolwijk
Maybe it is mustard after the mail (as the Dutch call it. ;) ), but here is a nice article about the standard directory layout of Maven: http://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html Hth, Nick Stolwijk ~~~ Try to leave this world a little better

RE: how to convert unique snaphot into non-unique snaphot on downloading from nexus

2013-10-25 Thread Amir Gheibi
Could you explain what you mean by Unique and non-Unique? From: sahil_tech [sahilaggarwal1...@gmail.com] Sent: Friday, October 25, 2013 8:55 AM To: users@maven.apache.org Subject: Re: how to convert unique snaphot into non-unique snaphot on downloading

Re: how to convert unique snaphot into non-unique snaphot on downloading from nexus

2013-10-25 Thread Adrien Rivard
Actually this is quite surprising. I would expect the timestamp to be not visible to the end user. You build/deploy a -SNAPSHOT version , you ask for a -SNAPSHOT version, you get a -SNAPSHOT in your war. Internally maven/nexus may use real timestamp but this is not supposed to be visible. Whatever

Re: Detected Maven Version: 2.2.1 is not in the allowed range [3.0.2,)

2013-10-25 Thread rushikeshgarad...@gmail.com
Thank You Sir, i was there with maven2...now i have installed 3.X version. Thank you for help On Fri, Oct 25, 2013 at 4:01 PM, stephenconnolly [via Maven] ml-node+s40175n577380...@n5.nabble.com wrote: On 25 October 2013 11:26, Stephen Connolly [hidden email]

Re: how to convert unique snaphot into non-unique snaphot on downloading from nexus

2013-10-25 Thread sahil_tech
Hi Russell, I am using maven version 3 and I have configured the maven jobs in Hudson (mvn clean deploy) to deploy the unique snapshots artifacts into a nexus hosted repository and for that I have configured distribution management tag in project parent pom.xml. I am using maven-war-plugin to

Re: how to convert unique snaphot into non-unique snaphot on downloading from nexus

2013-10-25 Thread sahil_tech
Hi Amir, Non-unique snapshot artifacts - without timestamp. unique snapshot artifact - with timestamp. Maven 3 only support unique snapshot. In maven 2, we set the uniqueversionfalse/uniqueversion to deploy the non-unique snapshot artifacts. -- View this message in context:

RE: how to convert unique snaphot into non-unique snaphot on downloading from nexus

2013-10-25 Thread sahil_tech
Hi Adrein, Maven is downloading snapshot dependencies with timestamp into my local repository. I have timestamp versions of snapshot dependency in my local repository and the files are getting copied with their standard names. -- View this message in context:

Re: Maven shade plugin: Retaining origin file timestamps

2013-10-25 Thread Kranthi Jajula
We could remove clj files from the jar altogether. However, the problem is we don't know if all the clojure dependencies are AOT compiled. So, some of the clojure files should be compiled on the fly. The problem is when dynamically compiling clojure files whose class files already exist in the

Re: Maven shade plugin: Retaining origin file timestamps

2013-10-25 Thread Wayne Fay
We could remove clj files from the jar altogether. However, the problem is we don't know if all the clojure dependencies are AOT compiled. So, some of the clojure files should be compiled on the fly. The problem is when dynamically compiling clojure files whose class files already exist in the