Encryption for SCM password?

2009-08-14 Thread KURT TOMETICH
Is there a way to encrypt the SCM password used in configuration of the SCM plugin? I've been able to use a clear text password in my settings file, but when I try to use a Maven encrypted password it doesn't seem to be able to decrypt it on the fly. From checking out the source code for the

RE: Maven java.lang.OutOfMemoryError

2009-08-14 Thread Sammaiah Nagapuri
Thanks alexander Thanks Regards Sammaiah Nagapuri Inaction breeds doubt and fear. Action breeds confidence and courage. If you want to conquer fear, do not sit home and think about it. Go out and get busy. -Original Message- From: Alexander [mailto:the.malk...@gmail.com] Sent:

RE: Hibernate 3 Plugin

2009-08-14 Thread Johann Reyes
Hello Neil I think the problem is it doesn't find the persistence.xml because it isn't the standard META-INF/persistence.xml as per the hibernatools documentation: https://www.hibernate.org/hib_docs/tools/reference/en/html/ant.html jpaconfiguration will simply just try and auto-configure itself

SCM plugin password encryption

2009-08-14 Thread KURT TOMETICH
I feel like I must be missing something because I have yet found a way to encrypt my SCM password in my Maven POM. I am using the maven release plugin and need to use some credentials on the CI server, but I don't want to store the password in clear text. Is there a way to encrypt the

Re: How to add SYSTEM scope dependency to manifest?

2009-08-14 Thread Brett Randall
If you can't or won't follow the advice to install the artifact into a repository manager, then simply use install-file to install it to your local repo, the change the scope to compile. Best Brett On 8/13/09, REMIJAN, MICHAEL J [AG/1000] michael.j.remi...@monsanto.com wrote: There are many

animal-sniffer on central?

2009-08-14 Thread Julien HENRY
Hi, I'm following the guide: http://maven.apache.org/guides/mini/guide-building-jdk14-on-jdk15.html The issue is I can't find animal-sniffer on the central Maven repository. I think it would be easier for users to have it on central repo. Or at least update the guide to tell that the

RE: SCM plugin password encryption

2009-08-14 Thread Andrei Solntsev
We just need to add this feature to maven-scm-plugin. We could use maven-sql-plugin as an example, it can read encrypted DB password in the same manner as repository credentials. Andrei Solntsev, Software Developer, HireRight Estonia -Original Message- From: KURT TOMETICH

Re: SCM plugin password encryption

2009-08-14 Thread Mark Struberg
please create a jira! I'll try to go over a few scm issues this weekend, maybe I have time for this too. LieGrue, strub - Original Message From: Andrei Solntsev asolnt...@hireright.ee To: Maven Users List users@maven.apache.org Sent: Friday, August 14, 2009 9:23:28 AM Subject:

Re: animal-sniffer on central?

2009-08-14 Thread Stephen Connolly
This is correct, in fact we got kohsuke added as a m...@codehaus developer so that he could publish animal sniffer through the mojo.codehaus.org project (among other reasons). I know Kohsuke is has a different perspective w.r.t. whether the current policy of central (i.e. that all artifacts

Re: SCM plugin password encryption

2009-08-14 Thread Stephen Connolly
can you not put your password in a property defined in your ~/.m2/settings.xml file and then reference that property in your scm config section? that way you can change the permissions on your ~/.m2/settings.xml file to make it only readable by yourself (unless you are using FAT/FAT32 as your

Re: SCM plugin password encryption

2009-08-14 Thread Mark Struberg
can you not put your password in a property defined in your ~/.m2/settings.xml file and then reference that property in your scm config section? Writing passwords into poms is surely always a dirty hack and using the private settings.xml is a good point indeed. But on a CI server, the CI user

Project and external file Deployment?

2009-08-14 Thread Jan Wedel
Hi, I was just wondering how I can configure Maven to deploy a whole project, e.g. a web application that needs other war files to also be deployed on the server as well as probable configuration files. Is it possible to copy other projects jar/war files together with the projects war

RE: Hibernate 3 Plugin

2009-08-14 Thread Johann Reyes
Hello Neil I think the problem is it doesn't find the persistence.xml because it isn't the standard META-INF/persistence.xml as per the hibernatools documentation: https://www.hibernate.org/hib_docs/tools/reference/en/html/ant.html jpaconfiguration will simply just try and auto-configure itself

Re: Project and external file Deployment?

2009-08-14 Thread Mark Struberg
what about using an EAR? LieGrue, strub - Original Message From: Jan Wedel jan.we...@ettex.de To: users@maven.apache.org Sent: Friday, August 14, 2009 11:26:03 AM Subject: Project and external file Deployment? Hi, I was just wondering how I can configure Maven to deploy

beginner problem

2009-08-14 Thread Sammaiah Nagapuri
Hi thanks for giving the prompt reply for my first question. Here my another problem is If I run the normal command like 'mvn archetype:create' I am getting the following console output which is showing unable to create the project. See the following one. I am running this command in offline

AW: RE: AW: Re: AW: Re: Maven for Non-Java Projects

2009-08-14 Thread Jan Wedel
Hi, I recently did not receive any Mails from the list..so I'm answering now. Vincent, this sounds very interesting! Yesterday, I tried hours to compile the example program bundled with the nar plugin and got strange errors about not having specified any include files...but the project does

animal-sniffer and cobertura issues

2009-08-14 Thread Julien HENRY
Hi, I'm testing animal-sniffer with my build. All was fine until I tried to generate the site. First, it seems that animal-sniffer is executed a lot of times during site generation. And worst is it is failing on Cobertura instrumented classes : [INFO] Checking unresolved references to

Re: beginner problem

2009-08-14 Thread Aleksey Didik
Hello Sammaiah, You have started maven in offline mode in first case. And maven wrote about it in log. Reason: System is offline. ... *NOTE: Maven is executing in offline mode. Any artifacts not already in your local repository will be inaccessible.* When you start maven

Re: Project and external file Deployment?

2009-08-14 Thread Anders Hammar
Do you want to do this as part of your integration tests? Or is it for the actual deployment (to prod servers)? In the latter case Maven would not be the typical tool as it is a build tool. In the first case there are several plugins, one being the generic cargo plugin

javadoc plugin aggregation woes

2009-08-14 Thread Sam Barnett-Cormack
Hi all, My first maven project, plain JavaSE. I want to build javadoc jars, independent of any site - I'm trying to get that working as well, but for now I'm considering them separately. For organisation purposes, I've split my work into several projects, which I've now made modules of a

AW: Re: Project and external file Deployment?

2009-08-14 Thread Jan Wedel
Thanks, I think the Cargo plug-in looks quite like what I was looking for! -Ursprüngliche Nachricht- Von: Anders Hammar [mailto:and...@hammar.net] Gesendet: Freitag, 14. August 2009 12:51 An: Maven Users List Betreff: Re: Project and external file Deployment? Do you want to do this as

Re: RE: AW: Re: AW: Re: Maven for Non-Java Projects

2009-08-14 Thread Rémy Sanlaville
Hi Jan, Rémy, Do you also use it for Perl? Perl also uses a lot of libraries (.pm files e.g.) and even perl make scripts sometimes. I couldn't find any maven plugin supporting perl projects. Do you have any idea if this is possible? No we haven't try it and I am not aware about perl

Broken by design

2009-08-14 Thread Jan Wedel
Hi, while I was searching for a Perl plugin for maven, I found this link in interesting discussion: http://fishbowl.pastiche.org/2007/12/20/maven_broken_by_design/ Since this is quite old, I guess this was already discussed on this list. I am interested if there are solutions for the

Re: javadoc plugin aggregation woes

2009-08-14 Thread David Hoffer
This works for us, try this in your parent pom: build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-javadoc-plugin/artifactId version2.5/version

RE: Broken by design

2009-08-14 Thread Todd Thiessen
I can remember other colleagues telling my Damn, I spend the last day resolving a maven problem Before Maven, I would spend just as much, if not more time, fighting with builds. As for the link you provided, I think there is some truth to it. But in my view the pros far out way the

RE: Broken by design

2009-08-14 Thread Todd Thiessen
We have had some problems with build reproduciblity though. But it was because of downloading artifacts. Sorry... I meant so say here... It was NOT because of downloading artifacts... Bah. Friday morning... Brain is still not in gear ;-).

Re: animal-sniffer and cobertura issues

2009-08-14 Thread Stephen Connolly
bind animal sniffer to a phase after test, that way it will not be executed in the forked lifecycle 2009/8/14 Julien HENRY henr...@yahoo.fr: Hi, I'm testing animal-sniffer with my build. All was fine until I tried to generate the site. First, it seems that animal-sniffer is executed a lot

Re: javadoc plugin aggregation woes

2009-08-14 Thread Stephen Connolly
you might also want to separate aggregation from inheritance and have the parent pom depend on the child poms, thereby ensuring that the build plan is correct. 2009/8/14 David Hoffer dhoff...@gmail.com: This works for us, try this in your parent pom: build                plugins              

Re: javadoc plugin aggregation woes

2009-08-14 Thread Stephen Connolly
sorry i'll correct that... you might also want to separate aggregation from inheritance and have the aggregator pom depend on the child poms, thereby ensuring that the build plan is correct. 2009/8/14 Stephen Connolly stephen.alan.conno...@gmail.com: you might also want to separate aggregation

Re: javadoc plugin aggregation woes

2009-08-14 Thread Sam Barnett-Cormack
Stephen Connolly wrote: sorry i'll correct that... you might also want to separate aggregation from inheritance and have the aggregator pom depend on the child poms, thereby ensuring that the build plan is correct. Yeah, I'm feeling that... my plan now is to have the modules, say: project-a

Re: javadoc plugin aggregation woes

2009-08-14 Thread Sam Barnett-Cormack
David Hoffer wrote: This works for us, try this in your parent pom: build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-javadoc-plugin/artifactId

Re: javadoc plugin aggregation woes

2009-08-14 Thread Stephen Connolly
2009/8/14 Sam Barnett-Cormack s.barnett-corm...@lancaster.ac.uk: Stephen Connolly wrote: sorry i'll correct that... you might also want to separate aggregation from inheritance and have the aggregator pom depend on the child poms, thereby ensuring that the build plan is correct. Yeah, I'm

Re: javadoc plugin aggregation woes

2009-08-14 Thread Sam Barnett-Cormack
So the one doing the aggregating would have the modules section *and* have the dependencies? When I've done that and set the parent in each module, it's complained of cyclic dependencies. Stephen Connolly wrote: 2009/8/14 Sam Barnett-Cormack s.barnett-corm...@lancaster.ac.uk: Stephen

Re: javadoc plugin aggregation woes

2009-08-14 Thread Stephen Connolly
so to summarize: /project-complete +- project-parent +- project-a +- project-b ... \- project-e project-complete has the following project parent artifactIdproject-parent/artifactId /parent artifactIdproject-___/artifactId modules moduleproject-parent/module

Re: javadoc plugin aggregation woes

2009-08-14 Thread Stephen Connolly
SEPARATE aggregation FROM inheritance... otherwise you will get cyclic 2009/8/14 Sam Barnett-Cormack s.barnett-corm...@lancaster.ac.uk: So the one doing the aggregating would have the modules section *and* have the dependencies? When I've done that and set the parent in each module, it's

Re: javadoc plugin aggregation woes

2009-08-14 Thread Sam Barnett-Cormack
Ah. Exactly what I meant, but with the names complete and parent the other way around. With the names your way around, the source and javadoc aggregators would go in where? Stephen Connolly wrote: so to summarize: /project-complete +- project-parent +- project-a +- project-b ... \-

Re: javadoc plugin aggregation woes

2009-08-14 Thread Stephen Connolly
my understanding of aggregate is that it has to go where the modules ( by implication the dependencies) are 2009/8/14 Sam Barnett-Cormack s.barnett-corm...@lancaster.ac.uk: Ah. Exactly what I meant, but with the names complete and parent the other way around. With the names your way around, the

Re: javadoc plugin aggregation woes

2009-08-14 Thread Stephen Connolly
project parent artifactIdproject-parent/artifactId /parent artifactIdproject-___/artifactId modules moduleproject-parent/module moduleproject-a/module moduleproject-b/module ... moduleproject-e/module /modules dependencies dependency

Re: javadoc plugin aggregation woes

2009-08-14 Thread Stephen Connolly
damn copy-pase project  parent   artifactIdproject-parent/artifactId  /parent  artifactIdproject-complete/artifactId  modules   moduleproject-parent/module   moduleproject-a/module   moduleproject-b/module   ...   moduleproject-e/module  /modules  dependencies    dependency    

Re: javadoc plugin aggregation woes

2009-08-14 Thread Sam Barnett-Cormack
Stephen Connolly wrote: my understanding of aggregate is that it has to go where the modules ( by implication the dependencies) are Ah, I see! I got the separation slightly wrong. I've got you now, that's great. So everything is a module of complete, and a dependency of it, but a-e declare

Re: javadoc plugin aggregation woes

2009-08-14 Thread Sam Barnett-Cormack
David Hoffer wrote: This works for us, try this in your parent pom: When running this, does it need site:site running to build the javadoc before running a build that'll generate the jar? build plugins plugin

Re: disclaimer of warranty license issue with artifact downloads?

2009-08-14 Thread Benson Margulies
Create a plugin and tell people that they must configure it as an 'extension', and make it do the click-through thing. On Thu, Aug 13, 2009 at 10:15 PM, Jeff Jensenjeffjen...@upstairstechnology.com wrote: Interesting option...thanks for the idea.  A little bit more packaged than download the

Re: javadoc plugin aggregation woes

2009-08-14 Thread David Hoffer
No any call to install or deploy will build it. This isn't required but we do wrap the build section in a profile so we only do this on the CI system...as this takes a while. -Dave On Fri, Aug 14, 2009 at 7:40 AM, Sam Barnett-Cormack s.barnett-corm...@lancaster.ac.uk wrote: David Hoffer

Re: javadoc plugin aggregation woes

2009-08-14 Thread David Hoffer
I might add, we do also run site-deploy which takes the javadocs and adds to the site generated. -Dave On Fri, Aug 14, 2009 at 8:21 AM, David Hoffer dhoff...@gmail.com wrote: No any call to install or deploy will build it. This isn't required but we do wrap the build section in a profile so

Re: javadoc plugin aggregation woes

2009-08-14 Thread Sam Barnett-Cormack
David Hoffer wrote: No any call to install or deploy will build it. This isn't required but we do wrap the build section in a profile so we only do this on the CI system...as this takes a while. Well, that works very well for putting the aggregated javadoc on the generated site (once I

Re: javadoc plugin aggregation woes

2009-08-14 Thread David Hoffer
I don't know about running from the command line...we have our CI system auto deploy javadocs/source jars to our internal repo so IDE's get this integrated with the binaries. This is the functionality I was looking for. -Dave On Fri, Aug 14, 2009 at 8:29 AM, Sam Barnett-Cormack

Re: javadoc plugin aggregation woes

2009-08-14 Thread Sam Barnett-Cormack
David Hoffer wrote: I don't know about running from the command line...we have our CI system auto deploy javadocs/source jars to our internal repo so IDE's get this integrated with the binaries. This is the functionality I was looking for. Well, I'm getting the website combined javadocs, and

Dependency broke

2009-08-14 Thread Jes Andersen
After upgrading debian lenny my maven2 broke with: Exception in thread main java.lang.NoClassDefFoundError: org/codehaus/plexus/embed/Embedder (full trace etc below) Tried it with: sun java 6 openjdk java sun java 5 gjc java tried downgrading: libplexus-interactivity-api from (1.0-alpha-6-4)

Encryption for SCM password?

2009-08-14 Thread KURT TOMETICH
Is there a way to encrypt the SCM password used in configuration of the SCM plugin? I've been able to use a clear text password in my settings file, but when I try to use a Maven encrypted password it doesn't seem to be able to decrypt it on the fly. From checking out the source code for the

Re: Encryption for SCM password?

2009-08-14 Thread Anders Hammar
http://www.sonatype.com/people/2009/03/maven-210-released/ * * On Fri, Aug 14, 2009 at 17:10, KURT TOMETICH boomtow...@msn.com wrote: Is there a way to encrypt the SCM password used in configuration of the SCM plugin? I've been able to use a clear text password in my settings file, but when I

Re: RE : AW: RE: AW: Re: AW: Re: Maven for Non-Java Projects

2009-08-14 Thread Rémy Sanlaville
Hi Vincent, Thanks for your interesting feedback. I have some more questions : - Are your patches applied in the trunk of the nar plugin ? - Is the nar plugin works well also for other phase than compile (for instance, test phase) ? If yes, which unit test framework are you using

Re: animal-sniffer on central?

2009-08-14 Thread Kohsuke Kawaguchi
I'll request a sync of org.jvnet.* to central. Stephen Connolly wrote: This is correct, in fact we got kohsuke added as a m...@codehaus developer so that he could publish animal sniffer through the mojo.codehaus.org project (among other reasons). I know Kohsuke is has a different

Maven release plugin issue

2009-08-14 Thread Enguerrand Dibanda
Hello everyone, i have an issue when trying to release from the hudson CI tool. The releasing works fine until the deployment to the repository where it fails with the following error: ---snip--- [INFO] [INFO] [deploy:deploy {execution: default-deploy}] [INFO]

Re: Broken by design

2009-08-14 Thread herve . boutemy
I must admit the download the internet effect is true: everybody can see it when running Maven for the first time on a computer. Is that really a problem? IMHO no: - for personal use, this is done only once (and my ADSL line is fine) - for corporate use, a repository manager is really welcome,

Re: Broken by design

2009-08-14 Thread Gordon Cody
Download from the internet was one of my biggest fear as well as versions of underying poms/jars could change which would affect reproducibilty. Additiionally, download from internet could mean you might not be able to build at all if some external site cound not be reached or someone else

Re: Maven release plugin issue

2009-08-14 Thread Kalle Korhonen
The keystore/some root certificates are not available to the JVM. Are you running Hudson as the same user as you logged on and run the release successfully? Also the same came up before, see

Re: Maven repo reverse dependency search

2009-08-14 Thread gautam . tandon
Hi Luke. Yes, I believe this could be because the repository is still being built. However I did do a search for all dependencies with regex *scala* and it returned me 296 results including some scalaplugin related jars. I hope that's what you were looking for? You might want to try

Mysterious error on site:site

2009-08-14 Thread Sam Barnett-Cormack
At least, it's a mystery to me. To someone who knows what's going on, it probably makes perfect sense. The following is the end of the output of 'mvn site' on my aggregator. I've no idea what this from parameter it's talking about is. Am I being dumb? [INFO]

Re: javadoc plugin aggregation woes

2009-08-14 Thread Sam Barnett-Cormack
Ah, switch the aggregator to do aggregate-jar and it all works now (afaict). Nice. Sam Barnett-Cormack wrote: David Hoffer wrote: I don't know about running from the command line...we have our CI system auto deploy javadocs/source jars to our internal repo so IDE's get this integrated with

Re: Mysterious error on site:site

2009-08-14 Thread Sam Barnett-Cormack
Further note: this happened when I added the following (host address edited): urlhttp://host.domain.co.uk/~sdb/maven/${project.artifactId}/url to the *parent* POM. I comment it out, it's all fine. I call this weird, but would love an explanation. Sam Barnett-Cormack wrote: At least, it's a

Please remove me

2009-08-14 Thread Jeffrey N Hagelberg
Hi, As much as I enjoy getting the emails from this list every day, I would really like to get off of it. I've tried sending an email to users-unsubscr...@maven.apache.org, to users-unsubscribe-jnhagelb=us.ibm.com, users-unsubscribe-jnhagelberg=us.ibm.com. As far as I can tell, these emails

Re: Please remove me

2009-08-14 Thread Brett Porter
Done. On 14/08/2009, at 6:50 PM, Jeffrey N Hagelberg wrote: Hi, As much as I enjoy getting the emails from this list every day, I would really like to get off of it. I've tried sending an email to users-unsubscr...@maven.apache.org, to users-unsubscribe-jnhagelb=us.ibm.com,

Can I reference a dependency artifactId in a POM?

2009-08-14 Thread Ryan Jaeb
Hi, I'm wondering if there's a way in Maven 2 to reference the artifactId of a dependency that was used for a build. For example, I have a flex module with: finalName${project.artifactId}-r${build.vcs.number}/finalName It produces an artifactId like: my-flex-ui-1.0-SNAPSHOT-r12345 I'm