Re: Backslash colon problem with ${basedir} using maven-plugin-tools-ant

2009-06-21 Thread Blackbird
Hasn't anyone faced this problem? I really need some help there.. -- View this message in context: http://www.nabble.com/Backslash-colon-problem-with-%24%7Bbasedir%7D-using-maven-plugin-tools-ant-tp24111308p24142465.html Sent from the Maven - Users mailing list archive at Nabble.com. -

Re: Artifact with classifier have main artifact dependency

2009-06-21 Thread Aleksey Didik
Thanks for so fast response, Jorg. I'll try to use your solutions. Best regards, Aleksey. Jörg Schaible пишет: Hi Aleksey, Aleksey Didik wrote at Montag, 22. Juni 2009 08:08: Hello all. I have met a situation which confuse me a little. Let's imagine we have two assembly for one maven m

Re: Artifact with classifier have main artifact dependency

2009-06-21 Thread Jörg Schaible
Hi Aleksey, Aleksey Didik wrote at Montag, 22. Juni 2009 08:08: > Hello all. > I have met a situation which confuse me a little. > > Let's imagine we have two assembly for one maven module: full version > (for example server part of application) and brief version (client part > for remote call).

Artifact with classifier have main artifact dependency

2009-06-21 Thread Aleksey Didik
Hello all. I have met a situation which confuse me a little. Let's imagine we have two assembly for one maven module: full version (for example server part of application) and brief version (client part for remote call). Will use maven-assembly-plugin for build them. Full (server):

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 te

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 : > > 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 execute

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: 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 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 inherite

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: 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 Knutson wrote: > Pu

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: http

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: 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 wrote: > dos2unix I think there is a plugin for that. > > --- > Thank You… > > Mick Knutson, President > > BASE Logic, Inc. > Enterprise Architecture, Design, Mentoring & Agile

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 Vacat

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: 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: http://bas

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 a

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 (post-integra

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 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 p

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 f

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: provided in the second case: system Don't put the excludeScope element. Thanks, mohan kr -Original Message- From: Fiona Mahon [mailto:fma...@tssg.org] Sent: Friday, June 19, 2009 5:23 AM To: users@

[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: users-