Re: m2eclipse Mailing List

2010-06-10 Thread Brett Randall
Hi Shelli, I too had the same problem a few weeks back. I tried to raise this via email to the list admin. Regards Brett On Fri, Jun 11, 2010 at 6:34 AM, Shelli Orton wrote: > Hi, > This post isn't Maven related, but I thought someone on this list may > know... is the m2eclipse mailing list be

Re: gpg:sign and repository:bundle-create produce bad signatures

2010-06-10 Thread Brian Fox
We'll have to look into this and see what's up. It shouldn't modify the jar if it's already there. On Tue, Jun 8, 2010 at 2:08 PM, Bruno Harbulot wrote: > > > On 08/06/10 16:52, Bruno Harbulot wrote: >> >> >> On 08/06/10 15:24, Bruno Harbulot wrote: >> >>> I'm trying to follow the procedure for m

Re: m2eclipse Mailing List

2010-06-10 Thread Brian Fox
Hi Shelli, The lists are still at codehaus so it should work via xircles. I guess it's time to proactively migrate to the sonatype.org servers. On Thu, Jun 10, 2010 at 4:34 PM, Shelli Orton wrote: > Hi, > This post isn't Maven related, but I thought someone on this list may > know... is the m2ecl

Re: eclipse:eclipse generating wrong version of dynamic web app

2010-06-10 Thread Barrie Treloar
On Fri, Jun 11, 2010 at 6:45 AM, David Sharp wrote: > Does anyone know how to tell the eclipse plugin for maven what webapp > version to use? > > I have a web application that uses version 2.4, but when I generate the > eclipse files, the dynamic web app facet is being set to 2.5. Have you ready

multi module scm checkout

2010-06-10 Thread House, Thomas
Hi - I have a multi module project structured like this Review Manager --- Review Manager JAR --- Review Manager HL7 JAR --- Review Manager WAR The parent's pom.xml has no scm configuration The 3 child pom's use the following scm configuration: scm:cvs:pserver:fakeusern...@fakeserver:

m2eclipse Mailing List

2010-06-10 Thread Shelli Orton
Hi, This post isn't Maven related, but I thought someone on this list may know... is the m2eclipse mailing list being managed? I tried to subscribe to the m2eclipse mailing list by sending an email to user-subscr...@m2eclipse.codehaus.org but it never sent me back any confirmation email. I sent an

Re: wagon-maven-plugin and wagon-scm

2010-06-10 Thread Brett Porter
This would require that wagon-scm is in the build extensions, which is not possible without a POM file. An alternative is to use dav:http://, and turn on auto-versioning on your subversion server (though it creates a revision per-file...) On 11/06/2010, at 5:49 AM, Jim McCaskey wrote: > Hello

wagon-maven-plugin and wagon-scm

2010-06-10 Thread Jim McCaskey
Hello all, I was wondering if anyone has gotten the wagon-maven-plugin working with wagon-scm? Specifically, I am trying to issue a command like this: mvn org.codehaus.mojo:wagon-maven-plugin:1.0-beta-3:merge-maven-repos -Dwagon.source=file://E:\stage -Dwagon.target=scm:svn:http://testserver/

eclipse:eclipse generating wrong version of dynamic web app

2010-06-10 Thread David Sharp
Does anyone know how to tell the eclipse plugin for maven what webapp version to use? I have a web application that uses version 2.4, but when I generate the eclipse files, the dynamic web app facet is being set to 2.5. Thanks, Dave --- There are 10 types of people in the world, those that unders

FW: Glassfish issuses when testing RESTful web services

2010-06-10 Thread Martin Gainty
downloaded the 2.1 glassfish plugin from http://fisheye.ocean.net.au/browse/maven-glassfish-plugin/tags/maven-glassfish-plugin-2.1 i am unable to create a distro as i can view many compiler errors any ideas on who is currently maintaining the maven-glassfish-plugin would be appreciated? b

Re: optional jars and surefire

2010-06-10 Thread Uwe Schäfer
Johannes Schneider schrieb: Yes, as Anders told, it is a work around for "bad design" ;-) :) But you could create a test-module. Then move the tests that shall be run *without* optional modules to that module... sounds good, i´ll try, thanks. cu uwe -

Adding system property to inherited system property list in surefire?

2010-06-10 Thread Laird Nelson
Hello; one of my projects is inheriting a substantially-sized list of system properties from its parent pom's Surefire configuration. I'd like the project to augment this list by adding in another system property (that only makes sense for unit tests within this particular project). Is that possi

antrun appears not to support macrodef

2010-06-10 Thread Richard Halldearn
Hi, When using antrun like this: org.apache.maven.plugins maven-antrun-plugin 1.4 code generation

Re: optional jars and surefire

2010-06-10 Thread Johannes Schneider
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/10/2010 11:28 AM, Uwe Schäfer wrote: > Anders Hammar schrieb: >> You mean like moving that feature to a separate module? :-) >> That's the cleanest way you could do this. The 'optional' option is >> just a >> workaround for a bad design, IMO. >

Re: tools.jar and upload to central

2010-06-10 Thread Johannes Schneider
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/10/2010 11:08 AM, Wayne Fay wrote: >> No, it cannot be added to central. But you can add it to a repo in your own >> repository and it will then be possible to use internally in your corp. If > > I'm not so sure about that, Anders. And I don't t

Re: site-deploy: configured password is ignored

2010-06-10 Thread Lars Fischer
I found the reason: the sshd on the server used "PasswordAuthentication no". After switching to "yes" my maven config works fine. Regards, Lars 2010/6/10 Lars Fischer : > Hello > > i would like to deploy a mvn-site using scp with user/password. > > This is contained the settings.xml: > >  site >

Re: basic maven lifecycle - howto always last?

2010-06-10 Thread Anders Hammar
Nope, not possible. You can only bind to a specific phase and if you don't execute that phase you will not get the output. The only solution I can think of is some kind of script that executes maven twice, like this: mvn %1 mvn help:active-profiles /Anders On Thu, Jun 10, 2010 at 12:17, Adam Har

Re: basic maven lifecycle - howto always last?

2010-06-10 Thread Adam Hardy
I've changed my mind and want the active profile info to appear last, so that it's still visible on the console when mvn is finished. Is that possible? By looking at the lifecycle phases, it seems there is not a simple way to do it, since I might run any of compile, test, package or install.

Re: optional jars and surefire

2010-06-10 Thread Uwe Schäfer
Anders Hammar schrieb: You mean like moving that feature to a separate module? :-) That's the cleanest way you could do this. The 'optional' option is just a workaround for a bad design, IMO. as the feature is deeply woven into the regular code, this is unfortunately not possible. cu uwe --

site-deploy: configured password is ignored

2010-06-10 Thread Lars Fischer
Hello i would like to deploy a mvn-site using scp with user/password. This is contained the settings.xml: site aUser myPassword The pom.xml looks like this: [...] org.apache.maven.plugins maven-site-plugin 2.1.1 [...] [...] site scp://${scm.host}/srv/www/htdocs/ma

Re: tools.jar and upload to central

2010-06-10 Thread Wayne Fay
> No, it cannot be added to central. But you can add it to a repo in your own > repository and it will then be possible to use internally in your corp. If I'm not so sure about that, Anders. And I don't think you guys understand what he's asking. Johannes does not want to have Sun's tools.jar upl

Re: tools.jar and upload to central

2010-06-10 Thread Anders Hammar
No, it cannot be added to central. But you can add it to a repo in your own repository and it will then be possible to use internally in your corp. If you've set up a group which all users use, just add the repo that contains the tools artifact to that group and the users don't have to reconfigure

Re: Maven-assembly-plugin: outputFileNameMapping and ${artifact.*}

2010-06-10 Thread Andreas Sewe
Hi all, here's a report of my "progress" on this issue, in case others find it useful: The maven-assembly-plugin uses an ObjectBasedValueSource to evaluate ${artifact.*} expressions with respect to the artifact's MavenProject (among other things). You can thus access the artifact's properties

Re: tools.jar and upload to central

2010-06-10 Thread Johannes Schneider
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/09/2010 09:36 PM, Shan Syed wrote: > this is a Sun jar that's under a license that prevents it from being > available like that > > using system scope is an ok solution, but as stated elsewhere, hosting your > own repository is a great solution

Re: optional jars and surefire

2010-06-10 Thread Anders Hammar
You mean like moving that feature to a separate module? :-) That's the cleanest way you could do this. The 'optional' option is just a workaround for a bad design, IMO. /Anders On Thu, Jun 10, 2010 at 09:18, uwe schaefer wrote: > hi > > i have a project with optional jars. some source files comp

maven downloads snapshots even if they have not changed

2010-06-10 Thread Reto Höhener
Hi everybody We have the same Problems as described in these (unanswered) questions: http://maven.40175.n5.nabble.com/Snapshot-download-frequency-always-is-too-much-td89643.html http://maven.40175.n5.nabble.com/Dependencies-downloading-for-snapshot-in-Maven-2-0-5-and-up-td87906.html http://mave

Re: maven resources

2010-06-10 Thread Anders Hammar
I just noticed some weird spelling. It should be "...already be shipped with the jar OR provide it himself/herself?" On Thu, Jun 10, 2010 at 09:48, maven apache wrote: > 2010/6/10 Anders Hammar > > > Ok, I think you don't understand what I'm saying. Of course the files > are > > required in ru

Re: maven resources

2010-06-10 Thread maven apache
2010/6/10 Anders Hammar > Ok, I think you don't understand what I'm saying. Of course the files are > required in runtime, but should the user expect it to already be shipped > with the jar och provide it himself/herself? > Putting the xml files under test/resource will make them available in >

optional jars and surefire

2010-06-10 Thread uwe schaefer
hi i have a project with optional jars. some source files compile against them. i do not want to force this dependency onto the user, so he can choose wether to use a feature requiring these jars. when i run the surefire tests, the jars are included in the classpath. is there a way to rerun th

Re: maven resources

2010-06-10 Thread Anders Hammar
Ok, I think you don't understand what I'm saying. Of course the files are required in runtime, but should the user expect it to already be shipped with the jar och provide it himself/herself? Putting the xml files under test/resource will make them available in runtime when testing your server mod