Re: how to run compile and packaging before test?

2013-12-12 Thread Barrie Treloar
On 13 December 2013 07:57, Andrew E. Davidson wrote: > many thanks > > I did not know about the book Just scanning http://maven.apache.org and its not obvious by the content on the page where the books are. Its over in the menu on the left under Documentation > Books and Resources I wonder if w

Re: how to run compile and packaging before test?

2013-12-12 Thread Andrew E. Davidson
many thanks I did not know about the book Andy On Dec 11, 2013, at 3:58 PM, Barrie Treloar wrote: > Please have a look at the freely available books at > http://maven.apache.org/articles.html > > These will help you understand the Maven lifecycle and what you should > be doing in each phase.

Re: Jose Manuel Garcia Maciel is out of the office.

2013-12-12 Thread Stephen Connolly
Thanks for the update. If you want us to set up a wiki page to track your out of office status please don't reply to this message. Our tracking of out of office status has been somewhat lacking recently after Julia changed jobs/mail agent On Thursday, 12 December 2013, Jose Manuel Garcia Maciel/Me

Jose Manuel Garcia Maciel is out of the office.

2013-12-12 Thread Jose Manuel Garcia Maciel/Mexico/IBM
I will be out of the office starting 12/12/2013 and will not return until 01/06/2014. I will respond to your message when I return. If urgent my phone is in bluepages

Re: Maven does not download the jar but it download the pom

2013-12-12 Thread javi.lse
As i said in my messages the jars get downloaded for the first project build, therefore there is not an issue with proxy. All jars can get downloaded. -- View this message in context: http://maven.40175.n5.nabble.com/Maven-does-not-download-the-jar-but-it-download-the-pom-tp5778274p5778311.ht

RE: Maven does not download the jar but it download the pom

2013-12-12 Thread Martin Gainty
I am suspecting your binary transfers are being blocked by a Proxy between you and repo.maven.apache.org try wget http://repo.maven.apache.org/maven2/org/eclipse/emf/ecore/xmi/2.3.0-v200706262000/xmi-2.3.0-v200706262000.jar ? Martin-- > Date: Thu, 12 Dec 2013 07:57:48 -0800 > From: ja

RE: help testing a test war in a jar module

2013-12-12 Thread Martin Gainty
> To: users@maven.apache.org > From: rand...@kamradtfamily.net > Subject: RE: help testing a test war in a jar module > Date: Thu, 12 Dec 2013 10:03:04 -0700 > > to answer your first question, it's a Vaadin app, so I suppose it's a plain > servlet based webapp. I provide a dummy entry point

RE: help testing a test war in a jar module

2013-12-12 Thread randysr
to answer your first question, it's a Vaadin app, so I suppose it's a plain servlet based webapp. I provide a dummy entry point as part of the test code. to answer your second question, I use the configuration of the tomcat plugin to point it to the exploded webapp I found the parameter and

Re: help testing a test war in a jar module

2013-12-12 Thread Sankaran, Nambi
Please take a look at web-fragments. It is a servlet packaged as a jar. On 12/12/13, 8:25 AM, "rand...@kamradtfamily.net" wrote: >I have an unusual issue, a product that is ultimately a webapp, but each >screen is required to be in a separate jar file with no >inter-dependencies (though they all

help testing a test war in a jar module

2013-12-12 Thread randysr
I have an unusual issue, a product that is ultimately a webapp, but each screen is required to be in a separate jar file with no inter-dependencies (though they all have dependencies to lower level library jars). I would like to be able to test each of these jar files within the jar module that

Re: Maven does not download the jar but it download the pom

2013-12-12 Thread javi.lse
Thanks for the proposed workaround. I have run maven with -X thanks for the hint, unfortunatelly nothing unusual seems to be happening there. I see how the repositories are access and the maven-metadata.xml are downloaded but no indication on why the jars are not. It is like maven would think it

Re: How to resolve right dependency which enabled and built/install with profile?

2013-12-12 Thread Ron Wheeler
With the solution that I suggested, A depends on C which is a "provided" POM so that you can swap versions of libjar to build your fat jar. Essentially you are lying to A by making it think that C is one thing not knowing that you will swap C's dependency on libjar later on while building the fa

Re: Painless way to update a frameworks group id?

2013-12-12 Thread Anders Hammar
> Think some sort of "artifact-transformer" mechanism in Maven would be >> really cool ("Map the following groupId to otherGroupId"). > > > There is some discussion around this feature for a future POM model. Any > year now. :-) > Oh, I should prabably stress that this "discussion" is no promise f

Re: Painless way to update a frameworks group id?

2013-12-12 Thread Anders Hammar
> > Think some sort of "artifact-transformer" mechanism in Maven would be > really cool ("Map the following groupId to otherGroupId"). There is some discussion around this feature for a future POM model. Any year now. :-) /Anders > But I guess something like that would fit into the same drawe

AW: Painless way to update a frameworks group id?

2013-12-12 Thread Christofer Dutz
Well I guess the enforcer Thing should be a good Option. I was already telling the People to exclude and manually include the new artifacts. So I guess I'll still stick to that and extend my Suggestion to add an enforcer rule to notify users of such Problems. Also I knew that changing the grou

RE: Releasing artifacts with and without debug info

2013-12-12 Thread Dimitar Gospodinov
Hi, We have similar situation on several of our projects - we need to generate fully debugable artifacts and also artifacts stripped from all debuging information, optimized and obfuscated. To resolve this we use classifiers and profiles. By default everything is built with full debug informatio

Re: Maven does not download the jar but it download the pom

2013-12-12 Thread Barrie Treloar
On 12 December 2013 10:11, javi.lse wrote: > The issue is that when running mvn clean package -U (both from the command > line and within eclipse) on the kepler SR1 only the poms were downloaded but > not the jars. No matter what i try the jars would not get downloaded. Did you try -X to see the

Re: Maven does not download the jar but it download the pom

2013-12-12 Thread Malte Skoruppa
Hi Javier, The issue is that when running mvn clean package -U (both from the command line and within eclipse) on the kepler SR1 only the poms were downloaded but not the jars. No matter what i try the jars would not get downloaded. So does this mean that the mvn command fails because Maven refu

Re: Painless way to update a frameworks group id?

2013-12-12 Thread Anders Hammar
I don't think that will work. The "bad" deps are still used in compile time and only not used in runtime. The correct solution (until there are new releases that don't pull in the "bad" transitive deps) is to excluded them. And that probably can't be automated in any other way than providing means

AW: Painless way to update a frameworks group id?

2013-12-12 Thread Christofer Dutz
What do you think about this Option? I created a tool that mavenizes a non-maven Flex SDK and genereates all sorts of maven artifacts ... one artifact that is generated is a Special pom that contains only a dependency Management section that can be used to automatically configure the Versions o

Re: Painless way to update a frameworks group id?

2013-12-12 Thread Anders Hammar
AFAIK there is not painless way to solve this. What you could add to the docs is instructions on how to use an enforcer rule to ensure that no "bad" libs are pulled in by accident (if the miss some exclusion). Use the banned deps [1] rule. /Anders [1] http://maven.apache.org/enforcer/enforcer-ru