Re: Broken mvn site

2010-05-19 Thread Stephen Connolly
no variables in /project/parent/groupId /project/parent/artifactId /project/parent/version /project/groupId /project/artifactId /project/version is the policy you are refering to... which is to ensure that the project model can be constructed from the pom.xml that has no impact on using varibles

Re: Use profile to define property which is used in another profile activation

2010-05-19 Thread Stephen Connolly
profile activation by properties is activation by _SYSTEM_PROPERTIES_ (i.e. -Dname=value on the CLI) so properties defined in the pom will never trigger the profile activation. so profile b being active will never trigger profile A. -Stephen On 19 May 2010 16:48, sebb wrote: > A profile (A) c

Re: Which Jira to use for items concerning the Apache Common Parent POM?

2010-05-19 Thread Anders Hammar
If you don't get an answer here, try the dev list. /Anders On Wed, May 19, 2010 at 23:08, Marshall Schor wrote: > Hi, > > I've posted earlier about a couple of possible improvements to the > Apache Common Parent POM - used by Apache projects [1]. > > I'd like to add some Jira issues for these,

Re: should be an easy Filtering question?

2010-05-19 Thread Dean Hiller
My original example is based off that page below(the longer snippet of xml below has it), and that is not working at all :(. thanks, Dean On Wed, May 19, 2010 at 2:27 PM, Moll, Jeff wrote: > Try this page is you have not done so yet, this may be more helpful than > the previous example I passed

Re: AW: How to create a report based on annotations

2010-05-19 Thread Wayne Fay
> to customize your Maven site. But I want to know how to write a > sophisticated report plugin. Pick a sophisticated report or two that you like. If it is open source, get the source code. If it is not open source, pick a different one. Using the source code, build your own sophisticated report p

Which Jira to use for items concerning the Apache Common Parent POM?

2010-05-19 Thread Marshall Schor
Hi, I've posted earlier about a couple of possible improvements to the Apache Common Parent POM - used by Apache projects [1]. I'd like to add some Jira issues for these, but I was unable to determine what Jira system to use. Does anyone know the right Jira to use for this? -Marshall Schor [1]

RE: should be an easy Filtering question?

2010-05-19 Thread Moll, Jeff
Try this page is you have not done so yet, this may be more helpful than the previous example I passed along assuming you are using the war-plug-in. http://maven.apache.org/plugins/maven-war-plugin/examples/adding-filteri ng-webresources.html -Jeff -Original Message- From: dean.hil...@gma

Re: Ear Plugin Version 5 issue

2010-05-19 Thread Stephane Nicoll
Sorry I don't understand. Can you create an issue and attach a project that reproduce the problem? On Tue, May 18, 2010 at 4:00 PM, Wale12 wrote: > > I changed the > > . > > to > > ${basedir} > > No difference in my build though. > > Thanks. > > C. > > > Wale12 wrote: > > > > I go into the maven

Re: should be an easy Filtering question?

2010-05-19 Thread Dean Hiller
This question should be really easyI would assume even novices would know the answer here?? Any takersplease I would really like to get this working. On Wed, May 19, 2010 at 11:46 AM, Dean Hiller wrote: > I am missing just one more thing. The doc here > http://maven.apache.org/gui

Anyone have experience using maven with Aldon Lifecycle Manager

2010-05-19 Thread Gordon Cody
Has anyone on the list had to integrate maven with the Aldon Lifecycle Manager ? Any experiences to share ? -Regards Gord Cody

[ANN] FEST JavaFX Compiler Maven Plug-in 1.0b2 released!

2010-05-19 Thread Alex Ruiz
Greetings, I'm happy to announce that the FEST JavaFX Compiler Maven Plug-in 1.0b2 is out. This version allows compilation of JavaFX test sources. More details (including an example on how to use it) can be found at http://alexruiz.developerblogs.com/?p=1197 Cheers, -Alex

Re: Broken mvn site

2010-05-19 Thread Benson Margulies
Doesn't the new 'no variables in versions' policy in mvn 3 make this situation, ahem, even more difficult? Or doesn't that policy apply to plugin version elements in the reporting section. In defense of the OP: he followed a published official example that was actively misleading. I for one think

Re: Broken mvn site

2010-05-19 Thread Wendy Smoak
On Wed, May 19, 2010 at 1:05 PM, Tim Fulmer wrote: >  Even though the current documentation on configuring reporting shows a > plugin management configuration.  The solution was to spam a version > configuration across 20 some odd POM files.  I'm sure we missed a few. What docs were you looking

Re: Broken mvn site

2010-05-19 Thread Tim Fulmer
Yeah, realized that just after hitting send. Sorry about that. It's just a little frustrating cause I'm not sure what to do. Usually I can hack the source code and figure something out, but honestly with this one I don't know where to start. Again, sorry if I pissed anyone off. Maven is a grea

Re: java.lang.OutOfMemoryError: Java heap space in Wagon

2010-05-19 Thread Ron Wheeler
Thank you. That was it and I am back on the build binge again. Only 20 more projects to deploy. :-) Ron On 19/05/2010 12:44 PM, Richard Seddon wrote: M2Eclipse doesn't launch the external Maven with mvn.bat. You can set the heap options in the "JRE" tab of the Maven launch configuration.

Re: Broken mvn site

2010-05-19 Thread Lukas Theussl
Thanks! -Lukas Anders Hammar wrote: I'm pretty sure you're close to pissing some people off. "why hasn't this been fixed yet" and "When is it going to be fixed" is not the right wording for open source projects where you're not shipping in anything yourself. Creating jiras and providing patch

Re: maven-plugin-api com.thoughtworks.qdox.parser.ParseException: syntax error

2010-05-19 Thread Kaeptenblaubaer
Hi I m also facing the same issue . Where you able to solve your issue? -- View this message in context: http://old.nabble.com/maven-plugin-api-com.thoughtworks.qdox.parser.ParseException%3A-syntax-error-tp23874877p28612065.html Sent from the Maven - Users mailing list archive at Nabble.com.

Re: Broken mvn site

2010-05-19 Thread Anders Hammar
I'm pretty sure you're close to pissing some people off. "why hasn't this been fixed yet" and "When is it going to be fixed" is not the right wording for open source projects where you're not shipping in anything yourself. Creating jiras and providing patches (with test cases) is the way to go. /A

Re: move folder from res to res${BUILD_NUMBER} easy Filtering problem...

2010-05-19 Thread Dean Hiller
I am missing just one more thing. The doc here http://maven.apache.org/guides/getting-started/index.html#How_do_I_filter_resource_files is about slipping in property files oddly enough not about filtering out files(I just want to exclude one folder during the build). I see the some properti

Re: Maven filtering adding backslashes into Windows file paths?

2010-05-19 Thread Laird Nelson
On Wed, May 19, 2010 at 12:47 PM, Jamie Whitehouse < jamie.whiteho...@alcatel-lucent.com> wrote: > I think you want to be using a maven-resources-plugin that's version > 2.4.1 or greater, see MRESOURCES-100 and MRESOURCES-106. > Thank you; that did it. Best, Laird

RE: move folder from res to res${BUILD_NUMBER} easy Filtering problem...

2010-05-19 Thread Moll, Jeff
Make sure you have the resource filtering turned on. By default it is not so you will need something like this: src/main/resources true -Original Message- From: dean.hil...@gma

Re: Child dependencies listed in parent pom failure to download

2010-05-19 Thread Wendy Smoak
On Wed, May 19, 2010 at 12:13 PM, Conrad CRAMPTON PSE 52704 wrote: > the repository http://repository.jboss.com/maven2/org/drools/ has all the > necessary dependencies listed in the drools pom. There is no specific jar > file for drools but the pom just lists all the other child module > depen

RE: Maven filtering adding backslashes into Windows file paths?

2010-05-19 Thread Jamie Whitehouse
I think you want to be using a maven-resources-plugin that's version 2.4.1 or greater, see MRESOURCES-100 and MRESOURCES-106. http://jira.codehaus.org/browse/MRESOURCES-100 http://jira.codehaus.org/browse/MRESOURCES-106 > -Original Message- > From: Laird Nelson [mailto:ljnel...@gmail.com

Broken mvn site

2010-05-19 Thread Tim Fulmer
Hello, Yesterday we noticed an error when running mvn site to generate cobertura reports to track down some coverage issues. Turns out this was caused by a snapshot update mandated by the special way Maven handles plugin versioning. Things got even more special when trying to specify a version o

Re: move folder from res to res${BUILD_NUMBER} easy Filtering problem...

2010-05-19 Thread Dean Hiller
ok, so tried out my solution and the copy is working ;) but it is not filtering our the res folder in the war file plugin for some reason. How do I fix this xml so it filters out res folder... test

Re: java.lang.OutOfMemoryError: Java heap space in Wagon

2010-05-19 Thread Richard Seddon
M2Eclipse doesn't launch the external Maven with mvn.bat. You can set the heap options in the "JRE" tab of the Maven launch configuration. Rich On May 19, 2010, at 10:14 AM, Ron Wheeler wrote: > I am trying to build a shared library containing the CXF package and the > upload is running out of

Child dependencies listed in parent pom failure to download

2010-05-19 Thread Conrad CRAMPTON PSE 52704
Hi, Very frustrating issue that been troubling me for a couple of days now. I am trying to use JBoss Drools in a Maven project using the following org.drools drools 5.0.1 pom the repository http://repository.jboss.com/maven2/org/drools/ has al

Maven filtering adding backslashes into Windows file paths?

2010-05-19 Thread Laird Nelson
I have an XML file that uses ${user.home} in an attribute. When Maven filters this and expands it, it expands to: C\:\Documents and Settings\...(and so on) Note the backslash before the colon, which of course makes this an invalid path on Windows. How can I prevent Maven from doing this? Best,

Use profile to define property which is used in another profile activation

2010-05-19 Thread sebb
A profile (A) can be automatically activated by a property (P). A profile (B) can also define a property (P). So if profile B is activated it will define property P. Will this then always activate profile A? Seems to me that this will depend on the order in which profiles are processed. Is thi

java.lang.OutOfMemoryError: Java heap space in Wagon

2010-05-19 Thread Ron Wheeler
I am trying to build a shared library containing the CXF package and the upload is running out of heap space. The jar is built and is 25Mb. I have added this to every mvn.bat in sight. set MAVEN_OPTS=-Xmx1024M This is running under the latest STS version of Eclipse which is started by this sh

Re: how to move folder from res to res${BUILD_NUMBER} in maven?

2010-05-19 Thread Dean Hiller
heh, I went that direction and that hosed my dev environment up/SCM such taht SCM wanted to check the changes in(I then figured it is really a bad idea to generate files at all during a build in the src or input directories). but as in my last email, I think I am close to a solution. Just have to

Re: how to move folder from res to res${BUILD_NUMBER} in maven?

2010-05-19 Thread Dean Hiller
I tried that yesterday I believe(and right now our repository ran out of space so I can't retry that to make sure :( ). hm, I think I know how to do it now though, and then my question is just why my filtering is not working on the war plugin.I think I can 1. copy from src/main/webapps/res

Re: how to move folder from res to res${BUILD_NUMBER} in maven?

2010-05-19 Thread Ron Wheeler
Can you not figure out a way to rename the source of the copy so that the names are changed before maven moves them to the output? Ron On 19/05/2010 10:20 AM, Dean Hiller wrote: actually, this pattern is very typical to release new versions of css, js, etc. Projects like richfaces and TinyMC

RE: how to move folder from res to res${BUILD_NUMBER} in maven?

2010-05-19 Thread Moll, Jeff
Correction, package phase. Jeff Moll E-Commerce Development Great Lakes Educational Loan Services, Inc. (608) 246-1460 x2256 -Original Message- From: Moll, Jeff [mailto:jm...@glhec.org] Sent: Wednesday, May 19, 2010 9:42 AM To: Maven Users List Subject: RE: how to move folder from res

RE: how to move folder from res to res${BUILD_NUMBER} in maven?

2010-05-19 Thread Moll, Jeff
Try running on the package goal instead, the test phase doesn't require the code to be packaged and thus isn't creating the folder structure you are looking for. Thanks, -Jeff -Original Message- From: dean.hil...@gmail.com [mailto:dean.hil...@gmail.com] On Behalf Of Dean Hiller Sent:

Re: how to move folder from res to res${BUILD_NUMBER} in maven?

2010-05-19 Thread Dean Hiller
actually, this pattern is very typical to release new versions of css, js, etc. Projects like richfaces and TinyMCE both use this pattern(not to mention many more). I don't know of any other way to get css, js fixes immediately out to customers without the renaming(in fact, I doubt a better solut

RE: how to move folder from res to res${BUILD_NUMBER} in maven?

2010-05-19 Thread Moll, Jeff
The correct property for accessing the target directory is ${project.build.outputDirectory}. So if you change in your "todir" to use ${project.build.outputDirectory} that should work. I would suggest investigating another approach though, there has to be a simpler solution to resolve .css caching.

Re: Chaining Maven goals of different Base Directories

2010-05-19 Thread Jesse Farinacci
Hi Daniel, On Wed, May 19, 2010 at 9:47 AM, Daniel Hoffmann wrote: > > 1.) myproject/makewar clean install > 2.) myproject/makeear clean install cargo:deploy > >  Daniel Why not attach cargo:deploy to the deploy phase and then call mvn clean deploy? -Jesse -- There are 10 types of people in t

Re: how to move folder from res to res${BUILD_NUMBER} in maven?

2010-05-19 Thread Dean Hiller
Is there no way of doing the below? This is like the most typical thing in web applications so the browser will get the newest css, js, jpg files when a new release comes out. thanks, Dean On Tue, May 18, 2010 at 3:28 PM, Dean Hiller wrote: > Our resource folder in webapps named res(which has

Chaining Maven goals of different Base Directories

2010-05-19 Thread Daniel Hoffmann
Hello, is there any way to chain goals located in different Base Directories? For deploying my project ear to my JBoss Application Server I have to execute two steps: 1.) myproject/makewar clean install 2.) myproject/makeear clean install cargo:deploy Makewar and makeear are two seperate maven p

Re: Central repository, bundle-create and distribution of licenses

2010-05-19 Thread Mark H. Wood
On Tue, May 18, 2010 at 07:52:48PM +0100, Bruno Harbulot wrote: > I'm not saying that the central repo should investigate each and every > case to check that it's indeed true, but it should make it mandatory to > have a licence at least so as to avoid to put software that is > mistakenly unattri

Re: Exclude all transitive dependencies by version?

2010-05-19 Thread Anders Hammar
Sorry, should be "Your original config would NOT affect that". /Anders On Wed, May 19, 2010 at 15:32, Anders Hammar wrote: > The dependency plugin has nothing to do with Maven's dependency management, > which is what you want to controll. Your original config would affect that. > > /Anders > >

Re: Exclude all transitive dependencies by version?

2010-05-19 Thread Anders Hammar
The dependency plugin has nothing to do with Maven's dependency management, which is what you want to controll. Your original config would affect that. /Anders On Wed, May 19, 2010 at 15:07, C. Benson Manica wrote: > Thanks, that did solve the problem, although I'm still curious why the > origi

Re: Exclude all transitive dependencies by version?

2010-05-19 Thread C. Benson Manica
Thanks, that did solve the problem, although I'm still curious why the original config I posted didn't work - the documentation certainly makes it seem like it should... On Tue, May 18, 2010 at 1:21 PM, Ron Wheeler wrote: > We have the same situation. > > Include the Spring that you need directl

Maven SCM Synergy Provider Problem: "Complete task failed" in prepare-goal of release plugin

2010-05-19 Thread Jochen Stiepel
Hello everyone, we are using Maven 3.0 beta 1 with Windows XP and Java 1.6.0_20 and we have to use Synergy 6.5. In our pom.xml we defined a synergy scm url like this: scm:synergy:paketierer_maven:~:2:Component Release:prep:1 When we run mvn release:prepare it works fine until:

Re: mvn release:prepare fails with missing artifacts when project to be released runs an assembly

2010-05-19 Thread Markus Muenkel
Am Tue, 18 May 2010 05:12:45 -0700 hat "Jamie Whitehouse" geschrieben: The use of an explicit version is the problem. Instead of 0.0.3-SNAPSHOT try depending on ${project.version}. In my experience using the fixed version the assembly plugin (and others like the dependency copy goals) will