Re: Tomcat plugin: Logging

2011-09-30 Thread Olivier Lamy
Hello, This Apache Maven plugin is now hosted @asf in the Apache Tomcat land. See: http://tomcat.apache.org/maven-plugin.html . Can you record a jira entry ? 2011/9/29 Mike Janson m...@taptera.com: Hi folks, Sorry if this has been asked before but I've searched far/wide and have been unable

Re: Build hangs on maven site generation

2011-09-30 Thread Bram Patelski
Hi, I've replied several times to an old thread, but never got my mail accepted by the list. It concerns this thread: http://jenkins.361315.n4.nabble.com/Build-hangs-on-maven-site-generation-td366706.html My post: Hi, I have these same problems, but not on all projects/builds. As with the

Re: customisation of path in pom

2011-09-30 Thread sandy
Thank you for the reply. How can i differentiate this with different os.. I mean I run the tests on my local machine with windows os and my test system is with linux... thank you -- View this message in context:

Re: customisation of path in pom

2011-09-30 Thread sandy
thank you for the reply could you please let me know bit clearly..because i am very new to maven -- View this message in context: http://maven.40175.n5.nabble.com/customisation-of-path-in-pom-tp4853264p4856085.html Sent from the Maven - Users mailing list archive at Nabble.com.

Re: Using Maven with custom libraries which are not in repository.

2011-09-30 Thread Anders Hammar
I suggest using http://search.maven.org instead as that's the official search engine for Maven central, which is the default repo for Maven. /Anders On Thu, Sep 29, 2011 at 08:47, Yuvaraj Vanarase yuvaraj.vanar...@synechron.com wrote: Prashant, If those libraries are standard and well known

Maven site gives plugin X does not exist or no valid version could be found

2011-09-30 Thread Bram Patelski
Hi, I am using Jenkins on a buildserver that runs all builds every night at about 0:00. I also have builds on those projects that run the site-plugin. But each night, a lot of those builds fail on some random plugin, logging the following error: [ERROR] BUILD ERROR [INFO]

Re: Parent Dependencies

2011-09-30 Thread Kiren Pillay
Hi I think our project is misconfigured. From reading the docs again, the common dependencies go to within the dependencyManagent tag (we where using the dependencies before). I've fixed this but still see that the dependencies declared in the super pom aren't being picked up by the children.

maven 3.0.3 - performance with version ranges

2011-09-30 Thread Paul French
maven 3.0.3 has terrible performance and memory usage when using version ranges. This has a knock on effect using m2e It takes maven ages to update the maven dependencies. I have a main project with a some version ranged dependencies which in turn have versioned ranged dependencies. Outside

Re: maven 3.0.3 - performance with version ranges

2011-09-30 Thread Tamás Cservenák
Take a peek at this thread (especially 1st mail): http://maven.40175.n5.nabble.com/Apache-Maven-distribution-with-fixes-td4639045.html Thanks, ~t~ On Fri, Sep 30, 2011 at 12:22 PM, Paul French paul.fre...@kirona.com wrote: maven 3.0.3 has terrible performance and memory usage when using version

RE: maven 3.0.3 - performance with version ranges

2011-09-30 Thread Thiebaud, Christophe
FYI, You can tell maven 3.0.3 to work with aether 1.13 (I think this is the latest release) just by dropping aether jars in $MAVEN_HOME/lib/ext. They should take precedence over the aether 1.11 bundled with maven in $MAVEN_HOME/lib. I did that with aether 1.12 and there was no issue, at least

Re: Parent Dependencies

2011-09-30 Thread Guillaume Polet
Hi, So I have briefly read your pom.xml and it seems that you have put the dependency for spring in the dependencyMgmt element and not in the dependencies element. So let me straight things out here: * dependencyMgmt are used to declare version number, configuration, scope, etc... but it does

Re: [m2e-users] maven 3.0.3 - performance with version ranges

2011-09-30 Thread Paul French
wow! Dropped in aether 1.13 into apache maven lib/ext (so patched applied external to eclipse) and also updated the m2e embedded runtime plugin org.eclipse.m2e.maven.runtime_1.0.1.201106291304 (as a quick test) and now as an example a build that took 1 minute 43 secs now only takes 5

Re: Parent Dependencies

2011-09-30 Thread Kiren Pillay
I see I've misinterpreted the concept from the maven guide. Thanks for clearing up my misunderstanding! :) Best regards Kiren On Fri, Sep 30, 2011 at 1:53 PM, Guillaume Polet guillaume.po...@gmail.com wrote: Hi, So I have briefly read your pom.xml and it seems that you have put the

Resources not included in build jar

2011-09-30 Thread motes motes
I have created some sub folders in src/main/resources that I would like to include in the final artifact.jar file. build resources resource directorysrc/main/resources//directory /resource

Re: Build hangs on maven site generation

2011-09-30 Thread Olivier Lamy
is svn on the PATH ? I presume you are running change log report ? 2011/9/30 Bram Patelski bram.patel...@gmail.com: Hi, I've replied several times to an old thread, but never got my mail accepted by the list. It concerns this thread:

Re: Build hangs on maven site generation

2011-09-30 Thread Bram Patelski
Yes, when I run them by hand (in the jenkins checked-out workspace) it runs fine and most other projects run fine from Jenkins. Most failing projects worked fine in the first place, but I always had to run the very first build by hand. After that initial build, they would run fine, but some of

Maven not pulling down latest snapshot jar issue

2011-09-30 Thread Kurt T Stam
1. I'm using maven-3.0.3 and does anyone else have the issue where the latest snapshot jar is NOT downloaded while the meta data IS updated? It sounds a lot like what's being described in this bug report, although the title is misleading http://jira.codehaus.org/browse/MNG-4142, ad it happens

Re: Resources not included in build jar

2011-09-30 Thread Bram Patelski
Hi, Are these empty folders? If not: They should be included in the jar automatically. You could also have a look at this page: http://maven.apache.org/plugins/maven-resources-plugin/examples/include-exclude.html Regards, Bram On Fri, Sep 30, 2011 at 16:21, motes motes mort.mo...@gmail.com

RE: Maven not pulling down latest snapshot jar issue

2011-09-30 Thread Robert Scholte
Sounds like http://jira.codehaus.org/browse/MNG-5087 -Robert Date: Fri, 30 Sep 2011 11:46:19 -0400 From: kurt.s...@gmail.com To: users@maven.apache.org Subject: Maven not pulling down latest snapshot jar issue 1. I'm using maven-3.0.3 and does anyone else have the issue where the

Re: Help!

2011-09-30 Thread GustavoR
Thanks in advance It works!! I'll adopt your advices for next posts 2011/9/29 Barrie Treloar [via Maven] ml-node+s40175n4854981...@n5.nabble.com: On Fri, Sep 30, 2011 at 12:42 AM, GustavoR [hidden email] wrote: Hi to everyone. That's is my first post.. I have a big multi-module project

SCM ClearCase URL Question

2011-09-30 Thread Bleach, Justin
Hi, Anyone have experience with crafting a URL for scm node in maven 3 pom.xml I've read the brief docs on ClearCase URLs but my 'mvn scm:validate' is not successful. I have a configSpec at: c:\views\myView\configSpec.txt Supposedly I'm supposed to be doing something like this:

Re: Maven not pulling down latest snapshot jar issue

2011-09-30 Thread Kurt T Stam
Thanks Robert, I tried replacing the aether jar from 1.11 to 1.12 but that did not fix my issue. In my case the meta data is nicely updated by the actual jar and pom etc are still old. I guess I will spend some time with the debugger over the weekend to see what's going on. If anyone has

Re: maven 3.0.3 - performance with version ranges

2011-09-30 Thread Tommy Chheng
+1 for using aether 1.12, this reduced 2:00 compile time to ~45 seconds. 2011/9/30 Tamás Cservenák ta...@cservenak.net Take a peek at this thread (especially 1st mail): http://maven.40175.n5.nabble.com/Apache-Maven-distribution-with-fixes-td4639045.html Thanks, ~t~ On Fri, Sep 30, 2011

Re: Maven not pulling down latest snapshot jar issue

2011-09-30 Thread Patrick Sansoucy
Is'nt rather related to this Jira that's been there for a while ? http://jira.codehaus.org/browse/MNG-5037?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel Patrick Sansoucy In theory, there is no difference between theory and practice, but in practice, there is ... On Fri,

Insert a timestamp into an archetype?

2011-09-30 Thread Dennis Lundberg
Hi I'm creating an archetype, with a bunch of files. In the .java files I want to insert a timestamp. When I use the archetype to generate a new project, the .java files should show when they were generated. Is this possible? I have tried inserting ${maven.build.timestamp} as the default value

Re: Insert a timestamp into an archetype?

2011-09-30 Thread Bram Patelski
You could use filtering? On Fri, Sep 30, 2011 at 22:01, Dennis Lundberg denn...@apache.org wrote: Hi I'm creating an archetype, with a bunch of files. In the .java files I want to insert a timestamp. When I use the archetype to generate a new project, the .java files should show when they

[ANN] Maven Surefire 2.10 Released

2011-09-30 Thread Paul Gier
The Maven team is pleased to announce the release of the Maven Surefire, version 2.10 This release includes the maven-surefire-plugin, which executes the unit tests of an application, the maven-surefire-report-plugin, which parses surefire/failsafe test results and renders them to DOXIA creating

Re: Insert a timestamp into an archetype?

2011-09-30 Thread Dennis Lundberg
Hi Bram Thanks for your suggestion. My current approach is to use filtering to insert the timestamp into the .java file. The problem I am having is actually getting hold of the appropriate value of a timestamp. It should reflect the point in time when my archetype is used to generate a new

Re: Maven not pulling down latest snapshot jar issue

2011-09-30 Thread Kurt T Stam
Thanks Patrick, Yep that one is just what I am seeing. Looks like there is more to it then I thought.. Thanks for pointing me in the right direction.. Why aren't more people complaining about this? Is everyone using products like Artifactory to keep the number of snapshot of each artifact

Re: Maven not pulling down latest snapshot jar issue

2011-09-30 Thread Patrick Sansoucy
My pleasure, Since M2 does the job, most people I've spoken to (including at my own workplace) hold back on M3 ... On top of that, there is the timestamped artifact workaround. I wish this could be higher up in the priority list, just for the fact it will push M3 adoption :( Patrick Sansoucy In

Re: Insert a timestamp into an archetype?

2011-09-30 Thread Bram Patelski
Okay, I see. Well, I'm not sure if there is a filter-option for current time. I did once write a custom mojo for renaming packages (so directories) based on the archetype artifactId. That way if I used the archetype to generate a new project called: - groupId: org.apache.whatever - artifactId:

Dependency version properties defined in settings.xml are not being resolved, Maven 2.2.1

2011-09-30 Thread Aspi_Engineer
Using Maven 2.2.1 I have defined a profile in my settings.xml file, and specified some properties. This profile is also listed as an active profile. For example: profile idthird-party-lib-versions/id properties

Re: Dependency version properties defined in settings.xml are not being resolved, Maven 2.2.1

2011-09-30 Thread Anders Hammar
You should always ensure that you have a default value for properties set by profiles. Most likely you're running into some scenario where the profile just isn't active. So, in your pom you should define the property as well. May I also add that what you're trying to do is not good. IMHO you