Problems with property interpolation

2009-08-20 Thread Damon Silver
I've been trying unsuccessfully to get property interpolation to work in non-pom.xml files using maven 2.0.9 on WinXP Pro with maven-resources-plugin 2.3. What am I missing here? Any help would be much appreciated. Thanks, Damon Silver $ mvn -version Maven version: 2.0.9 Java version: 1.6.0_14

Re: list available versions of an artifact

2009-08-20 Thread Brian Fox
You could query the index via something like Nexus, it depends on exactly what you're trying to do. Something like: http://repository.sonatype.org/service/local/data_index?g=org.apache.maven&a=maven-core (which is how the ui works: http://repository.sonatype.org/index.html#nexus-search) On Thu,

Re: list available versions of an artifact

2009-08-20 Thread kpetrov
This plugin is used to generate sites...it seems like I would have to generate a site and parse HTML to get the version numbers. Is it the only way to achieve my goal? Stephen Connolly-2 wrote: > > you might get somewhere with the dependency-updates-report in versions- > maven-plugin > > Sent

Re: OSGi compatible dependencies

2009-08-20 Thread Barrie Treloar
On Wed, Aug 19, 2009 at 6:22 PM, Jörg Schaible wrote: > Barrie Treloar wrote at Mittwoch, 19. August 2009 10:15: > >> On Wed, Aug 19, 2009 at 5:32 PM, Lewis, Eric wrote: >>> Hi >>> >>> I know just a little bit about OSGi  :-) >>> >>> About 1) >>> This isn't possible, since the OSGi Manifest states

Re: list available versions of an artifact

2009-08-20 Thread Stephen Connolly
you might get somewhere with the dependency-updates-report in versions- maven-plugin Sent from my [rhymes with myPod] ;-) On 20 Aug 2009, at 23:06, kpetrov wrote: Is it somehow possible to list all the available versions of an artifact? smth like give me versions of artifact id bla of gr

list available versions of an artifact

2009-08-20 Thread kpetrov
Is it somehow possible to list all the available versions of an artifact? smth like give me versions of artifact id bla of group bla? i can create a pom for that if it matters -- View this message in context: http://www.nabble.com/list-available-versions-of-an-artifact-tp25070998p25070998.h

Re: Tomcat Maven Plugin doesn't seem to take webapps/META-INF/context.xml into account

2009-08-20 Thread Olivier Lamy
Hi, Try to use path configuration field in the deploy [1]. I usually use this. -- Olivier [1] : http://mojo.codehaus.org/tomcat-maven-plugin/deploy-mojo.html 2009/8/20 nodje : > > I'm trying to make use of context.xml with the Tomcat Maven Plugin. > > Whether I use tomcat:run or tomcat:deploy, i

maven crash on startup after safe-upgrade in debian squeeze

2009-08-20 Thread Jonathan E. Magen
Hello! I just ran a safe-upgrade on my Debian Squeeze machine and, unfortunately maven has now broken due to some Java packages being upgraded. The list of changes which took place before maven broke is as follows: The following NEW packages will be installed: fop{a} groovy{a} ivy{a} java-wrappe

[ANNOUNCE] Sonar 1.10 released

2009-08-20 Thread Olivier Gaudin
Sonar is an open source platform to manage Java source code quality. The Sonar Team is pleased to announce the release of Sonar 1.10. The new version manages 5 levels of priority on rules and associates a weight to each of them. It means that Rules Compliance Index not only is sharper, but can b

Re: XDoc and "&" in a URL...

2009-08-20 Thread BenoitX
Thanks. I do not have firebug installed but I just noticed that the bit;ly history does not seem to contain links created by the key (although it is kind of implied) but shows the links only for the last hour of people who clicked on them. It seems that replacing the & with &38; do the trick...

RE: issue with Hibernate 3 plugin creating H2 plugin in wrong location

2009-08-20 Thread Martin Gainty
use the absolute path of the module's local target dir so for example local target dir is C:/data/test then specify jdbc:h2:file:C:/data/test Martin Gainty __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht

Re: Jar Contents getting mixed up!

2009-08-20 Thread Benson Margulies
We've see this. KAV makes a horrible mess of mvn downloads. On Thu, Aug 20, 2009 at 9:51 AM, David Ellis wrote: > > > It is the PC running Maven that the AV software is running on yes, not the > nexus box.. > > David > > > > Anders Hammar wrote: >> >> Ok, thanks! >> So the AV software is running o

Re: Jar Contents getting mixed up!

2009-08-20 Thread David Ellis
It is the PC running Maven that the AV software is running on yes, not the nexus box.. David Anders Hammar wrote: > > Ok, thanks! > So the AV software is running on the PC executing Maven (not the server > hosting Nexus), right? > > /Anders > > On Thu, Aug 20, 2009 at 14:38, David Ellis >

Re: Tomcat Maven Plugin doesn't seem to take webapps/META-INF/context.xml into account

2009-08-20 Thread Wes Wannemacher
Did you try moving META-INF/context.xml to src/main/resources? -Wes On Thu, Aug 20, 2009 at 4:10 AM, nodje wrote: > > I'm trying to make use of context.xml with the Tomcat Maven Plugin. > > Whether I use tomcat:run or tomcat:deploy, it invariably deploys to a > context based on the pom's artifact

Re: issue with Hibernate 3 plugin creating H2 plugin in wrong location

2009-08-20 Thread Mick Knutson
Next, here is my issue piece by piece to get past the grinch. I have the following hibernate 3 plugin: ... hibernate3-maven-plugin ... hbm2hbmxml target/classes

issue with Hibernate 3 plugin creating H2 plugin in wrong location

2009-08-20 Thread Mick Knutson
first off, why does my post keep getting rejected as SPAM? --- 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/mic

Re: Jar Contents getting mixed up!

2009-08-20 Thread Anders Hammar
Ok, thanks! So the AV software is running on the PC executing Maven (not the server hosting Nexus), right? /Anders On Thu, Aug 20, 2009 at 14:38, David Ellis wrote: > > Hi Anders > > It is kaspersky anti-virus > > Thanks > David > > > Anders Hammar wrote: > > > > Could you share the name of th

Re: Jar Contents getting mixed up!

2009-08-20 Thread David Ellis
Hi Anders It is kaspersky anti-virus Thanks David Anders Hammar wrote: > > Could you share the name of the anti-virus software, please? > > /Anders > > On Thu, Aug 20, 2009 at 14:05, David Ellis > wrote: > >> >> Cracked it! >> >> We took a packet trace of maven downloading the dependenci

Re: Jar Contents getting mixed up!

2009-08-20 Thread Anders Hammar
Could you share the name of the anti-virus software, please? /Anders On Thu, Aug 20, 2009 at 14:05, David Ellis wrote: > > Cracked it! > > We took a packet trace of maven downloading the dependencies and found that > an HTTP GET for the sha1 checksum in the middle of the stream for the jar.. >

Re: Jar Contents getting mixed up!

2009-08-20 Thread David Ellis
Cracked it! We took a packet trace of maven downloading the dependencies and found that an HTTP GET for the sha1 checksum in the middle of the stream for the jar.. I turned off our anti-virus software and it fixed it! It turns out that it has some sort of http scanning capability, which was do

Re: XDoc and "&" in a URL...

2009-08-20 Thread Dominic Mitchell
On 19 Aug 2009, at 18:22, BenoitX wrote: Thanks for your email. There is more to it than what you think... Yes we are using bit.ly but the bit.ly APIs and the javascript way to shorten the current page on-the-fly. So that way StatCVS/StatSVN can put a Twitter button on any page and the curre

Re: Jar Contents getting mixed up!

2009-08-20 Thread David Ellis
Hi Brian BRIAN FOX-5 wrote: > > so it definately didn't come from Central. > The file is fine when I manually download it from Nexus. I have instances of other jars that are failing in the same way. BRIAN FOX-5 wrote: > > I'm also wondering if you have tried clearing (or moving) the local

Re: How does Maven handle multiple use of the same plugin in one POM?

2009-08-20 Thread Stephen Connolly
What you are doing is unsupported. In any one build section, you should only ever list a plugin once. That means that in /project/build/plugins/plugin (you can list once only in this section) /project/build/pluginManagement/plugins/plugin (you can list once only in this section) /project/profile

Re: Problem with updating non-unique snapshot versions of a plugin

2009-08-20 Thread Sven Preßler
hmm, interesting, thanks! I actually just deleted the metadata-local files in the remote repository, since your answer made me check for the file structure of other plugins in the remote repo... and now it's working, great! Thanks, Sven 2009/8/20 Stephen Connolly > 2009/8/20 Sven Preßler : > >

How does Maven handle multiple use of the same plugin in one POM?

2009-08-20 Thread Zdeněk Zikán
Hello world, I'm trying to understand how does Maven handle multiple usage of one plugin in the same POM file. I created an example POM file with executing maven-antrun-plugin few times: In default build block, there is echoed Hello A, B and C, in the profile1, there is echoed D, E, F. If I run $

Tomcat Maven Plugin doesn't seem to take webapps/META-INF/context.xml into account

2009-08-20 Thread nodje
I'm trying to make use of context.xml with the Tomcat Maven Plugin. Whether I use tomcat:run or tomcat:deploy, it invariably deploys to a context based on the pom's artifactId an not to the context path specified in the webapps/META-INF/context.xml. Has anyone met the issue? -- View this messa

RE: [MAVEN-2.1.0] Using site:deploy for Wagon-scp-exe is not successful.

2009-08-20 Thread subir.sasikumar
Thank You Brett!! Running an ssh-agent has solved the problem. Now I could see that upload happens with a wagonXXX.zip file. I have landed into *another problem* now: I am not sure what is making this to fail now. Why is Maven not able to unzip that wagon.zip file? Would you know

Re: Problem with updating non-unique snapshot versions of a plugin

2009-08-20 Thread Stephen Connolly
2009/8/20 Sven Preßler : > 2009/8/20 Stephen Connolly > >> 2009/8/12 Sven Preßler : >> > Hello, >> > >> > I'm currently using maven 2.0.9. >> > I've got a project X which uses a Plugin my-plugin with version >> > 1.0-SNAPSHOT. >> > How do I force maven to update this plugin from the repository, no

Re: Problem with updating non-unique snapshot versions of a plugin

2009-08-20 Thread Sven Preßler
2009/8/20 Stephen Connolly > 2009/8/12 Sven Preßler : > > Hello, > > > > I'm currently using maven 2.0.9. > > I've got a project X which uses a Plugin my-plugin with version > > 1.0-SNAPSHOT. > > How do I force maven to update this plugin from the repository, no matter > > what? > > I tried the f

Re: Problem with updating non-unique snapshot versions of a plugin

2009-08-20 Thread Stephen Connolly
2009/8/12 Sven Preßler : > Hello, > > I'm currently using maven 2.0.9. > I've got a project X which uses a Plugin my-plugin with version > 1.0-SNAPSHOT. > How do I force maven to update this plugin from the repository, no matter > what? > I tried the following: make some changes to the plugin, buil

Re: Problem with updating non-unique snapshot versions of a plugin

2009-08-20 Thread Sven Preßler
hmm, no response for a week, I guess that answers my question with 'no, no, yes'... 2009/8/12 Sven Preßler > Hello, > > I'm currently using maven 2.0.9. > I've got a project X which uses a Plugin my-plugin with version > 1.0-SNAPSHOT. > How do I force maven to update this plugin from the repos