Re: Unpacking jars into target/classes

2013-03-07 Thread Joachim Durchholz
Am 07.03.2013 05:51, schrieb Matthew Adams: Quick jist: 1. Use maven-install-plugin's install-filehttp://maven.apache.org/plugins/maven-install-plugin/install-file-mojo.htmlgoal to make maven artifacts out of the jars you intend to unpack, and do it in any phase prior to process-classes (or do

Re: Unpacking jars into target/classes

2013-03-07 Thread Jörg Schaible
Hi, Joachim Durchholz wrote: Am 07.03.2013 05:51, schrieb Matthew Adams: Quick jist: 1. Use maven-install-plugin's install-filehttp://maven.apache.org/plugins/maven-install- plugin/install-file-mojo.htmlgoal to make maven artifacts out of the jars you intend to unpack, and do it in any

Re: Unpacking jars into target/classes

2013-03-07 Thread Baptiste MATHUS
Le 7 mars 2013 10:02, Jörg Schaible joerg.schai...@scalaris.com a écrit : Hi, Joachim Durchholz wrote: Am 07.03.2013 05:51, schrieb Matthew Adams: Quick jist: 1. Use maven-install-plugin's install-filehttp://maven.apache.org/plugins/maven-install- plugin/install-file-mojo.htmlgoal

server-url in settings.xml

2013-03-07 Thread Philip
Hi List, perhaps i have overlooked something obvious, but what is the point of the server-element in settings.xml if i can't specify a server-url? -Philip - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For

Re: server-url in settings.xml

2013-03-07 Thread Anders Hammar
It uses the id for matching. /Anders On Thu, Mar 7, 2013 at 11:19 AM, Philip feu...@uni-koblenz.de wrote: Hi List, perhaps i have overlooked something obvious, but what is the point of the server-element in settings.xml if i can't specify a server-url? -Philip

Re: server-url in settings.xml

2013-03-07 Thread Philip
On Thu, 2013-03-07 at 11:20 +0100, Anders Hammar wrote: It uses the id for matching. /Anders Yes, but i still needed a profile for an url, it only provides user password. Thanks for your answer, Philip - To

Re: Unpacking jars into target/classes

2013-03-07 Thread Joachim Durchholz
Am 07.03.2013 10:00, schrieb Jörg Schaible: Hi, Joachim Durchholz wrote: Am 07.03.2013 05:51, schrieb Matthew Adams: Quick jist: 1. Use maven-install-plugin's install-filehttp://maven.apache.org/plugins/maven-install- plugin/install-file-mojo.htmlgoal to make maven artifacts out of the

Re: server-url in settings.xml

2013-03-07 Thread Anders Hammar
Yes, server elements are only for credentials. /Anders (mobile) Den 7 mar 2013 11:29 skrev Philip feu...@uni-koblenz.de: On Thu, 2013-03-07 at 11:20 +0100, Anders Hammar wrote: It uses the id for matching. /Anders Yes, but i still needed a profile for an url, it only provides user

Re: server-url in settings.xml

2013-03-07 Thread Adrien Rivard
You specifiy the url in one of the mirrors , proxies, repositories sections in the settings or in repositories in the pom.xml of your projects. see http://maven.apache.org/settings.html On Thu, Mar 7, 2013 at 11:38 AM, Philip feu...@uni-koblenz.de wrote: On Thu, 2013-03-07 at 11:20 +0100,

Re: Unpacking jars into target/classes

2013-03-07 Thread Jörg Schaible
Hi Jo, Joachim Durchholz wrote: Am 07.03.2013 10:00, schrieb Jörg Schaible: Hi, Joachim Durchholz wrote: Am 07.03.2013 05:51, schrieb Matthew Adams: Quick jist: 1. Use maven-install-plugin's install-filehttp://maven.apache.org/plugins/maven-install- plugin/install-file-mojo.htmlgoal

Re: Unpacking jars into target/classes

2013-03-07 Thread Adrien Rivard
On Thu, Mar 7, 2013 at 11:37 AM, Joachim Durchholz j...@durchholz.org wrote: Am 07.03.2013 10:00, schrieb Jörg Schaible: Hi, Joachim Durchholz wrote: Am 07.03.2013 05:51, schrieb Matthew Adams: Quick jist: 1. Use maven-install-plugin's

tomcat6:list - minimum requirements to run

2013-03-07 Thread Stadelmann Josef
Hi all, I have some difficulty to understand how to use the plugin below to do a simple $ mvn tomcat6:list pluginManagement plugins plugin groupIdorg.apache.tomcat.maven/groupId artifactIdtomcat6-maven-plugin/artifactId

Re: Unpacking jars into target/classes

2013-03-07 Thread Joachim Durchholz
Am 07.03.2013 12:07, schrieb Jörg Schaible: Personally, I'll simply stop to look at your questions, because you waste my time and IMHO you waste yours, too. I couldn't agree more to the waste-of-time observation. Though in our case, I guess it's been your answer with its lengthy philosophical

Re: Unpacking jars into target/classes

2013-03-07 Thread Anders Hammar
You forgot: - You need a repo manager :-) Sorry, couldn't stop myself, /Anders On Thu, Mar 7, 2013 at 12:46 PM, Joachim Durchholz j...@durchholz.org wrote: Am 07.03.2013 12:07, schrieb Jörg Schaible: Personally, I'll simply stop to look at your questions, because you waste my time and IMHO

Re: Unpacking jars into target/classes

2013-03-07 Thread Joachim Durchholz
Warning: Just philosophy here. I AM trying to restrict myself to things I haven't said before. Some amount of repetition is inevitable, and this kind of discussion is nearing the point of diminishing returns, so I'm trying to cut down on this kind of discussion. Am 07.03.2013 10:57, schrieb

Re: Unpacking jars into target/classes

2013-03-07 Thread Joachim Durchholz
Am 07.03.2013 12:53, schrieb Anders Hammar: You forgot: - You need a repo manager :-) Sorry, couldn't stop myself, Yeah, talk about waste of time :-( - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For

Re: Unpacking jars into target/classes

2013-03-07 Thread Andreas Gudian
Am Donnerstag, 7. März 2013 schrieb Joachim Durchholz : Warning: Just philosophy here. I AM trying to restrict myself to things I haven't said before. Some amount of repetition is inevitable, and this kind of discussion is nearing the point of diminishing returns, so I'm trying to cut down on

Re: Unpacking jars into target/classes

2013-03-07 Thread Stephen Connolly
On 7 March 2013 11:57, Joachim Durchholz j...@durchholz.org wrote: Warning: Just philosophy here. I AM trying to restrict myself to things I haven't said before. Some amount of repetition is inevitable, and this kind of discussion is nearing the point of diminishing returns, so I'm trying to

Re: Unpacking jars into target/classes

2013-03-07 Thread Joachim Durchholz
(Sorry, more philosphy ahead, just trying to explain my situation to Adrien) Am 07.03.2013 12:16, schrieb Adrien Rivard: I claim that Maven's stance of essentially requiring a repository manager needlessly complicates the build infrastructure. It may complicate the build infrastrucure but it

Re: Unpacking jars into target/classes

2013-03-07 Thread Joachim Durchholz
Am 07.03.2013 13:05, schrieb Andreas Gudian: That's not really what I want. I want a declarative specification so the tool can decide what build steps to run. I want full scripting only for the individual build steps. This probably means an obligation to specify the declarative metadata so the

Re: Unpacking jars into target/classes

2013-03-07 Thread Joachim Durchholz
Just some feedback... Am 07.03.2013 13:22, schrieb Stephen Connolly: Maven wants the java source code in ${basedir}/src/main/java... you want it somewhere else... you know what, Maven is OK with that I'm actually okay with that source structure, though I don't like the split between

Re: Unpacking jars into target/classes

2013-03-07 Thread Stephen Connolly
On 7 March 2013 12:34, Joachim Durchholz j...@durchholz.org wrote: Am 07.03.2013 13:05, schrieb Andreas Gudian: That's not really what I want. I want a declarative specification so the tool can decide what build steps to run. I want full scripting only for the individual build steps. This

git release:prepare does not commit the poms (Linux)

2013-03-07 Thread Willem Voogd
Hi All, I'm new to this mailing list, so if I'm posting at the wrong place, please say so kindly ;) I am trying to craete a release, while making use of the github. It seems the changed poms (with the release numbers) don't get commited, just added to staging. mvn does tag the branch, but

Re: Unpacking jars into target/classes

2013-03-07 Thread Ron Wheeler
Tens of thousands of developers use Maven every day. They like the way that it works now and don't want it to change. They build all kinds of projects - big ones, little ones, ones with lots of third party dependencies and lots with just a few. We have an LMS that we built with Maven - it has

Skinny WAR and SNAPSHOT

2013-03-07 Thread Lewis, Eric
Hi I know a lot has been written about skinny WARs and the problems they represent. The strategy that we're using is: - Set dependencies in the web module to scope 'provided', except dependencies that are web-specific (PrimeFaces, ...) - Set skinnyWars to true in the EAR project The strategy

m2eclipse install

2013-03-07 Thread Hossein Miri
Hello,I'm a novice, trying to setup maven2 on my Mac.I would like to install the m2eclipse from: http://eclipse.org/m2e/and import a project as a Maven Project under the Eclipse menu.But when I go to the Help menu and look for m2eclipse in the MarketPlace,there are a number of options for install:

Re: m2eclipse install

2013-03-07 Thread Ron Wheeler
You can save yourself a lot of grief just by installing Eclipse/STS from Springsource. It includes Eclipse with a full set of plug-ins required to do development with Java, Maven and the Spring tool suite. Saves all these questions about what to load and how to fix incompatible dependencies.

File permissions after deploy using scpexe

2013-03-07 Thread Jeff Lusted
I'm using maven 2.2.1 and I have Nexus 2.2-01 open source version installed. The client and server OS's involved are both Ubuntu 11.10. I'm interested here in considering a snapshot repository, where I might expect quite a bit of traffic from developers. To deploy I have the

Re: File permissions after deploy using scpexe

2013-03-07 Thread Ron Wheeler
On 07/03/2013 9:53 AM, Jeff Lusted wrote: I'm using maven 2.2.1 and I have Nexus 2.2-01 open source version installed. The client and server OS's involved are both Ubuntu 11.10. I'm interested here in considering a snapshot repository, where I might expect quite a bit of traffic from

Re: m2eclipse install

2013-03-07 Thread Jeffrey E Care
Hossein Miri hm...@me.com wrote on 03/07/2013 09:46:49 AM: there are a number of options for install: - Maven Integration for Eclipse WTP (Incubation) by Eclipse.org, EPL - m2eclipse-wtp : Maven Integration for Eclipse WTP (from github) by Red Hat, Inc., EPL - Maven

Re: m2eclipse install

2013-03-07 Thread Curtis Rueden
Hi Hossein, I would like to install the m2eclipse As Ron says, you can use Eclipse/STS if you want the whole enchilada. Alternately, one middle ground is the Eclipse IDE for Java Developers download, which comes with both M2E and EGit already installed. Feature list here:

Maven introductory course reviewers needed

2013-03-07 Thread Russell Gold
Hi, I am developing an introductory course for Maven users. The publisher will eventually provide technical reviewers, but I was hoping for some earlier feedback. The full course is expected to be a bit over 2 hours long; I have 3/8 sections created so far (14 videos totaling a bit over 45

Re: git release:prepare does not commit the poms (Linux)

2013-03-07 Thread Robert Scholte
Hi, could you try to use maven-release-plugin 2.3.2? There are some known issues with GIT and the maven-release-plugin 2.4, which need to be fixed in the SCM project first. Robert Op Thu, 07 Mar 2013 14:04:01 +0100 schreef Willem Voogd willem.vo...@dayon.nl: Hi All, I'm new to this

Re: Unpacking jars into target/classes

2013-03-07 Thread Joachim Durchholz
Am 07.03.2013 13:55, schrieb Stephen Connolly: BUT if you are doing something that is crazy and stupid Yeah okay, I stopped reading at that allegation. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For

Re: Unpacking jars into target/classes

2013-03-07 Thread Ron Wheeler
The trick is not to stop reading it but to stop doing it. You are getting advice from one of principle architects and authors of Maven. What would you consider to be expert advice that you should follow? Bear in mind that God is busy this week appointing a Pope! Ron On 07/03/2013 1:48 PM,

Re: Unpacking jars into target/classes

2013-03-07 Thread Stephen Connolly
On Thursday, 7 March 2013, Joachim Durchholz wrote: Am 07.03.2013 13:55, schrieb Stephen Connolly: BUT if you are doing something that is crazy and stupid Yeah okay, I stopped reading at that allegation. Think of it as BUT if one is doing... Keep in mind that the mailing list is a

Re: git release:prepare does not commit the poms (Linux)

2013-03-07 Thread Mark Derricutt
The 2.4 git problems are related to the release plugin ignoring local checkout/disabling push settings primarily, so that your release is tagged locally, but then MRP tries to clone the tag from upstream and fails. Either way, dropping back to 2.3.2 to eliminate those issues would be a good

error in unit test

2013-03-07 Thread Alejandro . Endo
I have a problem where my maven plugin's unit tests fail ONLY when i run them in jenkins. When i run `mvn test` locally everything passes fine The error i get is Tests in error: testGetMyModules(com.example.AnalyzerTest): (class: org/apache/maven/project/MavenProject, method:

Re: error in unit test

2013-03-07 Thread Baptiste MATHUS
Hi, This is more a question for jenkins users ml. I suppose you're using a Maven native type of job. Does it produce the same error with a freestyle jobMaven step? And also check you're using the same Maven version locally and in jenkins. But from your logs, I don't think it's related. Cheers Le

Re: Unpacking jars into target/classes

2013-03-07 Thread Joachim Durchholz
Am 07.03.2013 19:53, schrieb Ron Wheeler: The trick is not to stop reading it but to stop doing it. Nope. The trick is to ignore abuse. You are getting advice from one of principle architects and authors of Maven. No advice, just evangelizing and allegations that I'm an idiot. What would

Re: Unpacking jars into target/classes

2013-03-07 Thread Joachim Durchholz
So no apology and you feel entirely justified. With the argument that you're not talking to me but to posteriority. Now it seems that your perceptions of future readers are more important than anything I have to say; I'll keep that in mind.

Re: Unpacking jars into target/classes

2013-03-07 Thread Stephen Connolly
Well if the thing that one is doing is neither crazy nor stupid = others will need to do it = should be turned into a plugin If the thing one is doing is crazy but not stupid = others may want to do it = should be turned into a plugin If the thing one is doing is not crazy but is stupid =

[ANN] Maven Changes Plugin 2.9 Released

2013-03-07 Thread Benson Margulies
The Apache Maven team is pleased to announce the release of the Maven Changes Plugin, version 2.9. The changes plugin Creates a release history for inclusion into the site and assists in generating an announcement mail. http://maven.apache.org/plugins/maven-changes-plugin/ You should specify

Re: Unpacking jars into target/classes

2013-03-07 Thread Joachim Durchholz
Am 07.03.2013 22:41, schrieb Stephen Connolly: Crazy and stupid are not insults in this context... So if I call Ron a clown, and when he's considering that an insult, I explain to him that that's a very respectable thing to be? I think you are taking this thread far too personally On the

Re: Unpacking jars into target/classes

2013-03-07 Thread Stephen Connolly
On Thursday, 7 March 2013, Joachim Durchholz wrote: Am 07.03.2013 22:41, schrieb Stephen Connolly: Crazy and stupid are not insults in this context... So if I call Ron a clown, and when he's considering that an insult, I explain to him that that's a very respectable thing to be? People

Release:perform failing on git ...

2013-03-07 Thread Benson Margulies
release plugin 2.3.2 prepare does fine. perform fails with: [INFO] --- maven-release-plugin:2.3.2:perform (default-cli) @ find-jug-dist-dir-maven-plugin --- [INFO] Checking out the project to perform the release ... [INFO] Executing: /bin/sh -c cd

RE: Release:perform failing on git ...

2013-03-07 Thread Tim Wu T
I think it should better for you to provide more stacktrace. [ERROR] The git-clone command failed. This message is too limited to find the root cause. Br, Tim -Original Message- From: Benson Margulies [mailto:bimargul...@gmail.com] Sent: Friday, March 08, 2013 9:47 AM To: Maven Users

Re: Release:perform failing on git ...

2013-03-07 Thread Benson Margulies
Actually, I know what's happening. To talk to this repo, I need to use a custom ssh key. At command level, I use a shell script: git clone --config ssh.key=/users/benson/.ssh/id_basis_rsa $@ THe question is, how do I get the m-r-p to do this? On Thu, Mar 7, 2013 at 8:49 PM, Tim Wu T

RE: Release:perform failing on git ...

2013-03-07 Thread Tim Wu T
At Jenkins maven release plugin: There is an option called: Configure M2 Extra Build Steps You can config your pre steps. Br, Tim -Original Message- From: Benson Margulies [mailto:bimargul...@gmail.com] Sent: Friday, March 08, 2013 9:53 AM To: Maven Users List Subject: Re:

Re: Unpacking jars into target/classes

2013-03-07 Thread Ron Wheeler
I am not one of the experts, I am only a user of the software trying to tell you how we use it and trying to assure you that it works. I was just trying to point out to you in a light-hearted way that you are getting the highest level of expertise available. Everyone is being polite and

Re: Unpacking jars into target/classes

2013-03-07 Thread Ron Wheeler
On 07/03/2013 6:53 PM, Stephen Connolly wrote: On Thursday, 7 March 2013, Joachim Durchholz wrote: Am 07.03.2013 22:41, schrieb Stephen Connolly: Crazy and stupid are not insults in this context... So if I call Ron a clown, and when he's considering that an insult, I explain to him that

Re: Release:perform failing on git ...

2013-03-07 Thread Mirko Friedenhagen
Hello Benson, when this repository is on a host of it's own adding an entry to ssh-config may help (http://linux.die.net/man/5/ssh_config) . Regards Mirko -- Sent from my mobile On Mar 8, 2013 2:53 AM, Benson Margulies bimargul...@gmail.com wrote: Actually, I know what's happening. To talk

Re: Unpacking jars into target/classes

2013-03-07 Thread Joachim Durchholz
Am 08.03.2013 04:48, schrieb Ron Wheeler: I am not sure what you expect us to say. Simply stick with the question at hand and don't waste everybody's time with evangelizing and philosophy. By your own experience, your approach doesn't work; you won't try to do it the right way; If