RE: create a jar-file with content of other jars

2013-11-24 Thread Martin Gainty
take a look at maven-shade-plugin building "uber jar" GroupId:ArtifactId GroupPackageName/ArtifactName/** .. http://maven.apache.org/plugins/maven-shade-plugin/examples/includes-excludes.html HTH,

Re: Excluding maven pom.xml from generated jar as a security precaution?

2013-11-24 Thread Tang Kin Chuen
Thanks for all the feedback guys. On Tue, Nov 19, 2013 at 11:32 PM, Paul Benedict wrote: > I wouldn't toss-off the idea that providing a POM can't be a security risk. > It *depends* what you are coding and what assets are being protected. True, > there is "a bigger problem at hand if someone kno

Re: create a jar-file with content of other jars

2013-11-24 Thread Stephen Connolly
For a single purpose one time deal like this, there is no shame in putting the jars in src/ and just using an ant task to unzip them into target/classes On Thursday, 21 November 2013, Heinrich Götzger wrote: > Hi, > > this might have been discussed somewhere else already, but I couldn't find > it

Re: create a jar-file with content of other jars

2013-11-24 Thread Cemo
On 21 November 2013 18:01, Heinrich Götzger wrote: > Hi, > > this might have been discussed somewhere else already, but I couldn't find > it yet, so here is my problem: > > There are some jar-Files from third party (non-maven-source) which I'd > like to put/merge into a sinlge jar. The content of

RE: m2eclipse, surefire and systepPropertyVariables

2013-11-24 Thread schrepfler
I think the most coherent behavior would be that m2e sets the launcher system properties automagically. If a maven project has surefire defined in a certain way the tests should have those properties declared. For example, I like to run my tests in UTC always, yet if ran by eclipse they usually exe

create a jar-file with content of other jars

2013-11-24 Thread Heinrich Götzger
Hi, this might have been discussed somewhere else already, but I couldn't find it yet, so here is my problem: There are some jar-Files from third party (non-maven-source) which I'd like to put/merge into a sinlge jar. The content of those third-party-jars has to be extracted (unpacked). The

Re: maven 3.1.1 StackOverflowError

2013-11-24 Thread Stuart McCulloch
Looks like http://jira.codehaus.org/browse/PLXCOMP-208 which was fixed in plexus-archiver-2.2. Which plugin was executing before the error? It should hopefully just be a matter of updating your pom.xml to use a more recent version of the plugin which depends on plexus-archiver-2.2 or later. On

maven 3.1.1 StackOverflowError

2013-11-24 Thread Goldfish
Hi I'm trying to install my maven project and it is ending in a StackOverflowError. I can build it on several systems but the one system that it must build on in the end does not finish... I just can't explain to myself what this error even means and trying google on this error did not help either.