Re: Maven- Create a JAR containing unexploded JARs

2013-02-14 Thread Baptiste MATHUS
Hi, It would help if you tell us where you got so far. Is this generating something close to what you need, if yes, what's missing, etc. Cheers Le 14 févr. 2013 13:03, "dgabriel" a écrit : > Hi, I'm trying to create a JAR containing other .jar files using Maven. > Also, > I'd like them to be in

Re: mvn site-deploy accessing another server?

2013-02-14 Thread Ron Wheeler
http://maven.apache.org/plugins/maven-site-plugin/deploy-mojo.html Is this what you are following as a guide? is for Maven repos not web servers. Ron On 14/02/2013 11:45 AM, xelhark wrote: Hello! I'm writing here because I don't really know what else to do. I'm trying to configure maven so

mvn site-deploy accessing another server?

2013-02-14 Thread xelhark
Hello! I'm writing here because I don't really know what else to do. I'm trying to configure maven so that it deploys my website on my server. There are plenty of guides online, I added the on my settings.xml, added the configuration on my pom. That's not the issue. After several tries, I notic

Re: Custom Maven Plugin Development Archiving Files

2013-02-14 Thread Wayne Fay
> I am developing my own custom Maven plugin and I want to archive the files. I > followd that example: > http://www.sonatype.com/books/mvnref-book/reference/writing-plugins-sect-mojo-params.html > and could archive the elements with zip format. However I want to use other > formats too(user will i

Re: Custom Maven Plugin Development Archiving Files

2013-02-14 Thread Barrie Treloar
On 15 February 2013 11:38, kamaci wrote: > I am developing my own custom Maven plugin and I want to archive the files. I > followd that example: > http://www.sonatype.com/books/mvnref-book/reference/writing-plugins-sect-mojo-params.html > and could archive the elements with zip format. However I w

Custom Maven Plugin Development Archiving Files

2013-02-14 Thread kamaci
I am developing my own custom Maven plugin and I want to archive the files. I followd that example: http://www.sonatype.com/books/mvnref-book/reference/writing-plugins-sect-mojo-params.html and could archive the elements with zip format. However I want to use other formats too(user will indicate it

Re: Settings properties not resolved when used in repository element.

2013-02-14 Thread Richard Seddon
If I recall correctly, property definitions within a settings.xml profile can't be interpolated outside the profile within the settings.xml. And the rationale for this was that profile elements are a subset of pom files, not settings.xml files. See here for the comment accompanying the orig

Re: Settings properties not resolved when used in repository element.

2013-02-14 Thread Tonio Caputo
Hi Wayne, Thanks for your answer, I'll try the _ version tomorrow, and let you know how it worked. Regarding your question > > company.repo > Archiva Managed Internal Repository > ${company.maven.repo} > >> What's the reason that you can't

Re: Settings properties not resolved when used in repository element.

2013-02-14 Thread Wayne Fay
> > http://maven:8080/repo/ > Try company_maven_repo instead. I know at one point, there was an issue with dotted properties, but that was a while back. > > company.repo > Archiva Managed Internal Repository > ${company.maven.repo} >

Re: Settings properties not resolved when used in repository element.

2013-02-14 Thread Tonio Caputo
Sorry sent an email without completing it, here it goes again. Seems this is not just a settings.xml way of working, the same happens if you just define the property in your pom. Snippet http://maven:8080/repo/ company.repo Archiva Managed

Re: Settings properties not resolved when used in repository element.

2013-02-14 Thread Tonio Caputo
Seems this is not just a settings.xml way of working, the same happens if you just define the property in your pom. Snippet company.repo Archiva Managed Internal Repository ${company.maven.repo} company.pom co

RE: Re: Re: Assembly plugin - Java 7 classes are missing in the final JAR file

2013-02-14 Thread honyk
> I will bet it works if you type > > mvn clean package assembly:single yes, it does the job !!! Thanks a lot! Jan > On 13 February 2013 15:49, wrote: > > > Yes, this is the project currently being built. > > > > It is Maven based Desktop app dependend on the common library. > > My procedu

Settings properties not resolved when used in repository element.

2013-02-14 Thread Tonio Caputo
Hi, I'm trying to be able to configure my project repository URL inside settings.xml, here the snippet company.default.profile company.default.profile http://maven:8080/repo

Maven- Create a JAR containing unexploded JARs

2013-02-14 Thread dgabriel
Hi, I'm trying to create a JAR containing other .jar files using Maven. Also, I'd like them to be in a specific directory. So for example, I want the main JAR to contain a directory, say /MyJars/... , and then that directory to contain all of my dependencies in .jar format. I've been using the Asse

Re: surefire "includes" documentation

2013-02-14 Thread Ansgar Kroger
I uploaded a patch by attaching it to that ticket but I realise that this will likely break the failsafe test mojo documentation. I am unsure about the proper way to handle this but I suppose that this is OT on the maven user list. Ansgar Ansgar On Thu, Feb 14, 2013 at 11:21 AM, Anders Hammar

Re: surefire "includes" documentation

2013-02-14 Thread Anders Hammar
I believe it has already been filed as a ticket: http://jira.codehaus.org/browse/SUREFIRE-958 Please feel free to provide a patch! /Anders On Thu, Feb 14, 2013 at 11:13 AM, Ansgar Kroger wrote: > Hi all, > > I believe that there is a mistake in the documentation of the includes > configuration

surefire "includes" documentation

2013-02-14 Thread Ansgar Kroger
Hi all, I believe that there is a mistake in the documentation of the includes configuration parameter for surefire:test While the exclusion/inclusion example page ( http://maven.apache.org/surefire/maven-surefire-plugin/examples/inclusion-exclusion.html) says By default, the Surefire Plugin will

Re: Dependency resolution kicks in too early

2013-02-14 Thread Stephen Connolly
On 14 February 2013 08:45, Reinhard Nägele wrote: > I don't think it is a good idea to pollute Maven Central with this > artifact under a different groupId. > > Nor do I, except when it is necessary... the old advice was to do it that way... the new advice is that it should be a last resort... thi

Re: Dependency resolution kicks in too early

2013-02-14 Thread Reinhard Nägele
I don't think it is a good idea to pollute Maven Central with this artifact under a different groupId. Reinhard Am 13.02.2013 17:09, schrieb Stephen Connolly: Yes, I agree, but I have had to do it myself some times... in more radical cases this has evolved into a complete fork for me (e.g. red