Re: Checkstyle plugin for 5.0?

2009-05-12 Thread Stephen Connolly
2009/5/13 Ramon Casha > Ah. > > Ok, how about a Checkstyle 5 plugin for Maven in the meantime? :) > Ah-ha a different question that is... it requires a different response... which version of Maven are you looking for a Checkstyle 5 plugin for Maven for? ;-) -Stephen P.S. I'm hoping you don't

Number of maven users or other stats

2009-05-12 Thread Erik Putrycz
I'm planning to make a presentation to a QA group here in Ottawa and was wondering if there are any stats about the number of maven users, or at least the number of downloads? Or any kind of estimate on the maven user base? Erik. -- View this message in context: http://www.nabble.com/Number-of-

Re: Checkstyle plugin for 5.0?

2009-05-12 Thread Stephen Connolly
2009/5/12 Ramon Casha > Any chance of upgrading the Checkstyle plugin to work with Maven 5? > > I think people are probably more concerned with releasing Maven 3 first ;-) > > > Ramon Casha > > DISCLAIMER > -- > > The information contained in this electronic mail may be conf

Re: Suppressing reports in a profile

2009-05-12 Thread Stephen Connolly
have two profiles... first one active by default with all reports defined inside it. second profile is for your clients. when you activate a profile from the cli, that will automatically deactivate any profiles which are active by default -Stephen. 2009/5/12 Dominic Mitchell > Is there any way

Re: Newbie - EAR plugin can't find my war file.

2009-05-12 Thread Wayne Fay
>                  none Does it actually say that in your file? If so, that's probably your problem. Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org

Cannot find parent

2009-05-12 Thread Brian Leathem
I setup a "template" pom for all my web applications, to better manage my web application dependencies. My project structure looks like: ProjectPom |--> WebProject1 |--> WebProject 2 |--> WebProject 3 |--> TemplatesPom |--> WebTemplate Where WebProject# and TemplatesPom are modules of Proje

Re: Which maven plugin to run command line application like Innosetup

2009-05-12 Thread Jeff MAURY
Have a look at the Maven exec plugin ( http://mojo.codehaus.org/exec-maven-plugin). Regards Jeff MAURY On Tue, May 12, 2009 at 11:31 PM, Nafter wrote: > > In my pom.xml I have various profiles and all of them are working well. > > No I would like to add a new profile which has to use some sort

Which maven plugin to run command line application like Innosetup

2009-05-12 Thread Nafter
In my pom.xml I have various profiles and all of them are working well. No I would like to add a new profile which has to use some sort of maven plugin which gives me the opportunity to run a certain utility on the server. I use Innosetup to create an install wizzard. I would like to make a profi

Newbie - EAR plugin can't find my war file.

2009-05-12 Thread KurtG
I did a 'mvn install' my web app module with no problems and my war file is definitely in my ~/.m2 repository. However, when I build my ear, I get this: Missing: -- 1) my.xxx.company:SideWinderWeb:jar:3.1-snapshot But, it's not a 'jar'; it's a 'war' file. However, my pom clearly l

Re: unit test coverage

2009-05-12 Thread Mick Knutson
I think you will have to re-create the plugin in each module then. Duplication, but desired result --- Thank You… Mick Knutson, President BASE Logic, Inc. Enterprise Architecture, Design, Mentoring & Agile Consulting p. (866) BLiNC-411: (254-6241-1) f. (415) 685-4233 Website: http://baselogic.c

unit test coverage

2009-05-12 Thread huser
Hi, Is there a way to setup different BranchRate in Cobertura Plugin for each maven module ? I have a Maven build which runs cobertura covergae and shows the results for the entire project. The team wants to seup different BranchRate values for different values. Is this possible ? I am usung Hud

Re: War Overlays and Conflicting Jars

2009-05-12 Thread Brad Harper
I was hoping to hear someone say that the war file should generate an error or fail. In our case, we have multiple versions of a general 'platform', each represented by a war artifact. Derivative wars artifacts are built with customizations and tailorings using a war overlay. When it becomes nec

Problems with exact versions in dependencyManagement

2009-05-12 Thread Will Horn
I use dependencyManagement in a root pom to handle all the artifact versions for a complex project. From the documentation [1] and [2], I see that 1.0.0 is a soft version and [1.0.0] is an exact version. An exact version seems much preferable to a soft version. I would like to know exactl

RE: Re: Transitive and inherited dependencies - potential bug, or my misunderstanding of the mechanism

2009-05-12 Thread Todd Thiessen
> At test runtime I presume? You use the test scope. Is it > hurting anything if it's there on the test compile classpath? Its an example of how the scope definition is overloaded. Whether or not it hurts anything is moot. - To

Failed to load plugin descriptor for: com.google.code.maven-license-plugin:maven-license-plugin:check

2009-05-12 Thread Michał Stefanów
Hi there, I'm following "setup from zero" tutorial and one one the point contain following phrase: import all projects to Eclipse then select all of them and click Maven / enable dependency management. Unfortunately this generates following output: 12.05.09 15:03:16 CEST: [INFO] --

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

2009-05-12 Thread Steve Lihn
Copy-dependencies and the assembly plugin are what I am looking for. I currently use a home grown perl script to do these tasks. It will be very nice once I can integrate all these tasks into maven. Thanks for the suggestions. Steve On Mon, May 11, 2009 at 9:08 AM, Joe Hindsley wrote: > The way

Re: Re: Transitive and inherited dependencies - potential bug, or my misunderstanding of the mechanism

2009-05-12 Thread Brian Fox
On Mon, May 11, 2009 at 9:48 AM, Todd Thiessen wrote: > > > Are there many cases where you want something for compilation > > that isn't needed at runtime? I don't see them as being separate. > > Really? I am surprised. Yes there is a relation between compile and > runtime. However, there is a di

How would you approach this?

2009-05-12 Thread Doug Hughes
Hi, I've been writing to the list off and on over the past few days. I'm a ColdFusion developer and I'm looking at Maven for a few different reasons. Mainly, I'm exploring the option of using Groovy+Spring+Hibernate to create the service layers and models for my applications. ColdFusion is simpl

Unable to Unarchive

2009-05-12 Thread Villemos, Gert
I'm using the Eclipse Java IDE with the Maven plugin and artifactory as the repository. I have configured the POM to use the maven-assembly-plugin to create an executable jar (see below). When packaging I get the error 'Unable to obtain unarchiver for file...'. This only occurs when I have mult

Re: Newbie - Can't resolve artifact.

2009-05-12 Thread KurtG
dahoffer wrote: > > Version ranges in maven are very buggy, use with caution. > Thanks. I edited the JasperReports pom to remove the version range and it started working. I think you're right. -- View this message in context: http://www.nabble.com/Newbie---Can%27t-resolve-artifact.

Re: War Overlays and Conflicting Jars

2009-05-12 Thread Mark Hobson
dependency:tree doesn't currently show overlaid war jars. The war overlay concept is conceptually outside of the normal dependency mechanism, hence the possibility of ending up with two versions of the same dependency. Anyone aware of an issue about this? The war plugin should really fail the bu

Re: Adding manifest entries to source and javadoc jars

2009-05-12 Thread sebb
On 11/05/2009, sebb wrote: > On 11/05/2009, Dennis Lundberg wrote: > > For the Sources Plugin, see this issue: > > > > http://jira.codehaus.org/browse/MSOURCES-42 > > > > that was fixed in the recently released 2.1 version. > > > > > Ah, I see now, thanks. > > I had assumed that the mave

Failed to load plugin descriptor for: com.google.code.maven-license-plugin:maven-license-plugin:check

2009-05-12 Thread Michał Stefanów
Hi there, I'm following "setup from zero" tutorial and one one the point contain following phrase: import all projects to Eclipse then select all of them and click Maven / enable dependency management. Unfortunately this generates following output: 12.05.09 15:03:16 CEST: [INFO] -

Re: timestamped artifacts in multi module build - maven bug or mymisunderstanding

2009-05-12 Thread Michal Szalinski
It seems that it is bug in MAVEN: http://jira.codehaus.org/browse/MNG-2486 anyone knows any workaround for this? my first guess is to filter generated pom.xml version from X.X-SNAPSHOT to TIMESTAMP in deploy phase, before deploying it to the snapshot repo. Probably i'll try to patch deploy plugi

Slow maven compile after upgrading JDK from 1.5 to 1.6

2009-05-12 Thread j_ri
Hi, I have problems with the compilation-time of some of our projects using java 6 (update 10 and 13) and maven (I tried with 2.0.7 and 2.1.0). Compiling 806 source-files takes about 7 seconds using jdk 1.5. When switching to jdk 1.6 ist takes 59 seconds. To compare the results I copied the jar

Re: War Overlays and Conflicting Jars

2009-05-12 Thread Nayan Hajratwala
mvn dependency:tree should let you see that there are 2 of the same jars, but it won't "alert" you. A better solution might be to use a section in the parent pom of both modules in which you specify the jar versions. That way you won't have the problem of using different versions in diff

Re: Cargo and multi-module projects

2009-05-12 Thread Bocalinda
Btw, your solution didn't work for me (activating based on a property set in another module). It seems that the profiles are being parsed before the property is set in my module. 2009/5/12 Bocalinda > Hi Jesse, > > As a workaround for the profile activation by packaging type, it may be an > opti

Checkstyle plugin for 5.0?

2009-05-12 Thread Ramon Casha
Any chance of upgrading the Checkstyle plugin to work with Maven 5? Ramon Casha DISCLAIMER -- The information contained in this electronic mail may be confidential or legally privileged. It is for the intended recipient(s) only. Should you receive this message in error,

Re: Cargo and multi-module projects

2009-05-12 Thread Bocalinda
Hi Jesse, As a workaround for the profile activation by packaging type, it may be an option to use: ${project.packaging} war Cheers, Pieter 2009/5/11 > Hi Pieter, > > On Mon, May 11, 2009 at 11:47 AM, Bocalinda wrote: > > > > What exactly do you mean by "attach

Suppressing reports in a profile

2009-05-12 Thread Dominic Mitchell
Is there any way to suppress reports in a profile? Normally, I want my site to include a bunch of reports (e.g. findbugs). However, I'm producing an external distribution of the site for 3rd party clients. There, I only want the javadocs and changes reports. I understand that I can use

testing with selenium html tests

2009-05-12 Thread bicek
Hi, i'm new with maven2 and i 've been having problems with selenium tests. The project is made of two modules. One module is a web service that provides some data. The other module is a web application that I want to test. I want to use something like mvn clean clover2:instrument jboss:undeplo

Re: Using multiple source dirs

2009-05-12 Thread Baptiste MATHUS
Hi, Do not use the tags inside maven-resources-plugin, use project/build/outputDirectory instead and associates. IMO, you should never have to declare the maven-resources-plugin configuration. It takes its input directly from the pom standard tags. Cheers 2009/5/11 > Hi all, > > I'm trying to

Solution for aggregating dependent source code

2009-05-12 Thread Rice Yeh
Hi, I have a need to aggregating a project's source code with its dependency's source code. That is, a project p1 has dependency on p2. I would like to create a source jar for p1 that also contains the source code of p2. How do I achieve this? Does the source:aggregate goal in maven-source-plugin