Re: Sharing Maven-based project

2009-04-01 Thread Oliver Klein
1. Yes. 2. I'am not familiar with NEXUS ('cause we use Artifactory) and I don't know about your local repository. But the common steps would include to configure NEXUS as a mirror in your $HOME/.m2/settings.xml (or pom.xml) and then deploy artifacts to it. The following XML is the mirror

Re: [ANN] Maven Release Plugin 2.0-beta-9 Released

2009-04-01 Thread Jorg Heymans
(taking this back to the users list) On Wed, Apr 1, 2009 at 10:01 AM, Olivier Lamy ol...@apache.org wrote: 2009/4/1 Jorg Heymans jorg.heym...@gmail.com: On Wed, Apr 1, 2009 at 9:33 AM, Olivier Lamy ol...@apache.org wrote: Try mvn help:effective-pom I'm not sure the scm information is correct.

Dependency Plugin: understanding its output

2009-04-01 Thread Melanie S
When I run the dependency plug-in (mvn dependency:tree), I get an output such as the following: [INFO] (...) [INFO] [dependency:tree] [INFO] org.jboss.seam.example.seamspace:seamspace-ear:ear:1.0-SNAPSHOT [INFO] +- commons-digester:commons-digester:jar:1.8:compile [INFO] | \-

Re: [ANN] Maven Release Plugin 2.0-beta-9 Released

2009-04-01 Thread Olivier Lamy
2009/4/1 Jorg Heymans jorg.heym...@gmail.com: (taking this back to the users list) On Wed, Apr 1, 2009 at 10:01 AM, Olivier Lamy ol...@apache.org wrote: 2009/4/1 Jorg Heymans jorg.heym...@gmail.com: On Wed, Apr 1, 2009 at 9:33 AM, Olivier Lamy ol...@apache.org wrote: Try mvn

build error

2009-04-01 Thread Carlos Palop
Hi guys! Wen i try to package a project I get this error: [INFO] Scanning for projects... [INFO] [INFO] Building Maven Default Project [INFO]task-segment: [package] [INFO]

Re: Dependency Plugin: understanding its output

2009-04-01 Thread Mark Hobson
It means that the transitive version would have been 5.0.0.CR1 but 4.0.4 was explicitly asked for in the project's dependency management block. Mark 2009/4/1 Melanie S tech...@yahoo.com: When I run the dependency plug-in (mvn dependency:tree), I get an output   such as the following: [INFO]

Re: [ANN] Maven Release Plugin 2.0-beta-9 Released

2009-04-01 Thread Mark Hobson
2009/4/1 Olivier Lamy ol...@apache.org: No the release parent has correct information but not your child(s) pom(s) because if the child doesn't have any scm information they are inherited from the parent ! + your current project's artifactId Are there any plans to change this for Maven

RE: Checktyle report incomplete

2009-04-01 Thread John Coleman
Thanks, but I don't think that works Dennis. Here is a DOS example including the pmd:pmd goal. The result is not that the App1 class gets PMDed, instead the App.java class gets PMDed? The PMD doesn't have an expression for includes so I just tried the parameter name as suggested - I think that

default maven configuration

2009-04-01 Thread Naresh
Hi, I am using maven jar plugin as below with out specying includes or excludes.Some times it includes non .class files from target folder and .SVN folders in jar file.One observation is that if we have any changes locally (not in sync) with repository then issue is happening. By default what

Re: Code coverage reports Activating profile if (site) plug-in is run

2009-04-01 Thread Stevo Slavić
I must have asked a silly question, or ... Nevertheless, I'm taking another approach now, by trying to fix http://jira.codehaus.org/browse/MCOBERTURA-86 issue. To make the cobertura maven plug-in execute verify phase instead of test phase in cobertura lifecycle, I've created a new report mojo

RE: Update maven-metadata.xml

2009-04-01 Thread Jim McCaskey
Not really. I have deploy-file automated, so not sure how a UI would help me with that. Am I way off base here? Is Maven not designed to manage these repositories? I know the repository managers provide slick UI's to make a bunch of repositories look like one on site, and I have a

RE: Sharing Maven-based project

2009-04-01 Thread Brian E. Fox
We have some tools to help convert a local repo into a remote repo format: https://docs.sonatype.com/display/NX/Nexus+Command+Line+Tools -Original Message- From: HHB [mailto:hubaghd...@yahoo.ca] Sent: Tuesday, March 31, 2009 10:57 AM To: users@maven.apache.org Subject: Re: Sharing

[ANN] Flexmojos 3.1 Released

2009-04-01 Thread Jason van Zyl
Hi, Velo has been working hard over the last couple months in the Sonatype Forge on the next version of Flexmojos and it's now available. http://flexmojos.sonatype.org/ We did all the work for a client and they were happy to release it back to community under an Apache license. We have

filtering site resources?

2009-04-01 Thread Nord, James
I have some resources in src/site/resources/to_filter that I want to end up in the project site after filtering. I have added the following to the pom but the resources are copies without filtering. build filters filtersrc/main/filters/filter.propertiess/filter /filters resources

RE: [ANN] Maven Release Plugin 2.0-beta-9 Released

2009-04-01 Thread Todd Thiessen
I was pleased when I heard that there was a fix for the tags not working with svn in 1.5.1 bug [1]. I didn't look into the solution in great detail at first and I apologize for that. It is little difficult to look at everything all the time as I am sure you all are familiar with. I did take a

Re: [ANN] Flexmojos 3.1 Released

2009-04-01 Thread Geoffrey Wiseman
On Wed, Apr 1, 2009 at 10:06 AM, Jason van Zyl jvan...@sonatype.com wrote: Hi, Velo has been working hard over the last couple months in the Sonatype Forge on the next version of Flexmojos and it's now available. http://flexmojos.sonatype.org/ We did all the work for a client and they

RE: Update maven-metadata.xml

2009-04-01 Thread Brian E. Fox
Maven does yes, but if things get messed up via manual intervention or bugs in the deploy-file goal, then there's no way to systematically clean the metadata. -Original Message- From: Jim McCaskey [mailto:jim.mccas...@pervasive.com] Sent: Wednesday, April 01, 2009 9:51 AM To: 'Maven

RE: [ANN] Maven Release Plugin 2.0-beta-9 Released

2009-04-01 Thread Brian E. Fox
I agree completely, but until/unless the svn team fixes this major defect, there's not much we can do. (besides switch everyone to git ;-) ) -Original Message- From: Todd Thiessen [mailto:thies...@nortel.com] Sent: Wednesday, April 01, 2009 10:18 AM To: Maven Users List Subject: RE:

RE: [ANN] Maven Release Plugin 2.0-beta-9 Released

2009-04-01 Thread Todd Thiessen
Agreed. And keep some pressure on the svn community to fix the issue. I think it has gone under the svn radar for a while because of workarounds like this. I have not interfaced with the svn community myself so I am not practicing what I am preaching ;-). --- Todd Thiessen -Original

Re: [ANN] Maven Release Plugin 2.0-beta-9 Released

2009-04-01 Thread Graham Leggett
Todd Thiessen wrote: So if I understand remote tagging correctly, this means that a tag is taken off the trunk, not the working copy. You can't (to my knowledge) tag a working copy, that doesn't make any sense. Can you clarify? Regards, Graham -- smime.p7s Description: S/MIME

RE: [ANN] Maven Release Plugin 2.0-beta-9 Released

2009-04-01 Thread Todd Thiessen
Yes you can. See svn documentation: http://svnbook.red-bean.com/en/1.0/re07.html In particular, the WC - URL case. --- Todd Thiessen -Original Message- From: Graham Leggett [mailto:minf...@sharp.fm] Sent: Wednesday, April 01, 2009 10:47 AM To: Maven Users List Subject: Re:

java.lang.OutOfMemoryError: PermGen space problem

2009-04-01 Thread SRINIVASA RAO
Hi all,   When i run the mvn clean install -e command , it is getting the following error: java.lang.OutOfMemoryError: PermGen space maven   Could anybody please guide to solve this problem .   Regards, Sam

Re: java.lang.OutOfMemoryError: PermGen space problem

2009-04-01 Thread Nick Stolwijk
Yes, set your maven_opts to raise the memory for your java process. ie. export MAVEN_OPTS=-Xmx512M -XX:MaxPermSize=512M Hth, Nick Stolwijk ~Java Developer~ Iprofs BV. Claus Sluterweg 125 2012 WS Haarlem www.iprofs.nl On Wed, Apr 1, 2009 at 4:51 PM, SRINIVASA RAO srinivasv_amb...@yahoo.com

Re: [ANN] Maven Release Plugin 2.0-beta-9 Released

2009-04-01 Thread Graham Leggett
Todd Thiessen wrote: Yes you can. See svn documentation: http://svnbook.red-bean.com/en/1.0/re07.html In particular, the WC - URL case. You've posted the docs for the svn copy command, a tag only formally exists when you use the URL - URL case. In the case of the WC-URL case, as I read

RE: java.lang.OutOfMemoryError: PermGen space problem

2009-04-01 Thread Brian E. Fox
Use the MAVEN_OPTS env to bump up the memory. The contents of this variable are passed directly to your jdk. I forget the exact syntax for increasing the permgen, but I'm sure google knows. -Original Message- From: SRINIVASA RAO [mailto:srinivasv_amb...@yahoo.com] Sent: Wednesday,

RE: [ANN] Maven Release Plugin 2.0-beta-9 Released

2009-04-01 Thread Todd Thiessen
Not according to svn. http://svnbook.red-bean.com/en/1.1/ch04s06.html --- Todd Thiessen -Original Message- From: Graham Leggett [mailto:minf...@sharp.fm] Sent: Wednesday, April 01, 2009 10:58 AM To: Maven Users List Subject: Re: [ANN] Maven Release Plugin 2.0-beta-9 Released

Re: [ANN] Maven Release Plugin 2.0-beta-9 Released

2009-04-01 Thread Jochen Wiedmann
On Wed, Apr 1, 2009 at 1:23 PM, Mark Hobson markhob...@gmail.com wrote: 2009/4/1 Olivier Lamy ol...@apache.org: No the release parent has correct information but not your child(s) pom(s) because if the child doesn't have any scm information they are inherited from the parent ! + your current

RE: java.lang.OutOfMemoryError: PermGen space problem

2009-04-01 Thread Martin Gainty
Chris Hansen recommends use of the MarkandSweepGCCollector http://my.opera.com/karmazilla/blog/2007/03/13/good-riddance-permgen-outofmemoryerror Instruct JVM to use ConcurrentMarkSweep Collector -XX:+UseConcMarkSweepGCTell GC to sweep PermGen space -XX:+CMSPermGenSweepingEnabledrequest JVM to

RE: java.lang.OutOfMemoryError: PermGen space problem

2009-04-01 Thread SRINIVASA RAO
Hi   Thanks for repley.  When i put the following line into mvn.bat file, set MAVEN_OPTS=-Xmx512M -XX:MaxPermSize=512M   It is still giving the error.   regards, Sam --- On Wed, 4/1/09, Martin Gainty mgai...@hotmail.com wrote: From: Martin Gainty mgai...@hotmail.com Subject: RE:

Using Wagon SSH or SSH external with HOST BASED authenticaton?

2009-04-01 Thread Charlie Collins
I am not able to transfer files over SCP from a user/machine setup that is using host based authentication (note I am not talking about the host authentication can't be verified yes/no known_hosts issue, that's different - I am using host based authentication itself, not password, not

Re: Classloader issues with source files in an aggregate build

2009-04-01 Thread depstei2
We got around this issue by using a hacked version of the gwt maven plugin which uses classworlds and explicitly add any source jars with the scope of source to the classpath. This is good if you are using gwt, if you are using something else that needs source jars you might need to come up with

Re: Using Wagon SSH or SSH external with HOST BASED authenticaton?

2009-04-01 Thread Dan Tran
maven-2.1.0 has the latest wagon, see if it works for you. -D On Wed, Apr 1, 2009 at 8:16 AM, Charlie Collins charlie.coll...@gmail.com wrote: I am not able to transfer files over SCP from a user/machine setup that is using host based authentication (note I am not talking about the host

Re: build error

2009-04-01 Thread Wayne Fay
[INFO] The plugin 'org.apache.maven.plugins:maven-resources-plugin' does not exist or no valid version could be found Try mvn -U package and see if that resolves it. Wayne - To unsubscribe, e-mail:

Re: [ANN] Maven Release Plugin 2.0-beta-9 Released

2009-04-01 Thread Graham Leggett
Todd Thiessen wrote: Not according to svn. http://svnbook.red-bean.com/en/1.1/ch04s06.html That's the docs for tags, which part of those docs are you referring to specifically? Regards, Graham -- smime.p7s Description: S/MIME Cryptographic Signature

How to configure maven-idea-plugin to include/exclude directories?

2009-04-01 Thread David Hoffer
How can I configure maven-idea-plugin to allow target/generated-sources as IDEA source but disallow all others? Having target included by default seriously slows down IDEA when it finds new javadocs, etc. -Dave - To unsubscribe,

Re: [ANN] Maven Release Plugin 2.0-beta-9 Released

2009-04-01 Thread Daniel Kulp
On Wed April 1 2009 11:16:58 am Jochen Wiedmann wrote: On Wed, Apr 1, 2009 at 1:23 PM, Mark Hobson markhob...@gmail.com wrote: 2009/4/1 Olivier Lamy ol...@apache.org: No the release parent has correct information but not your child(s) pom(s) because if the child doesn't have any scm

axis:axis:1.4 vs. apache.org:axis:1.4 and saaj-.1.4.jar

2009-04-01 Thread David Weintraub
We recently ran into an issue in our project. Our project converts WSDL files into Java files and compiles them. To handle this, we use org.codehaus.mojo:axistools-maven-plugin:1.2. We also specify the dependencies on artifacts org.apache.axis:axis:1.4, org.apache.axis:axis-jaxrpc:1.4 in our

RE: [ANN] Maven Release Plugin 2.0-beta-9 Released

2009-04-01 Thread Todd Thiessen
The part where it says how to make a complex tag. ie: making a tag from a working copy. --- Todd Thiessen -Original Message- From: Graham Leggett [mailto:minf...@sharp.fm] Sent: Wednesday, April 01, 2009 12:10 PM To: Maven Users List Subject: Re: [ANN] Maven Release Plugin

Muddied plugin configurations when building multi-module

2009-04-01 Thread Blake Martin
I've discovered problems with two plugins (both from Codehaus) that become stale when run in a multi-module project. It seems that the plugins were not built with multi-module in mind. When I run the jasperreports and xdoclet plugins for the second time, they seem to retain some settings (or

Re: java.lang.OutOfMemoryError: PermGen space problem

2009-04-01 Thread Wayne Fay
When i put the following line into mvn.bat file, set MAVEN_OPTS=-Xmx512M -XX:MaxPermSize=512M It is still giving the error. Then bump the numbers higher until it stops giving the error. Did you really need to ask this question -- isn't it obvious?? Google for what Xmx and XX:MaxPermSize means

RE: filtering site resources?

2009-04-01 Thread EJ Ciramella
Yeah, we struggled with this too - and being forced to only use velocity properties was a deal breaker for us (all of our properties are in the foo.bar style). On a side project, I simply put site template files in the resources directory and process them to the src/site directory where I want

Manifest file classpath

2009-04-01 Thread solo1970
Hello All, Is there any way to change the filenames in the manifest classpath? Ex. more MANIFEST.MF Manifest-Version: 1.0 Archiver-Version: Plexus Archiver Created-By: Apache Maven Built-By: testuser Build-Jdk: 1.5.0_14 Main-Class: com.mnr.gui.MNRgui Class-Path:

Re: [ANN] Maven Release Plugin 2.0-beta-9 Released

2009-04-01 Thread Graham Leggett
Todd Thiessen wrote: The part where it says how to make a complex tag. ie: making a tag from a working copy. A complex tag refers to ways of making a snapshot of a specific working copy, quoting specifically which is an exact snapshot of your working copy—mixed revisions, URLs, and all.

RE: [ANN] Maven Release Plugin 2.0-beta-9 Released

2009-04-01 Thread Todd Thiessen
The part where it says how to make a complex tag. ie: making a tag from a working copy. A complex tag refers to ways of making a snapshot of a specific working copy, quoting specifically which is an exact snapshot of your working copy-mixed revisions, URLs, and all. Which is

Re: [ANN] Maven Release Plugin 2.0-beta-9 Released

2009-04-01 Thread Stephen Connolly
Has anybody tried switching from neon to serf as the repository access method??? I read on the svn list that 1.5.1+ WC-URL tagging for http/https repositories works with serf but not neon I have not been able to try this yet as it would mean recompiling my client. This is a client only setting

[ANN] Maven Eclipse Plugin 2.6 Released

2009-04-01 Thread Barrie Treloar
The Maven team is pleased to announce the release of the Maven Eclipse Plugin, version 2.6 This plugin is used to generate Eclipse IDE files (*.classpath, *.wtpmodules and the .settings folder) for use with a project. http://maven.apache.org/plugins/maven-eclipse-plugin/ You should specify the

RE: [ANN] Maven Release Plugin 2.0-beta-9 Released

2009-04-01 Thread Todd Thiessen
Consider your response acknowledged ;-). We may be moving to 1.6 soon (on the server side). Would a 1.6 client work with a 1.5 server? --- Todd Thiessen -Original Message- From: Stephen Connolly [mailto:stephen.alan.conno...@gmail.com] Sent: Wednesday, April 01, 2009 4:53 PM To:

Shade Plugin

2009-04-01 Thread Allan Ditzel
Hi, I'm trying to use the shade plugin to build a jar file that includes swf files from modules that are being built by a pom's parent. However, when I try to build (clean install) I get the following error: [ERROR] BUILD ERROR [INFO]

War packaging does not work with pom type dependency

2009-04-01 Thread David Hoffer
I have a multi-module maven build, where one of the modules is just a pom type that aggregates a bunch of dependencies. I reference this pom type module in two other modules. One of the other modules has jar packaging and it works fine, the other has war packaging and it gives errors when I do

Re: Shade Plugin

2009-04-01 Thread Brett Porter
That sounds like a bug, but also it wouldn't work the way you think. It shouldn't choke on the swf, it should really just ignore it. The plugin is not designed to also do the job of the assembly plugin. To work around the bug, try adding an artifactSet with excludes. To get the SWF into

Re: War packaging does not work with pom type dependency

2009-04-01 Thread David Hoffer
I figured this one out. It turns out it was the maven-dependency-plugin that was causing the error not the war plugin. -Dave On Wed, Apr 1, 2009 at 5:50 PM, David Hoffer dhoff...@gmail.com wrote: I have a multi-module maven build, where one of the modules is just a pom type that aggregates a

How to use maven-dependency-plugin to unpack-dependencies for 2 artifacts?

2009-04-01 Thread David Hoffer
I'm having problems figuring out how to configure the maven-dependency-plugin to unpack 2 separate dependencies. I have 3 executions, the first uses the copy-dependencies goal to copy a swf artifact, this seems to work. Then I have two executions each using unpack-dependencies goal; the first

Reporting Plugin's and OutOfMemoryException's

2009-04-01 Thread Andrew Hughes
Howdy, I consistently hit OutOfMemoryException's with site:site and require a solution. [INFO] [ERROR] FATAL ERROR [INFO] [INFO] Java heap space [INFO]

Re: Reporting Plugin's and OutOfMemoryException's

2009-04-01 Thread Wayne Fay
java.lang.OutOfMemoryError: Java heap space        at java.util.Arrays.copyOf(Arrays.java:2882)        at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:100) What about this makes you think checkstyle is to blame?        

Re: [ANN] Maven Eclipse Plugin 2.6 Released

2009-04-01 Thread linchongsu
hi,dear i found i can't run mvn clean eclipse:clean eclipse:eclipse -Declipse.addVersionToProjectName=true all right with version 2.6 the plugin generate the project with version,however ,it has not generate the dependency project with version? such as: projectDescription