Re: maven release plugin issue

2009-05-05 Thread Stephen Connolly
no, I'm suggesting that you use the dependency plugin to unpack your jar for you. That way you will not care if it has not beein installed into the repository *yet* 2009/5/4 huser mpinj...@atxg.com I am fairly new to maven. So I guess I need a plugin to copy the abc-interface-api.jar to my

[release/scm] Can system locale change release:prepare behavior ?

2009-05-05 Thread Paul MERLIN
Hey, I posted this one to dev@ by mistake, here it is again to us...@. I'm facing weird problems with the maven-release-plugin and friends. I use maven-release-plugin-2.0-beta-9 and get the same results with either maven 2.1.0 or 2.2.0-RC1. I tried with two subversion clients with the same

Re: Automagically update scm tag

2009-05-05 Thread Baptiste MATHUS
Well, not many answers. I guess I'll file an improvement request. I think I'm going to put it into the maven-scm-plugin tracker ( http://jira.codehaus.org/browse/SCM). What do you think? Cheers. 2009/5/4 Baptiste MATHUS m...@batmat.net Hi all, I'm looking for a simple a quick way to update

Re: Automagically update scm tag

2009-05-05 Thread Baptiste MATHUS
Filed: http://jira.codehaus.org/browse/SCM-468 Tchüss. 2009/5/5 Baptiste MATHUS m...@batmat.net Well, not many answers. I guess I'll file an improvement request. I think I'm going to put it into the maven-scm-plugin tracker ( http://jira.codehaus.org/browse/SCM). What do you think?

AW: Automagically update scm tag

2009-05-05 Thread Mark Struberg
Hi Baptiste! It isn't clear to me what you mean with 'update tag'. Do you like to re-tag in the SCM? LieGrue, strub - Ursprüngliche Mail Von: Baptiste MATHUS m...@batmat.net An: Maven Users List users@maven.apache.org Gesendet: Dienstag, den 5. Mai 2009, 09:34:51 Uhr Betreff:

Re: Automagically update scm tag

2009-05-05 Thread Stephen Connolly
I think he wants to update the scm section in the pom to match what is displayed from svn info 2009/5/5 Mark Struberg strub...@yahoo.de Hi Baptiste! It isn't clear to me what you mean with 'update tag'. Do you like to re-tag in the SCM? LieGrue, strub - Ursprüngliche Mail

Re: Automagically update scm tag

2009-05-05 Thread Baptiste MATHUS
Exactly. I don't want this new goal to try and commit anything. Just retrieve the svn info output from the working copy and update scm connection and developerConnection accordingly. I guess there could an option to update connection, developerConnection or both with the retrieved value. For

Re: Automagically update scm tag

2009-05-05 Thread Stephen Connolly
You'd probably also want to update the url providing that it follows an identified rule, since moste viewsvn equivalents follow a path rule in their uri, this should not be a big issue 2009/5/5 Baptiste MATHUS m...@batmat.net Exactly. I don't want this new goal to try and commit anything. Just

Re: Automagically update scm tag

2009-05-05 Thread Baptiste MATHUS
I just discovered that subtag of scm :). Well, then yes. Although you'd have to provide some viewscm root url to start from. 2009/5/5 Stephen Connolly stephen.alan.conno...@gmail.com You'd probably also want to update the url providing that it follows an identified rule, since moste viewsvn

Re: maven 2.1.0 not passing on system properties to java virtual machine

2009-05-05 Thread raisercostin
I don't think is a problem in either maven or surefire plugin. Else the surefire is behaving differently. It looks like now, when surefire forks the jvm, will not take all the system properties from the parent jvm. That's why you should pass whatever system properties you want for the tests,

Re: Automagically update scm tag

2009-05-05 Thread Stephen Connolly
I'm assuming that there is a valid url already present and that the url matches the same code as linked by the connection and developerConnection... so all you need to do is get the common trailing part and update it to match the changes to the connection and developerConnection urls 2009/5/5

Re: [release/scm] Can system locale change release:prepare behavior ?

2009-05-05 Thread Baptiste MATHUS
I already had this kind of problem. From what I remember, I just removed all the localization files from the subversion installation directory. Actually, I think that the maven-scm-api reads the output of the CLI, and it doesn't understand when it doesn't display the output in english... Cheers.

Re: Error transferring file: repo1.maven.org, Repository 'central' will be blacklisted

2009-05-05 Thread Andrea Libero Valori
Thanks for reply, I omitted that if maven run as a super-user task all works correctly, and so was with normal-user runs until a few days ago, when suddenly (and without any evident cause) maven was no more able to perform builds as a normal-user... The problem isn't vital, because I can do

Re: [release/scm] Can system locale change release:prepare behavior ?

2009-05-05 Thread Paul MERLIN
Le mardi 05 mai 2009 11:09:37, Baptiste MATHUS a écrit : I already had this kind of problem. From what I remember, I just removed all the localization files from the subversion installation directory. Actually, I think that the maven-scm-api reads the output of the CLI, and it doesn't

Re: Error transferring file: repo1.maven.org, Repository 'central' will be blacklisted

2009-05-05 Thread Andrea Libero Valori
False alarm, the second build was made without 'sudo'. Under root all works correctly. Sorry.

Re: Error transferring file: repo1.maven.org, Repository 'central' will be blacklisted

2009-05-05 Thread Andrea Libero Valori
Update: now root-builds do not work anymore. first it succesfully created a camel-service-unit then the Error transferring file: repo1.maven.org problem raised again, but this time under root. I continue to not understand why: Here is the mvn commands output: Thanks again, Andrea /* service-unit

Re: Error transferring file: repo1.maven.org, Repository 'central' will be blacklisted

2009-05-05 Thread Nick Stolwijk
I am not sure, but when you run as root, doesn't maven take the settings.xml from /root/.m2/settings.xml and when not as root from ~/.m2/settings.xml. Maybe there is a difference between those files? Hth, Nick Stolwijk ~Java Developer~ Iprofs BV. Claus Sluterweg 125 2012 WS Haarlem

RE: Apache snapshot repository metadata incorrect.

2009-05-05 Thread Nord, James
Thanks Brian. /James Thanks for finding that. It's been fixed now. The old repo had some junk versions that were being proxied. It's been cleaned out. We schedule daily cleanups of the snapshots, leaving behind 3 copies for a minimum of 10 days, the snapshots are removed when a

maven-assembly-plugin

2009-05-05 Thread Karrys, Michael (IS)
Maven Users Is there a way to specify what goes on the Classpath that is created by the Archive tag when using the jar-with-dependencies descriptor? I want to add some *.xml configuration files to the classpath so I can find them when the application starts. Mike Karrys

Providing external jar file as part of a larger project

2009-05-05 Thread Bruno Harbulot
Hello, Is there a way to provide a jar file that is not available in a Maven repository as part of a multi-module project? For example, if in a multi-module project (groupId=example,artifactId=exampleroot), a sub-module (groupId=example,artifactId=mainapp) depends on a jar that's not

Maven password encryption and usage in a CI server

2009-05-05 Thread Olivier Dehon
Hi, I was reading about the recent enhancements to the management of server passwords in settings.xml at http://maven.apache.org/guides/mini/guide-encryption.html A few questions arose around the actual security provided by these enhancements in the context of a build/CI server. Agreed, this is

Re: unable to deploy site with webdav

2009-05-05 Thread Michael K.
Hello Ross, I have the same problem as you had. Did you get resolve the problem? I would appreciate your help. Kind regards, Michael rossputin wrote: Hi, I am using maven 2.0.9, and everything is working great except for site deployment with webdav. I have not tried any other kind

DefaultMavenProjectBuilder throws NPE

2009-05-05 Thread Amarnath Palavalli
Hello, I am using the Maven Project jar 2.1.0. I get the following exception when I use it: Exception in thread main java.lang.NullPointerException at org .apache .maven.project.ProjectUtils.buildArtifactRepository(ProjectUtils.java: 115) at org .apache .maven

RE: unable to deploy site with webdav

2009-05-05 Thread Martin Gainty
Ross- which container are you attempting to upload to ? Martin __ Disclaimer and Confidentiality/Verzicht und Vertraulichkeitanmerkung / Note de déni et de confidentialité This message is confidential. If you should not be the intended receiver,

Re: Maven password encryption and usage in a CI server

2009-05-05 Thread Brian Fox
You are correct. If someone is able to read the maven code and find the default password, decrypt the master password, then they could decrypt the user password. It's also decrypted on the wire if you aren't using https with your repos. The trick with a build server is to make a special

RE: unable to deploy site with webdav

2009-05-05 Thread Michael K.
Hello Martin, I try to upload to the apache-webserver 2.2. I've configured webdav as described in the httpd.conf and the httpd-dav.conf. I tested it via windows web folder and it works fine. Michael mgainty wrote: Ross- which container are you attempting to upload to ? Martin

Maven2 javadoc warnings report

2009-05-05 Thread Joe .
Hi, I'm trying to move from maven 1 to maven 2, but I've noticed that I no longer get the javadoc warnings report generated. Is there any way to get this report from maven 2 (additional plugin perhaps?). Cheers, Joe - To

Retrieving current revision from SCM

2009-05-05 Thread Allan Ditzel
Hi all, I'm trying to do the following: We're using subversion and we need to extract the revision number of the working copy and put that in a properties file. Is there an existing plugin available to do this? I looked at the documentation for the SCM plugin and it doesn't seem to quite fit the

Re: Retrieving current revision from SCM

2009-05-05 Thread Olivier Lamy
Hi, Have a look here : http://mojo.codehaus.org/buildnumber-maven-plugin/ HTH, -- Olivier 2009/5/5 Allan Ditzel allan.dit...@gmail.com: Hi all, I'm trying to do the following: We're using subversion and we need to extract the revision number of the working copy and put that in a properties

Re: release:perform of an EAR gives error with maven-source-plugin:2.1

2009-05-05 Thread Martin Höller
On Thursday 30 April 2009 Martin Höller wrote: The question I now have is, why is source:jar mojo executed at all? According to the lifecycle reference [1] this mojo shouldn't be executed (for packaging EAR). How can I deactivate this mojo? The release-profile seems to introduce the m-source-p

Re: Retrieving current revision from SCM

2009-05-05 Thread Allan Ditzel
Thanks Olivier! That _almost_ does it. If I don't specify format and items then I see the correct revision printed on screen when the module builds. But I can't seem to find the right format and items to read the buildNumber in the file. Here is what I have in my configuration block for the

prevent absolute file path in project assembly

2009-05-05 Thread REMIJAN, MICHAEL J [AG/1000]
I'm trying to use the assembly plugin with the project descriptorId and when I run this the zip file it creates contains the absolute directory on my file system to the project - in the zip file is c:\an\absolute\path\to\my\project How do I configure the plugin to only have the project

Re: Maven2 - Where to put script files?

2009-05-05 Thread Blackbird
I've put a file in this directory, ran mvn clean install, but the script file isn't copied anywhere in target. What am I supposed to do after adding a file to src/main/scripts? Nick Stolwijk-4 wrote: If you take a look at the superpom [1] you'll see there is a default script directory:

Re: [PLEASE TEST] Maven 2.2.0-RC2

2009-05-05 Thread Paul MERLIN
Hey, I had no issue building my projects. release:prepare is working but release:perform is not (see the trace below). I switched to 2.1.0 right after that and the release:perform went well. I'm using the javasvn scm provider here but I get the same error using the native one. /Paul

Re: Maven2 - Where to put script files?

2009-05-05 Thread Nick Stolwijk
To put the files in src/main/scripts is the convention. It is then up to the plugins to do something with them. Which plugin did you expect to take your files? Hth, Nick Stolwijk ~Java Developer~ Iprofs BV. Claus Sluterweg 125 2012 WS Haarlem www.iprofs.nl On Tue, May 5, 2009 at 5:34 PM,

Re: [PLEASE TEST] Maven 2.2.0-RC2

2009-05-05 Thread Baptiste MATHUS
+1. Just noticed the same problem while mvn releasing a multimodule project. The rest is fine (mvn clean deploy is ok). Cheers. 2009/5/5 Paul MERLIN p...@nosphere.org Hey, I had no issue building my projects. release:prepare is working but release:perform is not (see the trace below). I

Re: Managing Modified Dependencies

2009-05-05 Thread daniel.green
Anders Hammar wrote: In any case, the two important things I think are to keep the original groupId and artifactId I run into the sticky situation that not all of those are known. The person that wrote the previous versions of the poms (that I'm currently renovating) stored everything

Maven and Blaze Advisor?

2009-05-05 Thread Wendy Smoak
Is anyone doing anything with Maven and Blaze Advisor? (The company used to be Fair Isaac, now it's FICO.) http://www.fico.com/en/Products/DMTools/Pages/FICO-Blaze-Advisor-System.aspx I'm not that familiar with it, but apparently there is some build time processing to be done, and I just

Re: Managing Modified Dependencies

2009-05-05 Thread Nick Stolwijk
If you still have the original jar, you can do an md5sum search on Sonatype Repository [1] or else a classname search on the same repository with one of the original classes. [1] http://repository.sonatype.org/index.html Hth, Nick Stolwijk ~Java Developer~ Iprofs BV. Claus Sluterweg 125 2012

RE: prevent absolute file path in project assembly

2009-05-05 Thread CORUM, M E [AG/1000]
There are two other configuration files that you'll want to investigate besides your pom for assemblies. I usually have a /main/assembly directory with a component.xml and then an assembly descriptor file. If you can't get what you need from this URL

site deploy SiteToolException: Error parsing site descriptor

2009-05-05 Thread L. J.
We start getting this error today. Anyone know what causes this error? [INFO] [ERROR] BUILD ERROR [INFO] [INFO] SiteToolException: Error parsing site

Re: Managing Modified Dependencies

2009-05-05 Thread daniel.green
Fantastic! Thank you :-) Strange, I'm using the GNU coreutils md5sum program, but I'm not getting any search results for the checksum... $ md5sum apache/commons-dbcp.jar 590f45b612433a50665bc4f369fc77d0 apache/commons-dbcp.jar I've tried it with others too... Does the filename affect the

Re: Managing Modified Dependencies

2009-05-05 Thread Nick Stolwijk
Filename should not affect the checksum. You could take a look at the META-INF directory inside the jar file. Sometimes there is also a version number there. With regards, Nick Stolwijk ~Java Developer~ Iprofs BV. Claus Sluterweg 125 2012 WS Haarlem www.iprofs.nl On Tue, May 5, 2009 at 9:13

Re: site deploy SiteToolException: Error parsing site descriptor

2009-05-05 Thread Nick Stolwijk
Take a look at your site descriptor. (src/site/site.xml) It should follow the decorations schema [1] It looks like yours start with html instead of project. [1] http://maven.apache.org/doxia/doxia-sitetools-1.0.x/doxia-decoration-model/decoration.html Hth, Nick Stolwijk ~Java Developer~

Re: Retrieving current revision from SCM

2009-05-05 Thread Lachlan Deck
I've been using this: plugin groupIdorg.codehaus.mojo/groupId artifactIdbuildnumber-maven-plugin/artifactId version1.0-beta-1/version executions execution phasevalidate/phase goals

Create dependencies between Maven 2 and JBoss, JBoss-Seam

2009-05-05 Thread bpmfouka
Hi, I am working on EJB3 with JBoss and also to spread that JBoss-Seam, I am searching solution to solve this situation which create dependencies on JBoss server and JBoss-Seam in order to deploy and run my application with last server. What are there possibility? I hope to obtain help at this

test data location question

2009-05-05 Thread Pete Siemsen
This is a basic question about how to run Java unit tests that require file names. I use maven to develop a program that reads an input file names from the command line. It's working fine, but now I want to share the code with someone else. The test programs live in ../src/test/java, and

RE: Retrieving current revision from SCM

2009-05-05 Thread Andrei Solntsev
Allan, In our company we also need to know exact revision number of each file in project. The proposed buildnumber doesn't suit well, we need exactly revision numbers! We have created a custom version of maven-scm-plugin which supports this feature. I am going to commit patch to maven-scm

Re: test data location question

2009-05-05 Thread Jeff MAURY
You should store your files under src/test/resources and load your files using getResourceAsStream Regards Jeff MAURY On Tue, May 5, 2009 at 11:37 PM, Pete Siemsen siem...@ucar.edu wrote: This is a basic question about how to run Java unit tests that require file names. I use maven to

mvn classpath weirdness with eclipse plugin

2009-05-05 Thread Davis Ford
Hi, I've been using mvn for a lot of years now, but I've just encountered a bizarre issue that I have no explanation for. I am having trouble with the following dependencies dependency groupIdaspectj/groupId artifactIdaspectjrt/artifactId

Re: Retrieving current revision from SCM

2009-05-05 Thread Allan Ditzel
Thanks, everyone! We were finally able to get the resources filtered in our war pom, and the version is now being inserted into a properties file. Thanks again! Allan On Tue, May 5, 2009 at 5:46 PM, Andrei Solntsev asolnt...@hireright.eewrote: Allan, In our company we also need to know

Re: [maven-eclipse-plugin] We need your help to test the future 2.7

2009-05-05 Thread Barrie Treloar
Anything else? Should we start the release process again then? - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org

Surefire report

2009-05-05 Thread Kenny Ha
Hi all, I want to build a surefire report test unit and performance, so I config surefire plugin like this : [...] reporting plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-surefire-report-plugin/artifactId reportSets reportSet

Re: unable to deploy site with webdav

2009-05-05 Thread Brett Porter
500 errors will show up in the Apache error log which might help you nail down the problem. You might also try Maven 2.1.0 and the wagon-webdav-jackrabbit 1.0- beta-5 wagon as an alternative if you are still having problems. Cheers, Brett On 06/05/2009, at 12:00 AM, Michael K. wrote:

How to use maven to gather all (or some) dependent jar files

2009-05-05 Thread Steve Lihn
Hi, When maven builds a project, it figures out all the dependent jar files, adds them to the classpath, produces the project's jar file under target/. My question is -- is there a way to ask maven also puts all (or some) those dependent jar files under target/ too. The origin of the issue is

RE: How to use maven to gather all (or some) dependent jar files

2009-05-05 Thread Andrei Solntsev
Hi Steve, There is a simple answer: mvn dependency:copy-dependencies Please refer to http://maven.apache.org/plugins/maven-dependency-plugin/ Andrei Solntsev, Software Developer HireRight Estonia AS -Original Message- From: Steve Lihn [mailto:stevel...@gmail.com] Sent: Wednesday,

deploy:deploy Hangs in Release

2009-05-05 Thread Harper, Brad
While performing a deployment from the release plugin, I see [INFO] [INFO] [install:install] [INFO] [INFO] Installing C:\eclipse-workspaces\...\x.war to C:\...\.m2\repository\com\...\x.war [INFO] [INFO] Installing C:\eclipse-workspaces\...\x-sources.jar to

Re: Maven password encryption and usage in a CI server

2009-05-05 Thread Brett Porter
Even removing permissions may not help since anyone that can write a unit test to read that file. If you give Maven access to deploy, you give anyone with access to write code for that project to know the credentials to deploy with. As Brian said the best thing to do here is to use a CI