Re: How to specify Java system properties via pom.xml in maven

2010-03-23 Thread Anders Hammar
The only way I know of is to provide this on the command line by, for example: mvn install -Dhttp.proxyHost=proxy -Dhttp.prosyPort=8080 Possibly there is a generic plugin for this that I don't know of, but there is no Maven core feature to have it inside the pom. However, some plugins have it's

running remote SSH command after scp via wagon to remote server

2010-03-23 Thread eyal edri
Hi, i'm using the rpm plugin 2.0.1 with the wagon plugin. everything works great, including scp to the remote yum server. i only need to run a remote command on the remote server i'm SCP'ing to. (the equivalent bash command: ssh yum.remote.com cd /target/dir;make) is it possible via the wagon

Version numbers and milestones

2010-03-23 Thread Lóránt Pintér
Hi, I am in doubt regarding what version numbers I should use for my product. There are two schemes I can think of right now: 1) 1.0-m1-SNAPSHOT - 1.0-m1 - 1.0-m2-SNAPSHOT - 1.0-m2 - 1.0-rc1-SNAPSHOT - 1.0-rc1 ... 2) 1.0-SNAPSHOT - 1.0-m1 - 1.0-SNAPSHOT - 1.0-m2 - 1.0-SNAPSHOT - 1.0-rc1 ... If

Re: Version numbers and milestones

2010-03-23 Thread Aleksey Didik
Hello. In my projects I use second variant. It's makes only one trouble for me, when I have to remember the name of the last milestone version I have released already and what will be the next :) By my logic, you always develop snapshot of version 1.0 (for example). Not 1.0-m1, not 1.0-m2.

How to build a complicated artifact (an install CD iso image)

2010-03-23 Thread Fredrik Israelsson
Dear All, I am trying to migrate a CruiseControl/Ant/Bash project to Maven. The final artifact that I want to be the output of the system is a CD iso image with jars, resources and start scripts, all packaged in a certain structure. Is there some convenient way to make Maven do this for me,

AW: How to build a complicated artifact (an install CD iso image)

2010-03-23 Thread Entner Harald
Hi, I would suggest the maven assembly plugin. [1] Details on its configuration [2] [1] http://maven.apache.org/plugins/maven-assembly-plugin/ [2] http://maven.apache.org/plugins/maven-assembly-plugin/assembly.html -Ursprüngliche Nachricht- Von: Fredrik Israelsson

Re: Version numbers and milestones

2010-03-23 Thread Lóránt Pintér
Thanks, this is what I was thinking, too. Can I also get an official nod that this won't backfire at some point which I cannot think about right now, please? Lóránt On Tue, Mar 23, 2010 at 10:40, Aleksey Didik di...@magenta-technology.ru wrote: Hello. In my projects I use second variant.

Re: Version numbers and milestones

2010-03-23 Thread Jörg Schaible
Hi Lóránt, Lóránt Pintér wrote at Dienstag, 23. März 2010 10:21: Hi, I am in doubt regarding what version numbers I should use for my product. There are two schemes I can think of right now: 1) 1.0-m1-SNAPSHOT - 1.0-m1 - 1.0-m2-SNAPSHOT - 1.0-m2 - 1.0-rc1-SNAPSHOT - 1.0-rc1 ... 2)

Re: Version numbers and milestones

2010-03-23 Thread Lóránt Pintér
At this point I cannot see why I would mix SNAPSHOT and final versions of my artifacts as dependencies. (This is a standalone product, the only things depending on it are our tools that create test databases etc.) Apart from this, is there any danger in using the 2) scheme, i.e. always having

Re: Version numbers and milestones

2010-03-23 Thread Lóránt Pintér
Another question: what should be service releases be called? 1.0.sr1? 1.0-sr1? 1.0.1? Lóránt 2010/3/23 Lóránt Pintér lorant.pin...@gmail.com: At this point I cannot see why I would mix SNAPSHOT and final versions of my artifacts as dependencies. (This is a standalone product, the only things

Re: [surefire, TestNG] Specify a suite / xml file on command line

2010-03-23 Thread wujek.srujek
Hi, I noticed this question I posted some time ago and as it doesn't have any answers and I found a way to do it, I thought I would post it for others: suppose you have TestNG suite files: all.xml, hsql.xml, oracle.xml and by default (for example in Hudson) you want all.xml suites to be run,

Error transferring file / ignoring sssl certificates ?

2010-03-23 Thread Reto Bachmann-Gmür
Hello On a bsd machine I'm getting this error, on linux things work fine [WARNING] repository metadata for: 'snapshot org.apache.clerezza:org.apache.clerezza.parent:0.2-incubating-SNAPSHOT' could not be retrieved from repository: apache-snapshots due to an error: Error transferring file the

Read project version from pom

2010-03-23 Thread Qureshi,Shahzad [Ontario]
Hi all, I would like the ability to read the project's version number from pom in my java code as I need to insert that version number in the text file I generate as a result of my code. I am NOT writing a maven plugin but a standalone java project that uses maven as a build/dependency system

Re: Read project version from pom

2010-03-23 Thread Michael O'Cleirigh
Hi Shahzad, There is a way to write the project version as a manifest property when the jar is created by maven. I saw this example today which would be how to do it: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-jar-plugin/artifactId configuration archive indextrue/index

Re: Read project version from pom

2010-03-23 Thread Carr, Brian M
The individual Specification-_ entries are redundant if you set addDefaultSpecificationEntries to true. __ Brian M. Carr Identity and Access Management ITS Applications University of Texas at Austin V: 512-232-6419 F: 512-471-5746 brianmc...@austin.utexas.edu On

Re: Read project version from pom

2010-03-23 Thread Jesse Farinacci
Hi Shahzad, On Tue, Mar 23, 2010 at 10:58 AM, Qureshi,Shahzad [Ontario] shahzad.qure...@ec.gc.ca wrote: I would like the ability to read the project's version number from pom in my java code as I need to insert that version number in the text file I generate as a result of my code. I am NOT

Maven 2.2.1 and Release plugin 2.0 issue

2010-03-23 Thread Jonathan Ducharme
Hello, I'm trying to make a release using the maven-release-plugin. I'm doing a mvn release:clean release:prepare and I get this stack trace : [INFO] [ERROR] FATAL ERROR [INFO]

Re: Building standalone jars

2010-03-23 Thread Manos Batsis
Wayne Fay wrote: I guess my general question is: How do you build standalone executable jars that don't depend on other jars moving along with them? Shade plugin. It is also very easy to do with the uberjar plugin http://maven.apache.org/maven-1.x/plugins/uberjar/

Re: Building standalone jars

2010-03-23 Thread Jan T. Kim
On Tue, Mar 23, 2010 at 04:38:32AM +, Ron Wheeler wrote: Everyone should be used to using Classes that are grouped into libraries. yes -- that's what I require adding jars to my classpath for. Jan T. Kim wrote: Dear All, I need to build a standalone executable jar and have the

Re: Maven 2.2.1 and Release plugin 2.0 issue

2010-03-23 Thread Brett Porter
Do you have any extensions related to the SCM providers, or modified your install? On 24/03/2010, at 2:46 AM, Jonathan Ducharme wrote: Hello, I'm trying to make a release using the maven-release-plugin. I'm doing a mvn release:clean release:prepare and I get this stack trace : [INFO]

Re: JXR Plugin Status

2010-03-23 Thread Dennis Lundberg
On 2010-03-22 21:52, relphie wrote: I have created 3 new issues and attached patches: Thanks, I'll have a look at them when I get some time for it. (Add implements to keyword filter) http://jira.codehaus.org/browse/JXR-81 (Add linenumber class to generated line number anchors)

Re: Maven repository for org.apache.tomcat:jdbc-pool:jar:1.0.8.5

2010-03-23 Thread Dennis Lundberg
I suggest that you ask on one of the Tomcat mailing lists. They are responsible for putting their artifacts into a repo. On 2010-03-23 01:52, Viv Kapadekar wrote: Hi I would like to use the jdbc-pool artifact from org.apache.tomcat dependency

multi-company branching/release conundrum

2010-03-23 Thread Brian C. Dilley
Scenario: I work for a company that manages many SCM repositories and many maven 2 projects. Each of these companies have their own code base and maven repositories and share a few (10-12) maven projects in an SCM that all of the companies have access to. Currently each company has their

Release plugin 2.0 and gpg plugin 1.0 - passphrase prompting fails

2010-03-23 Thread Kathryn Huxtable
My POM is set up exactly as desired by Sonatype for releasing to their OSSRH repository, described in http://nexus.sonatype.org/oss-repository-hosting.html except that I'm using version 2.0 of the release plugin and 1.0 of the gpg plugin. I don't get prompted for my signing passphrase

Re: multi-company branching/release conundrum

2010-03-23 Thread Ron Wheeler
Brian C. Dilley wrote: Scenario: I work for a company that manages many SCM repositories and many maven 2 projects. Each of these companies have their own code base and maven repositories and share a few (10-12) maven projects in an SCM that all of the companies have access to.

Re: global filter on multi-modules project

2010-03-23 Thread Nick Klauer
Hey Aymeric, Did you ever find a solution to this? I can see how this might be a sticking point in a project or two in our team, so if you do find something or hear back from anyone else, let us (maven user group) know. -Nick On Wed, Mar 17, 2010 at 5:01 AM, Aymeric Alibert

Re: Error transferring file / ignoring sssl certificates ?

2010-03-23 Thread Reto Bachmann-Gmür
solved the problem by replacing diablo-jdk1.6.0/jre/lib/security/cacerts with the file from my linux machine. reto On Tue, Mar 23, 2010 at 3:10 PM, Reto Bachmann-Gmür m...@farewellutopia.com wrote: Hello On a bsd machine I'm getting this error, on linux things work fine [WARNING] repository