Re: alternative deploy strategy

2012-08-29 Thread Manfred Moser
Hm.. if you are using Nexus Pro with the 2.1 release and the nexus staging maven plugin you get local creation of a staging bundle in the target folder and atomic upload to the repo .. which only happens after successful build including on multi module projects. I think this does what you want..

Re: alternative deploy strategy

2012-08-29 Thread Anders Hammar
If you want to bypass the Repo manager (normally what happens if you don't deploy through HTTP) you will also bypass authentication, authorization, and other good stuff that a repo manager helps you with. Don't do that! /Anders On Wed, Aug 29, 2012 at 6:17 AM, Max Spring m2spr...@springdot.org

Re: Build number incremented twice

2012-08-29 Thread Anders Hammar
As that is a Codehaus Mojo plugin, you be more lucky over at the Mojo users list [1]. /Anders [1] http://mojo.codehaus.org/buildnumber-maven-plugin/mail-lists.html On Tue, Aug 28, 2012 at 3:39 PM, Prashant prashantbhanda...@gmail.com wrote: Hi I am using the buildnumber-maven-plugin to

Maven Central Repo Sync : Not working since early August

2012-08-29 Thread Andy
Hi, a long time ago I arranged a sync between the repository I develop to http://www.datanucleus.org/downloads/maven2/ to be synced into Maven Central. Someone from the Maven team, Carlos IIRC, provided me with a ssh authorized_keys entry, for ma...@beaver.codehaus.org This was working for a

Re: Maven Central Repo Sync : Not working since early August

2012-08-29 Thread Anders Hammar
This is not likely a good mailing list for this. If it in fact was someone on the Maven team that helped you, you could try the dev list. But if it's a sync directly to Maven Central (which I doubt as you're talking about the beaver.codehaus.org server) you should file a JIRA ticket on Sonatype's

How to Sign a .par file through Maven

2012-08-29 Thread TarunKhandelwal
Hello Everyone, I am developing an application through Spring DM. So i have to create a package with .par extension. And for build automation i am using Maven. I am done with creating par file packaged with jar file but now i have to sign that .par file. I have tried with jarsigner plugin, but

Re: How to Sign a .par file through Maven

2012-08-29 Thread Brian Topping
Have you tried following the directions for signing a jar? What problems are occurring? If you want to add XML files, add them to the resources folder or add additional resources folders where the XML files are located. On Aug 29, 2012, at 11:06 AM, TarunKhandelwal tarunkhandelwa...@gmail.com

Re: How to Sign a .par file through Maven

2012-08-29 Thread TarunKhandelwal
Hello Brian, Yes I have tried all of that. Here is the sample pom. project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/POM/4.0.0

Re: How to Sign a .par file through Maven

2012-08-29 Thread Brian Topping
What specific problems did you have? This is not a tech support line. If you need paid support, you might want to contact Sonatype. On Aug 29, 2012, at 11:29 AM, TarunKhandelwal wrote: Hello Brian, Yes I have tried all of that. Here is the sample pom. project

Re: How to Sign a .par file through Maven

2012-08-29 Thread TarunKhandelwal
I am having problem with maven plugin. How to add external files while creating par file. I have read somewhere that with maven you can only add jar files through dependencies. So how to do that and another question how can i sign that par file through Maven. Feel free to clear doubts. Thanks,

Re: How to Sign a .par file through Maven

2012-08-29 Thread Brian Topping
These things don't happen at the same time. Have you looked at http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html yet? Plugins are attached to the lifecycle, plugins are the only thing that can do work in a maven build. The jar plugin expects that the folder

Re: How to Sign a .par file through Maven

2012-08-29 Thread Neeraj Kumawat
Hi Brian, I think problem is with the packaging, as when i change the packaging to jar i got all the resources specified in the jar file but when i am using par as packaging i am not getting any external file apart from the dependency specified. Thanks, Tarun Khandelwal -- View this message

Re: How to Sign a .par file through Maven

2012-08-29 Thread TarunKhandelwal
Hi Brian, Can you please elaborate what you meant because when i tried with packaging jar everything worked fine, but with par file its not working. Thanks, Tarun Khandelwal -- View this message in context:

Re: maven compiler plugin reports warnings as error

2012-08-29 Thread Sascha Vogt
Hi again, I did a few more tests, see the output below. Should I open a ticket for that? The output of 2.3.2 is [INFO] - [WARNING] COMPILATION WARNING : [INFO] - [WARNING]

RE: How to Sign a .par file through Maven

2012-08-29 Thread Martin Gainty
what is par file? what does a par file contain? This is the only description I could find http://www.fileinfo.com/extension/par If parchive is the native binary that creates par files and updates par files ..why not locate (or construct) a plugin that *wraps* parchive functionality Martin

Re: How to Sign a .par file through Maven

2012-08-29 Thread Thomas Broyer
On Wed, Aug 29, 2012 at 12:43 PM, TarunKhandelwal tarunkhandelwa...@gmail.com wrote: Hi Brian, Can you please elaborate what you meant because when i tried with packaging jar everything worked fine, but with par file its not working. It looks like the maven-par-plugin (hence par packaging) is

Re: How to Sign a .par file through Maven

2012-08-29 Thread Stephen Connolly
On 29 August 2012 14:14, Thomas Broyer t.bro...@gmail.com wrote: On Wed, Aug 29, 2012 at 12:43 PM, TarunKhandelwal tarunkhandelwa...@gmail.com wrote: Hi Brian, Can you please elaborate what you meant because when i tried with packaging jar everything worked fine, but with par file its

Re: maven compiler plugin reports warnings as error

2012-08-29 Thread Wayne Fay
I did a few more tests, see the output below. Should I open a ticket for that? What JDK are you using in each example? And yes, in general, if you think you have found a bug, you should open a ticket. It is especially nice if you can provide a patch to fix it as well. ;) Wayne

RE: alternative deploy strategy

2012-08-29 Thread Lyons, Roy
Actually, the command line tools for nexus do this. I guess the only gotcha is that it works with staging, and staging is only valid with release deployments, not with snapshot. Perhaps they can enhance the tool to do pseudo-staging for snapshots as well, with automatic promotion to the full

Re: alternative deploy strategy

2012-08-29 Thread Max Spring
I'm thinking of rsync'ing the local-remote repository to the machine running Nexus. Then I'd do the deploy via HTTP (localhost) which would avoid the wire. So, I'd preserve the auth. Keeping the copy of the local-remote repository around on the Nexus machine would improve the next build's

RE: alternative deploy strategy

2012-08-29 Thread Lyons, Roy
one word of caution here. I've employed rsync in the past. the only issue is maven-metadata.xml is not fixed up (and you have to exclude it from your rsync or you will royally mess it up)... you also have a bunch of other crap files which aren't used in the main repo... **/* .lastUpdated

Re: alternative deploy strategy

2012-08-29 Thread Max Spring
Indeed, this sounds like a promising approach. Thanks! -Max On 08/28/2012 11:47 PM, Manfred Moser wrote: Hm.. if you are using Nexus Pro with the 2.1 release and the nexus staging maven plugin you get local creation of a staging bundle in the target folder and atomic upload to the repo .. which

[Q] v3.0.3 exec-maven-plugin hanging

2012-08-29 Thread Hoying, Ken
I am hoping someone can assist me with a very strange problem that I am having trouble with. I have project with various modules that is structure, as follows: |--- project |--- pom.xml |--- ear |--- pom.xml |---

Re: Maven plugin: problem loading annotations

2012-08-29 Thread Thomas McDermott
For the benefit of anyone searching this mailing list due to a similar problem in future: My problem was due to using the wrong (default) classloader: ClassLoader loader = new URLClassLoader(urls); The issue was resolved by switching to: ClassLoader loader = new URLClassLoader(urls,

Re: [Q] v3.0.3 exec-maven-plugin hanging

2012-08-29 Thread Curtis Rueden
Hi Ken, Does anyone have any ideas? Just one: did you try hitting Ctrl+backslash (Ctrl+break on Windows) from the console after it hangs to get a full stack trace? If might be helpful when combined with a little digging in the Maven source code. Regards, -Curtis On Wed, Aug 29, 2012 at 12:59

Re: local repository

2012-08-29 Thread S Ahmed
Thanks, I found this (will test it tonight): mvn install:install-file -Dfile=c:\kaptcha-2.3.jar -DgroupId=com.google.code -DartifactId=kaptcha -Dversion=2.3 -Dpackaging=jar On Tue, Aug 28, 2012 at 10:59 PM, Wayne Fay wayne...@gmail.com wrote: I have a library that I have developed locally,

jdk for os 10.5.8

2012-08-29 Thread corvin1982
Hi can any one advise which jdk for os 10.5.8 / would be good to start with , im new to maven . and just starting out thanks // -- View this message in context: http://maven.40175.n5.nabble.com/jdk-for-os-10-5-8-tp5718790.html Sent from the Maven - Users mailing list archive at Nabble.com.

Re: How to Sign a .par file through Maven

2012-08-29 Thread TarunKhandelwal
Hi Thomas, Thanks for the information. I also went through that blog. Could you please tell me there's any way via i can i have .xml's also bundled with the .par file. The Structure i want is something like this. .par -- app.jar META-INF app.xml