Re: Testing jar files instead of class files

2014-08-22 Thread Maxime Gréau
Hello, This is exactly what I want to do. Is it the bug you are talking about ? https://jira.codehaus.org/browse/SUREFIRE-855 Regards Maxime Gréau. 2013-04-30 13:28 GMT+02:00 Stephen Connolly stephen.alan.conno...@gmail.com : Well just to put this into context. What you actually want to do

Re: Dependency properties defined in settings.xml are not being resolved.

2011-10-03 Thread Maxime Gréau
the content of the settings file that Maven is using 2) mvn help:active-profiles to see if your profile is active Regards Maxime Gréau. mgreau.com *Auteur du livre **Apache Maven - Maîtrisez l'infrastructure d'un projet Java EE* http://mvnbook.mgreau.com/ 2011/10/1 aspi_engin...@putnam.com

Re: tomcat maven plugin - what security setup of tomcat is required?

2011-09-15 Thread Maxime Gréau
. Maxime Gréau. mgreau.com *Auteur du livre **Apache Maven - Maîtrisez l'infrastructure d'un projet Java EE* http://mvnbook.mgreau.com/ 2011/9/15 Steve Cohen sco...@javactivity.org I already did. Apparently it is not quite as I said. This was changed in some version of 6.0.x than the one I

Re: maven 3, deploy:deploy-file and dav:http

2011-08-29 Thread Maxime Gréau
with or without a pom.xml [1] - use a repository manager (like Nexus) and upload your file with the UI [1] http://maven.apache.org/plugins/maven-deploy-plugin/file-deployment.html Maxime Gréau. mgreau.com *Auteur du livre **Apache Maven - Maîtriser l'infrastructure d'un projet Java EE* http

Re: overriding properties via -D

2011-05-20 Thread Maxime Gréau
/key 3) mvn help:effective-pom -P profile-test -Dprop.to.override=333 -Doutput=pom-profile-override.xml key${prop.to.override}/key = key333/key 4) mvn help:effective-pom -P profile-test -Doutput=pom-profile.xml key${prop.to.override}/key = key444/key Regards. Maxime Gréau. mgreau.com *Auteur du

Re: Assembly Advice

2011-05-19 Thread Maxime Gréau
Hi, Did you try with the maven-shade-plugin [1] instead of maven-assembly-plugin ? [1] http://maven.apache.org/plugins/maven-shade-plugin/ Regards. Maxime Gréau. mgreau.com *Auteur du livre **Apache Maven - Maîtriser l'infrastructure d'un projet Java EE* http://goo.gl/ivCZW 2011/5/18 Eric

Re: overriding properties via -D

2011-05-18 Thread Maxime Gréau
=pom-profil-override.xml 4) mvn help:effective-pom -P profil -Doutput=pom-profil.xml Then compare the foo properties in this files. Regards. Maxime Gréau. mgreau.com *Auteur du livre **Apache Maven - Maîtriser l'infrastructure d'un projet Java EE* http://goo.gl/ivCZW 2011/5/17 EJ Ciramella

Re: maven 3, deploy:deploy-file and dav:http

2011-03-05 Thread Maxime Gréau
/extensions /build Maxime Gréau. http://mgreau.com 2011/2/4 wujek wujek.sru...@googlemail.com Hi. I am trying to deploy a custom artifact to our internal repo using maven 3.0.2: mvn deploy:deploy-file -Dfile=file.jar -Dversion=1.0.0 -DgroupId=com.example -DartifactId=artifact

Re: How to make a single dependency packaged into target jar?

2010-12-28 Thread Maxime Gréau
Hi, To do this kind of thing, you have to use the maven-assembly-plugin ( http://maven.apache.org/plugins/maven-assembly-plugin/descriptor-refs.html#jar-with-dependencies *).* Maxime Gréau. http://mgreau.com 2010/12/29 Gao Lin aoi...@gmail.com Hi: I need to make a single jar

Re: How to package a JAR file in an EAR file so that this can be accessed by all other modules (ex: EJB, WAR, etc)

2010-12-15 Thread Maxime Gréau
artifactIdejb/artifactId /ejbModule webModule groupIdcom.test.web/groupId artifactIdweb/artifactId /webModule /modules /plugin /plugins /build Maxime Gréau. http

Re: [m3] property ${project.build.directory} returns defect path

2010-11-17 Thread Maxime Gréau
Hello, I tested your configuration and it works fine for me (Apache Maven 3.0 and exec-maven-plugin-1.0) First, you can execute : mvn help:effective-pom You will see the real path returned by the property ${project.build.directory}. 2010/11/17 Lars Fischer lfisc...@fastmail.fm Hello, I use

Re: [m3] property ${project.build.directory} returns defect path

2010-11-17 Thread Maxime Gréau
ok, it's good to know. Maxime. 2010/11/17 Lars Fischer lfisc...@fastmail.fm The windows path bug is fixed in 1.2: http://jira.codehaus.org/browse/MEXEC-81 Kind regards, Lars