Logger name used in plugin

2010-08-05 Thread Adrian Shum
Hi all, >From my observation, the logger name assigned to my plugin seems to be auto-determined by maven, which is somthing like removing -maven- or -maven-plugin in the artifact name. Is there any way that I can declare the logger name my plugin will use? Because my plugin artifact id was so

plugin descriptor missing mojos section

2010-08-05 Thread Pankaj Tandon
Hi, I've been working on a plugin which I attached to the compile phase of the life cycle. All seemed well and it was doing what was expected. Then I decided to document the plugin in using mvn site. So I built out the apt files and issued a mvn site. At that point something happened which I cann

Re: trouble with checkstyle

2010-08-05 Thread Dennis Lundberg
This sounds like http://jira.codehaus.org/browse/MCHECKSTYLE-131 Either fall back to Checkstyle Plugin 2.4 or use the 2.6-SNAPSHOT. On 2010-08-05 22:29, Gordon Cody wrote: > Hello List > > checkstyle is not using my configuration (specifiied in pom). It seems to > insist on > picking up config/

Releasing only one (sub)module within an SCM tree

2010-08-05 Thread Johannes Schneider
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I have such a structure within my Git tree: daParent - moduleA - moduleB - ... Until today I released all modules together. This worked like a charm. Now I want to release the modules independently. But that does not wor

trouble with checkstyle

2010-08-05 Thread Gordon Cody
Hello List checkstyle is not using my configuration (specifiied in pom). It seems to insist on picking up config/sun_checks.xml no matter what i try to do. Using maven2.0.9 and checkstyle2.5. My project is setup like the multi-module example project. In my parent pom I have added to section.

Re: force maven to redownload/refresh "released" dependencies

2010-08-05 Thread Wayne Fay
> The network traffic that that would cause in a modern project with dozens of > dependencies would create a real nuisance. If every artifact had md5 and sha1 hashes etc, then the traffic would merely be to check the hashes against the local artifact... which Maven already does, and complains when

Re: A dependency only for the dependency plugin

2010-08-05 Thread Brian Fox
In M3 the reactor is treated like a local repository layer in the resolution, meaning the plugin doesn't have to do anything special to consider the reactor as is the case in m2. So using the same plugin in M3 will work better. On Thu, Aug 5, 2010 at 9:08 AM, Benson Margulies wrote: > I don't und

Re: Podcast on Maven 3

2010-08-05 Thread Brian Fox
They published it quicker than I expected. Beta-2 is coming but there is discussion on the dev list about a few key details, so hopefully it's coming in the next week or so. On Thu, Aug 5, 2010 at 9:21 AM, Christoph Kutzinski wrote: > So when is Maven 3 beta-2 now being released? > In the podcast

Re: force maven to redownload/refresh "released" dependencies

2010-08-05 Thread Ron Wheeler
On 05/08/2010 1:13 PM, Manfred Moser wrote: Eric, It seems like we will not agree here. The changes necessary and the additional overhead to make your suggestions work have to much of a negative impact imho. I cant see your feature getting implemented by anybody. Your only option is to implemen

Re: force maven to redownload/refresh "released" dependencies

2010-08-05 Thread Ron Wheeler
On 05/08/2010 1:00 PM, Haszlakiewicz, Eric wrote: -Original Message- From: Ron Wheeler [mailto:rwhee...@artifact-software.com] On 05/08/2010 11:00 AM, Haszlakiewicz, Eric wrote: -Original Message- From: Ron Wheeler [mailto:rwhee...@artifact-software.com] On 04/08/2010 6:3

RE: force maven to redownload/refresh "released" dependencies

2010-08-05 Thread Manfred Moser
Eric, It seems like we will not agree here. The changes necessary and the additional overhead to make your suggestions work have to much of a negative impact imho. I cant see your feature getting implemented by anybody. Your only option is to implement it yourself and see how you fare. If you do i

RE: force maven to redownload/refresh "released" dependencies

2010-08-05 Thread Haszlakiewicz, Eric
>-Original Message- >From: Ron Wheeler [mailto:rwhee...@artifact-software.com] > > On 05/08/2010 11:00 AM, Haszlakiewicz, Eric wrote: >>> -Original Message- >>> From: Ron Wheeler [mailto:rwhee...@artifact-software.com] >>> >>> On 04/08/2010 6:34 PM, Manfred Moser wrote: > For

Re: My build fails on build server by not workstation

2010-08-05 Thread Ron Wheeler
Glad to hear that you found the problem and that it was a result of a little "out of the box" thinking. Th Ron On 05/08/2010 12:34 PM, Jon Strayer wrote: The values from settings.xml are inluded in the effective pom (as in "mvn help:effective-pom"). On Wed, Aug 4, 2010 at 10:42 AM, Ron Wheel

maven-changelog-plugin

2010-08-05 Thread Meeusen, Christopher W.
Hi, Just wondering if anyone has found a nice write up on integrating the maven-changelog-plugin with clear case? Thanks, Chris

Re: My build fails on build server by not workstation

2010-08-05 Thread Jon Strayer
The values from settings.xml are inluded in the effective pom (as in "mvn help:effective-pom"). On Wed, Aug 4, 2010 at 10:42 AM, Ron Wheeler wrote: > You will get to a solution much quicker when you start to think about this > as "Maven is working correctly. I have an error in my setup. Where c

Re: force maven to redownload/refresh "released" dependencies

2010-08-05 Thread Ron Wheeler
On 05/08/2010 11:00 AM, Haszlakiewicz, Eric wrote: -Original Message- From: Ron Wheeler [mailto:rwhee...@artifact-software.com] On 04/08/2010 6:34 PM, Manfred Moser wrote: For everyone that says "Released artifacts MUST NOT CHANGE", that great if you live in an ideal world, but gue

RE: change version?

2010-08-05 Thread Haszlakiewicz, Eric
>-Original Message- >From: Stephen Connolly [mailto:stephen.alan.conno...@gmail.com] > >have a look in the pom file that gets deployed if the property is still >unexpanded in the deployed pom file then you are screwed > >and it depends on the version of maven you are using. > >it will o

RE: adding non-class files to a JAR

2010-08-05 Thread Haszlakiewicz, Eric
>-Original Message- >From: asookazian [mailto:asookaz...@gmail.com] > >Wayne Fay wrote: >> >>> anybody know how to get Maven to include non-class files into a JAR? >>> >>> i have .jrxml files that I precompile into .jasper files via a custom >>> plugin >>> but maven is not including them in

RE: force maven to redownload/refresh "released" dependencies

2010-08-05 Thread Haszlakiewicz, Eric
>-Original Message- >From: Ron Wheeler [mailto:rwhee...@artifact-software.com] > > On 04/08/2010 6:34 PM, Manfred Moser wrote: >>> For everyone that says "Released artifacts MUST NOT CHANGE", that great >>> if you live in an ideal world, but guess what: some of us actually have >>> to live

Re: A dependency only for the dependency plugin

2010-08-05 Thread lukewpatterson
Brian Fox-3 wrote: > > ... It's possible that this would work correctly in M3 > though because of the rework in the resolution. > that would be nice, then the project wouldn't have to be aware of whether or not it was a module and if the artifact was part of its enclosing multi-module project

Re: Podcast on Maven 3

2010-08-05 Thread Christoph Kutzinski
So when is Maven 3 beta-2 now being released? In the podcast you say, it's maybe released when the podcast is live. Now it's live and where is beta-2? ;-) Original-Nachricht > Datum: Thu, 5 Aug 2010 10:22:23 +1200 > Von: Mark Derricutt > An: Maven Users List > Betreff: Re: Pod

Re: A dependency only for the dependency plugin

2010-08-05 Thread Benson Margulies
I don't understand the remark about M3. Either it implies that it \won't/ work in M2, or perhaps you left out a word? On Wed, Aug 4, 2010 at 7:26 PM, Brian Fox wrote: > In that case you'll need to use the unpack-dependencies goal along > with provided. It's possible that this would work correctl

Re: Define profile plugin in root pom.xml, define execution in child pom.xml?

2010-08-05 Thread Anders Hammar
Yes, this is possible. In your parent pom, you add a pluginManagement section where you put the common configuration. Then you do the binding in those projects where you want it. It is also possible to override some configurations there should you need to. /Anders On Thu, Aug 5, 2010 at 09:50, ja

archetype:create-from-project section not processed?

2010-08-05 Thread mid491 mid491
Hi, archetype:create-from-project (multi projects mode) don't process the section "" in the pom's ear project.  Exemple :                                                                             mygroupeid                       mycompany-model                  

Re: "package org.pos tgresql.util does not exist" c ompilation problem‏

2010-08-05 Thread Santiago Álvarez Martínez
Hi again Ognjen: I've just discovered where my error was. Some lines before adding my PostgreSQL package dependency, I had this another one: ${jdbcDriver.groupId} ${jdbcDriver.artifactId} ${jdbcDriver.version} test And that sc

Re: "package org.postgresql.util does not exist" compilation problem

2010-08-05 Thread Santiago Álvarez Martínez
Hi Ognjen: Thanks for your reply. It's a compile-time error. Actually the error comes in the compile Maven goal (I put the log at the end). The weirdest thing is: If I try to launch the project, I get this compilation error. If I comment out the troubling lines, and launch the project with J

Re: Issues with archetype:create-from-project

2010-08-05 Thread mid491
"> 2. When I have an empty property (e.g. ), > it's removed from the resulting pom.xml." Hi, still not working with multi-modules (2.0-alpha-6) -- View this message in context: http://maven.40175.n5.nabble.com/Issues-with-archetype-create-from-project-tp122518p2265030.html Sent from the Maven

Define profile plugin in root pom.xml, define execution in child pom.xml?

2010-08-05 Thread janne postilista
I have hierarchival build with parent root and some modules. root - somejar - someejb - somewebapp I want to define a profile which deploys my ejb and webapp to a server. This profile has plugin maven-glassfish-plugin for the deployment. Plugin has a lot of configuration so I would not like