[ANNOUNCE] jboss-maven-plugin released version 1.3.2 at mojo

2009-06-21 Thread Jeff Genender
Due to popular demand, the jboss-maven-plugin has been released at version 1.3.2 at mojo.codehaus.org. Cheers, Jeff Genender - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail:

RE: Dependency-copy:exclude includeScope behaviour

2009-06-21 Thread Mohan KR
I believe you need to have *two* executions of copy-dependencies goal with in one case: includeScopeprovided/includeScope in the second case: includeScopesystem/includeScope Don't put the excludeScope element. Thanks, mohan kr -Original Message- From: Fiona Mahon

multimodule project: jetty plugin running two webapp-modules on same port

2009-06-21 Thread aldana
hi, I got following project structure: app1/ -core-stuff -webapp1/ -webapp2/ I tried to put jetty plugin config to app1/pom.xml and expected that submodules with war packaging would inherit this setting. This does not work because jetty plugin moans about core-stuff/ not having a webapp

Re: multimodule project: jetty plugin running two webapp-modules on same port

2009-06-21 Thread Stephen Connolly
you'll need another module that depends on the two web apps On Sunday, June 21, 2009, aldana ald...@gmx.de wrote: hi, I got following project structure: app1/  -core-stuff  -webapp1/  -webapp2/ I tried to put jetty plugin config to app1/pom.xml and expected that submodules with war

problem webapp integration test setup with seperate test module (handling of lifecycle dependencies).

2009-06-21 Thread aldana
I want to setup a integration test for a webapp. my project structure (with a seperate test module): parent/ -test-webapp -webapp requirement is: - webapp (pre-integration-test phase) starts up with jetty:start - test-webapp test cases are run (integration-test phase) - webapp

Re: multimodule project: jetty plugin running two webapp-modules on same port

2009-06-21 Thread aldana
I tried this out, but it would not work, because jetty:run config is not merged to both webapps and they are deployed at once to the same port, but jetty:run goal is executed sequentially for both webapps. Stephen Connolly-2 wrote: you'll need another module that depends on the two web apps

Re: problem webapp integration test setup with seperate test module (handling of lifecycle dependencies).

2009-06-21 Thread Mick Knutson
Are you only trying to run integration tests against your webapp? Is that why you created the test-webapp? --- Thank You… Mick Knutson, President BASE Logic, Inc. Enterprise Architecture, Design, Mentoring Agile Consulting p. (866) BLiNC-411: (254-6241-1) f. (415) 685-4233 Website:

How to code assembly plugin to set EOL=CRLF for zip and EOL=LF for tar.gz source files?

2009-06-21 Thread sebb
The assembly plugin has a lineEnding option which can be used to fix the line ends for specified source files. I want to create zip archives with CRLF lines and tar.gz archives with LF lines. Can this be done without duplicating the descriptor or the filesets?

Re: How to code assembly plugin to set EOL=CRLF for zip and EOL=LF for tar.gz source files?

2009-06-21 Thread Mick Knutson
dos2unix I think there is a plugin for that. --- Thank You… Mick Knutson, President BASE Logic, Inc. Enterprise Architecture, Design, Mentoring Agile Consulting p. (866) BLiNC-411: (254-6241-1) f. (415) 685-4233 Website: http://baselogic.com Linked IN: http://linkedin.com/in/mickknutson

Re: How to code assembly plugin to set EOL=CRLF for zip and EOL=LF for tar.gz source files?

2009-06-21 Thread sebb
Thanks but I want to use the assembly plugin which already supports lineEnd conversion. On 22/06/2009, Mick Knutson mickknut...@gmail.com wrote: dos2unix I think there is a plugin for that. --- Thank You… Mick Knutson, President BASE Logic, Inc. Enterprise Architecture, Design,

two versions of a compiler

2009-06-21 Thread Alexy Khrabrov
I'd like to be able to compile my project with either Scala 2.7.5 or 2.8. There's a property scala.version saying which. How can I maintain the setup where I don't have to edit pom.xml but rather have two ready configurations? Cheers, Alexy

Re: two versions of a compiler

2009-06-21 Thread Mick Knutson
Put it into the settings.xml --- Thank You… Mick Knutson, President BASE Logic, Inc. Enterprise Architecture, Design, Mentoring Agile Consulting p. (866) BLiNC-411: (254-6241-1) f. (415) 685-4233 Website: http://baselogic.com Linked IN: http://linkedin.com/in/mickknutson Vacation Rental:

Re: two versions of a compiler

2009-06-21 Thread Dan Tran
you can use Maven Profile to perform conditional build, you can place profile(s) in settings.xml as mentioned by Mick, but usually it should be in your pom.xml since it is quite difficult to have developer to modify his/her settings.xml -D On Sun, Jun 21, 2009 at 7:19 PM, Mick

Re: two versions of a compiler

2009-06-21 Thread Alexy Khrabrov
The additional difficulty is that Scala 2.8 is binary incompatible with 2.7 -- so I'd like to maintain two directories with two versions of all compiled files, without recompiling everything all the time, preferably. I might use git branches... Cheers, Alexy

Re: how to cope all jars from all modules to some top level project directory?

2009-06-21 Thread Dmitry Skavish
thanks, it seems to work. On Fri, Jun 19, 2009 at 5:02 PM, Johan Lindquist jo...@kawoo.co.uk wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Agree with Stephen - this is then one (the latter) that worked for me. Cheers, Johan Stephen Connolly wrote: you'll want to set

How do i upload sources for a 3rd party jar?

2009-06-21 Thread Lutchumaya
Hello everyone I am unable to copy my sources jar into my repo. My command is in a bat file as below [CODE] mvn -N deploy:deploy-file -DgroupId=mysql -DartifactId=mysql-connector-java -Dversion=5.1.7 -Dpackaging=sources -DgeneratePom=false -Dfile=mysql-connector-java-5.1.7-sources.jar [/CODE]

Re: multimodule project: jetty plugin running two webapp-modules on same port

2009-06-21 Thread Stephen Connolly
which is why you need a third module... the third module is the one that you run jetty:run in. 2009/6/22 aldana ald...@gmx.de: I tried this out, but it would not work, because jetty:run config is not merged to both webapps and they are deployed at once to the same port, but jetty:run goal is

Re: problem webapp integration test setup with seperate test module (handling of lifecycle dependencies).

2009-06-21 Thread Stephen Connolly
1. Have a look at the failsafe-maven plugin 2. if you insist on having the tests in a separate module, then test-webapp cannot depend on webapp, an you will need to add test-webapp as a dependency to webapp (with scope test) and then unpack it with (as surefire/failsafe do not scan jar files for