Re: How to skip phases?

2011-05-10 Thread Eric Jain
On Tue, May 10, 2011 at 17:57, Barrie Treloar wrote: > You also will want something like Jenkin running builds continuously > to make sure that your stuff still works as people will forget to run > mvn install before checking in (laziness, mistakes, etc) Thanks for the clarification. This issue c

Re: How to skip phases?

2011-05-10 Thread Barrie Treloar
On Wed, May 11, 2011 at 8:13 AM, Eric Jain wrote: > I may just have run `mvn compile` and now want to run `mvn test` (and > later perhaps `mvn install`) without having Maven go through all the > preceding phases again -- even if it is smart enough to figure out > e.g. that nothing needs to be reco

How to skip phases?

2011-05-10 Thread Eric Jain
I may just have run `mvn compile` and now want to run `mvn test` (and later perhaps `mvn install`) without having Maven go through all the preceding phases again -- even if it is smart enough to figure out e.g. that nothing needs to be recompiled. Is this possible to get Maven to trust me enough to

Re: Eclipse plugin WTP and servlet version

2011-05-10 Thread xanadu72
The jst.web version can be configured defining a dependency on Servlet-API artifact : org.apache.tomcat servlet-api 6.0.32 If this example you will get More details available at http://java-tutorial.ch/maven/eclipse-web-app Maven Eclipse Webapp tutorial Anton

invoker:install breaks local repos with Maven 3

2011-05-10 Thread Chas Emerick
I filed this bug last week; in short, using invoker:install under Maven 3 results in a borked local repository every time: http://jira.codehaus.org/browse/MNG-5087 A real project that happens to have a pretty minimal pom is linked from there. Does anyone have any visibility into this at all? In

RE: How can I have a goal depend on another goal?

2011-05-10 Thread EJ Ciramella
FWIW - "deploy" and "install" are generally overused/overloaded terms. When talking about a "mvn deploy" this implies deploying a project's artifacts to the internal (ie: not local) repository. "mvn install" deploys the same artifacts to the local repository. Is this truly the desired behavior

Nested artifacts

2011-05-10 Thread EJ Ciramella
Is there a simple way to unpack a dependency then unpack an artifact that lives inside that dependency? We have several third party utilities stored in Nexus and referenced as dependencies, but I'd like to unpack a rar that is nested within a zip. Is there a maven 2 way or do I just rely on an

Re: Getting compilation errors despite including the correct repo

2011-05-10 Thread laredotornado-3
Ah, that was it ... forgot to follow the surefire naming conventions. Thanks to all, - Dave -- View this message in context: http://maven.40175.n5.nabble.com/Getting-compilation-errors-despite-including-the-correct-repo-tp4382157p4384792.html Sent from the Maven - Users mailing list archive at N

Re: Getting compilation errors despite including the correct repo

2011-05-10 Thread Wayne Fay
> The test is in my src/main/test directory.  Where else should it be?  I have > nothing in my src/main/java directory.  Below is the output of running the > above command. - Dave This is Maven 101 and the answer can easily be found online in countless locations. As such, I will not spoon-feed the

Re: How can I have a goal depend on another goal?

2011-05-10 Thread Karl Heinz Marbaise
Hi, that sounds to me that you didn't know the Maven Life Cycle which runs always... http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html This means for you that if you call mvn package every phase before package will run complete incl. the package phase itself. Or

How can I have a goal depend on another goal?

2011-05-10 Thread trant
I am a newcomer to maven so forgive me if this sounds stupid... I setup a web application project in MyEclipse, and built a pom.xml that deploys my war archive to WebLogic. this works fine, however it is just a standalone piece. For the whole process, I need to first run maven package to build my

Re: Getting compilation errors despite including the correct repo

2011-05-10 Thread Wendy Smoak
On Tue, May 10, 2011 at 9:23 AM, laredotornado-3 wrote: > The test is in my src/main/test directory.  Where else should it be?  I have > nothing in my src/main/java directory.  Below is the output of running the > above command. - Dave I can see that it compiles the test class > [INFO] Compilin

Re: Getting compilation errors despite including the correct repo

2011-05-10 Thread laredotornado-3
I removed that line and everything compiled fine. However, the test was not executed upon launching mvn test The test is in my src/main/test directory. Where else should it be? I have nothing in my src/main/java directory. Below is the output of running the above command. - Dave davea-mbp2:

RE: metadata.xml

2011-05-10 Thread Gracia, Adrien
So I think we were able to fix it. We indeed were not creating the right metadata.xml file. We are not creating something like that: org.apache.maven maven-aether-provider 3.0-SNAPSHOT 20101004.110147 1 20101004110147 Now a couple notes: Since thi

Re: Maven3 : Unable to resolve parent pom

2011-05-10 Thread Karl Heinz Marbaise
Hi, don't use ${-project.version} this in parent...better use hard coded version numbers here which will be handled by the release plugin Furhtermore it is difficult to say something which is usefull ,cause i don't have the pom's so...may be is it possible to post the poms here? Kind

Maven3 : Unable to resolve parent pom

2011-05-10 Thread Jayaram Sankaranarayanan (jayas)
Hi, I have a multi module project where in the pom for all the modules inherit from a parent pom. This was building fine in maven2, but after moving to maven 3, I get the following error whenever, building a module that has a dependency on another module in the project. Caused by: org.

Re: Web app not workin when compiled via Maven.

2011-05-10 Thread Anders Hammar
Well, declaring a dependency is the correct way to solve this. Not the solution suggested below. /Anders On Tue, May 10, 2011 at 13:16, Ludwig Magnusson wrote: > That's right. > Adding this to your pom will prbably help. Make sure to add the WEB-INF/lib > folder to your war-file. > > > org.apa

SV: Web app not workin when compiled via Maven.

2011-05-10 Thread Ludwig Magnusson
That's right. Adding this to your pom will prbably help. Make sure to add the WEB-INF/lib folder to your war-file. org.apache.maven.plugins maven-dependency-plugin 2.1 process-resources copy-dependencies ${project.basedir}/WEB-INF/lib

Re: Maven3 missing dependency message is no longer helpful

2011-05-10 Thread Anders Hammar
http://lmgtfy.com/?q=maven+3+scp&l=1 /Anders On Tue, May 10, 2011 at 12:05, Tim Pizey wrote: > On 10 May 2011 10:42, Tim Pizey wrote: > > Hi, > > > > In Maven2 when a dependency could not be found in any repository > > then there was a helpful message giving the command to install locally > > o

Re: Web app not workin when compiled via Maven.

2011-05-10 Thread Anders Hammar
Very likely this is not a Maven issue, but you're simply not including the libraries you use in your web app. This specific line is something to investigate: java.lang. ClassNotFoundException: com.sun.faces.config.ConfigureListener /Anders On Tue, May 10, 2011 at 11:41, Jamshed Katta wrote: > H

Re: Maven3 missing dependency message is no longer helpful

2011-05-10 Thread Tim Pizey
On 10 May 2011 10:42, Tim Pizey wrote: > Hi, > > In Maven2 when a dependency could not be found in any repository > then there was a helpful message giving the command to install locally > of deploy to your repository. > > Please can we have it back? How can one now deploy to a repository using sc

Web app not workin when compiled via Maven.

2011-05-10 Thread Jamshed Katta
Hey everyone, I am facing a problem while deploying my webapp on JBoss AS 6 Final. I am using Eclipse with Java (JDK 1.6)and J2EE on Open SUSE 11.4. When i mvn clean install my project,the war file is built but when i try to deploy the file by pasting it to the Jboss deploy directory, my webapp d

Maven3 missing dependency message is no longer helpful

2011-05-10 Thread Tim Pizey
Hi, In Maven2 when a dependency could not be found in any repository then there was a helpful message giving the command to install locally of deploy to your repository. Please can we have it back? cheers Tim -- Tim Pizey - http://pizey.net/~timp Centre for Genomics and Global Health - http://

Re: Heap overflow in deploy:deploy

2011-05-10 Thread Tamás Cservenák
No, Nexus is not "WebDAV compliant" (you cannot mount repository as a drive for example). But YES, you can use DAV wagon to deploy to it. You need build extension with DAV wagon _and_ modify your deploy URL. Thanks, ~t~ On Tue, May 10, 2011 at 6:29 AM, Anders Hammar wrote: > No, Nexus does not

AW: Maven, Subversion and Eclipse issue

2011-05-10 Thread Markus Schaber
Hi, Refr, Just a simple suggestion: As the target subdirectory seems to be created, why not removing it from subversion and adding it to svn:ignore? Best regards Markus Schaber ___ We software Automation. 3S-Smart Software Solutions GmbH Markus Schaber | Developer Memm