Re: PGP Signature of Artifacts Validation

2008-04-22 Thread Wendy Smoak
On Wed, Apr 23, 2008 at 12:29 PM, Chad La Joie <[EMAIL PROTECTED]> wrote: > I know about, and use, the plugin for creating PGP signatures of artifacts. > Is there a mechanism to validate the signatures of incoming dependencies? Not at present. The first thing I'd like to see is a goal added to th

Re: Is there easy way to check in plugin version

2008-04-22 Thread Heinrich Nirschl
On Tue, Apr 22, 2008 at 11:46 PM, I am Who i am <[EMAIL PROTECTED]> wrote: > Hi All, > > in that case if i want to check what version jar plugin is being downloaded > is there a mvn command i can run to find out the version or i need to drill > down all the way to my localRepository like groupId/ar

Re: assembly help

2008-04-22 Thread Lachlan Deck
Hi again, On 23/04/2008, at 5:14 AM, Henrique Prange wrote: What do you want to do exactly? It seems that you are trying to package a WebObjects application. Have you tried the maven- wolifecycle-plugin [1]? [1]http://wiki.objectstyle.org/confluence/display/WOL/WOProject-Maven2 Okay - mak

Re: [newby] how to include/package private libs/*.jar

2008-04-22 Thread Lachlan Deck
Hi Joshua, On 23/04/2008, at 10:40 AM, Joshua ChaitinPollak wrote: On Apr 22, 2008, at 8:16 PM, Lachlan Deck wrote: On 23/04/2008, at 12:56 AM, Joshua ChaitinPollak wrote: Have you tried, or has anyone suggested using the system scope? I had thought about it, but, unless I'm mistaken, tha

PGP Signature of Artifacts Validation

2008-04-22 Thread Chad La Joie
I know about, and use, the plugin for creating PGP signatures of artifacts. Is there a mechanism to validate the signatures of incoming dependencies? -- SWITCH Serving Swiss Universities -- Chad La Joie, Software Engineer, Security Werdstrasse 2, P.O. Box, 8021 Zürich, S

Re: CVS checkout from tag using maven

2008-04-22 Thread Sowmya . R
Hi,Can you please provide me full details to do tag checkout from CVS using maven. I have to do checkout from command-line using mvn scm:checkout. On Tue, Apr 22, 2008 at 9:57 PM, Wayne Fay <[EMAIL PROTECTED]> wrote: > Does it work if you put the tag etc directly in the pom rather than > u

Re: local repository purge

2008-04-22 Thread Wendy Smoak
On Tue, Apr 22, 2008 at 9:33 PM, Julien CARSIQUE <[EMAIL PROTECTED]> wrote: > Is there a way to purge old snapshots from local repository (like the > archiva behavior "purge old snapshots" which allows to keep a chosen number > of old artifacts) ? > I would like this to remove from local reposito

Re: local repository purge

2008-04-22 Thread Olivier Dehon
The things that approach the closest to your requirement look to be: http://maven.apache.org/plugins/maven-dependency-plugin/purge-local-repository-mojo.html or http://mojo.codehaus.org/build-helper-maven-plugin/remove-project-artifact-mojo.html HTH, -Olivier On Tue, 2008-04-22 at 15:33 +0200,

Checkstyle Versions

2008-04-22 Thread Chris_Graham
Hi All. The blurb on Maven 2.0.9 stated that you could force a specific version of a jar, mainly to get newer versions, and the specifically listed checkstyle (amongst others). How do you actually do it? The maven checkstyle plugin uses checkstyle 4.1 and 4.4 is availa

Re: [newby] how to include/package private libs/*.jar

2008-04-22 Thread Joshua ChaitinPollak
On Apr 22, 2008, at 8:16 PM, Lachlan Deck wrote: Hi Joshua, On 23/04/2008, at 12:56 AM, Joshua ChaitinPollak wrote: Have you tried, or has anyone suggested using the system scope? I had thought about it, but, unless I'm mistaken, that assumes that the jar will be found in that location a

Re: assembly help

2008-04-22 Thread Lachlan Deck
Hi Henrique, On 23/04/2008, at 5:14 AM, Henrique Prange wrote: What do you want to do exactly? It seems that you are trying to package a WebObjects application. Correct :-) Have you tried the maven-wolifecycle-plugin [1]? [1]http://wiki.objectstyle.org/confluence/display/WOL/WOProject-Mav

Re: [newby] how to include/package private libs/*.jar

2008-04-22 Thread Lachlan Deck
Hi Joshua, On 23/04/2008, at 12:56 AM, Joshua ChaitinPollak wrote: Have you tried, or has anyone suggested using the system scope? I had thought about it, but, unless I'm mistaken, that assumes that the jar will be found in that location at runtime/deployment also (which it won't). On t

Dependency injection and Plexus Compilers

2008-04-22 Thread sgargan
Hi there, I've been playing around with developing a simple compiler. Its coming along nicely, but for one thing. The configuration that gets passed to the compiler instance is great, but not as complete as I would like. Ideally I would like to have access to the MavenProject object at the compil

Problem using maven-assembly-plugin with multiple projects

2008-04-22 Thread Lamarre, Michael
Hello. I am trying to build a project that has two child modules layed out like so: myproject/pom.xml myproject/common/pom.xml myproject/engines/pom.xml The engines module is dependent upon the common module. For the engines project, I have the maven-jar-plugin configured to insert the

how to remove maven specific files

2008-04-22 Thread I am Who i am
Hi All, How to remove maven related files like maven folder / pom.xml / pom.properties files from the jar file being created, i have the following in my pom, but still seeing the maven directory with pom / .xml/.properties under META-INF directory, my jar plugin version is 2.2

Re: M2Eclipse -workspace resolution

2008-04-22 Thread Felipe Kamakura
Me too. I have a Web module that depends on my Core (EJB) module. The Core module doesn't appear in the Maven Dependencies container. On Tue, Apr 22, 2008 at 9:27 AM, Salgar, Mehmet (external) < [EMAIL PROTECTED]> wrote: > Yep, > > I have exactly the same problem, I have to include the projects t

Is there easy way to check in plugin version

2008-04-22 Thread I am Who i am
Hi All, Lets say i have pom files, without version number on it, for e.g i'm using the default jar plugin, so i didn't mention the configuration for jar plugin in my plugin section of pom in that case if i want to check what version jar plugin is being downloaded is there a mvn command i can run

RE: Bug in Nexus repository?

2008-04-22 Thread Brian E. Fox
Your settings controls what Maven does. My guess is that the myfaces poms introduce the central repository with a different name. This is why we recommend using mirrorOf * (or external:* with 2.0.9+) so that you aren't constantly chasing repo ids. -Original Message- From: Sench [mailto:[EM

Re: Running some tests but not others according to a -D property?

2008-04-22 Thread David C. Hicks
We had a similar problem that we solved using a profile. We have a default test name pattern ("_FT") that designates a test as a functional/integration test. We include a plugin entry for maven-surefire-plugin that runs on the integration-test phase and includes files with that pattern. If we w

Running some tests but not others according to a -D property?

2008-04-22 Thread Allen, Daniel
Does anyone know if it's possible to have Surefire run some tests but not others, deciding based on a setting from the command line? My situation is that some tests are working with Tibco Rendezvous, and the daemon isn't always available. It would be nice to include "-Dskip.rv.tests=true" on the co

Re: Executing maven-archetype-plugin:2.0-alpha-3-SNAPSHOT

2008-04-22 Thread Raphaël Piéroni
Hi, This seems related with the jira http://jira.codehaus.org/browse/MNG-3540 i just created. Regards, Raphaël 2008/4/22, cbates <[EMAIL PROTECTED]>: > > Hello - > > I'm trying to use the maven-archetype-plugin 2.0-alpha-3-SNAPSHOT located at > http://people.apache.org/repo/m2-snapshot-repos

Re: assembly help

2008-04-22 Thread Henrique Prange
Hi Lachlan, What do you want to do exactly? It seems that you are trying to package a WebObjects application. Have you tried the maven-wolifecycle-plugin [1]? [1]http://wiki.objectstyle.org/confluence/display/WOL/WOProject-Maven2 Cheers, Henrique Lachlan Deck wrote: Hi there, I'm still qu

maven scp from site:deploy is failing with "Error uploading site" (windows)

2008-04-22 Thread Chuck Kluga
I am seeking help/direction in figuring out a maven 'site:deploy' issue relating to the scp (secure copy). I am doing a 'site:deploy' on one WinXP PC that is trying to deploy using scp to a Windows 2003 server box. I have installed the OpenSSH for Windows, v4.2p1-1 (1/25/2006) by WebHeat on b

Re: A poor dependency management

2008-04-22 Thread Dennis Lundberg
Gregory BOISSINOT wrote: Hello, I use Maven 2 for almost 2 years now. The Maven distribution version succeeds one another and I don’t understand why you always cannot choice to exclude transitive dependency for your dependency framewok. But you can do that. More on that below... For examp

Re: How to keep manage resources that are outside of jars

2008-04-22 Thread Michael Smith
aldana wrote: > > you should have a look at the assembly plugin > http://maven.apache.org/plugins/maven-assembly-plugin/. there you can > decide what to place next to your jar. for an example have a look at > http://www.jfrog.org/viewvc/dep-analyzer/trunk/viewer/src/main/assembly/assembly.xml?vi

Re: A poor dependency management

2008-04-22 Thread Wayne Fay
You should try version 1.1.1 of this artifact instead. The commons-logging people fixed this by adding optional tags etc. And in the future, you are welcome (and invited!) to complain (loudly) to the dev team responsible for a given artifact about their poms when they are not working as you expect

A poor dependency management

2008-04-22 Thread Gregory BOISSINOT
Hello, I use Maven 2 for almost 2 years now. The Maven distribution version succeeds one another and I don’t understand why you always cannot choice to exclude transitive dependency for your dependency framewok. For example, if you want to package in your web application “commons-logging” on v

Re: Maven Jar plugin 2.0 : ClassPath in manifest

2008-04-22 Thread Lee Meador
I'm not real familiar with that part of maven, but ... Did you try adding a to the pom for "test" to give it the name without the version number included? Alternatively, there might be a problem inheriting the dependency plugin configurations in the toto project. You could try copying them from

Re: CVS checkout from tag using maven

2008-04-22 Thread Wayne Fay
Does it work if you put the tag etc directly in the pom rather than using -D properties? Unless and until this works successfully, it won't work from the command line either. So make sure that works first. Wayne On 4/22/08, Sowmya. R <[EMAIL PROTECTED]> wrote: > Hi, > I am checking out the

Re: How to keep manage resources that are outside of jars

2008-04-22 Thread aldana
hi, you should have a look at the assembly plugin http://maven.apache.org/plugins/maven-assembly-plugin/. there you can decide what to place next to your jar. for an example have a look at http://www.jfrog.org/viewvc/dep-analyzer/trunk/viewer/src/main/assembly/assembly.xml?view=markup. Mich

Re: How to keep manage resources that are outside of jars

2008-04-22 Thread Wayne Fay
First off, please only send messages to this list once. If you're unsure if a message made it to the list yet, check Nabble, but give it a few hours to show up as there are sometimes delays etc. Secondly, can you describe your requirements in a little more detail? It sounds like maybe you have con

Re: local repository purge

2008-04-22 Thread Wayne Fay
I am not currently aware of any such "local repo cache snapshot cleaning tool" in existence. I know people have written (and emailed to this group) scripts for cleaning up the local repo cache. I don't have a link right now to one (search the list archive?), but as I recall it was a bash script, c

How to keep manage resources that are outside of jars

2008-04-22 Thread Michael Smith
I figured out how to delete resources from my JARs using the antrun plugin (the excludes with the jar plugin aren't working, I filed a JIRA issue for that). But now I don't know how to get the dependencies for my assembly. Maven thinks all the resources I need are in my jars but they're not. I'

Re: Bug in Nexus repository?

2008-04-22 Thread Jason van Zyl
Use the Nexus user mailing list for Nexus questions. [EMAIL PROTECTED] On 22-Apr-08, at 4:52 AM, Sench wrote: Hi I'm using Nexus 1.0.0-beta-2 version. I have mirrored central repository to use Nexus's releases repository. I have already deployed there myfaces artifact with his all dependenc

Re: Mirroring a repository at SourceForge

2008-04-22 Thread Carlos Sanchez
On Tue, Apr 22, 2008 at 1:18 AM, Rodrigo Ru'iz <[EMAIL PROTECTED]> wrote: > Hi all, > > I am setting up a Maven2 repository at a SourceForge project, and preparing > it for automatic mirroring to Central. After looking at the guide I have a > few doubts: > > First, I see many projects at sf use "

RE: Proxy connectors fails to download, Archiva needs restart

2008-04-22 Thread Jackson, Brian R
Brett, Sorry it took so long to respond. I tried this finally but it broke my Archiva instance and it just returned 404 errors. So I had to rollback to using the wagon-http-lightweight. Brian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] .org] On Behalf Of Brett P

Re: [newby] how to include/package private libs/*.jar

2008-04-22 Thread Joshua ChaitinPollak
Lachlan, Have you tried, or has anyone suggested using the system scope? You should be able to do something like this: ... javax.sql jdbc-stdext 2.0 system

Re: metrics report-plugin (for cyclomatic complexity + loc)

2008-04-22 Thread Antti Virtanen
You may want to try out Sonar (http://sonar.hortis.ch/). It is rather nice tool for following the improvement of quality metrics. aldana wrote: > > hi, > > to make code smells more visible and to better find out refactoring > targets amongst others i want to introduce some metrics. for that i

local repository purge

2008-04-22 Thread Julien CARSIQUE
Hello, Is there a way to purge old snapshots from local repository (like the archiva behavior "purge old snapshots" which allows to keep a chosen number of old artifacts) ? I would like this to remove from local repository all useless artifacts, which doesn't exactly mean the "old ones". I th

Re: metrics report-plugin (for cyclomatic complexity + loc)

2008-04-22 Thread aldana
great, i already integrated jdepend and your other mentioned report plugins, but did not know of javancss. this exactly seems to be the last thing i looked for. Paolo Compieta wrote: > > Hi, > give a try to these 2 plugins (insert the following snippet in your > pom.xml): > > >

How to keep manage resources that are outside of jars

2008-04-22 Thread Michael Smith
I figured out how to delete resources from my JARs using the antrun plugin (the excludes with the jar plugin aren't working, I filed a JIRA issue for that). But now I don't know how to get the dependencies for my assembly. Maven thinks all the resources I need are in my jars but they're not. I'

RE: maven-war-plugin:2.0.2 confuses relative path when run in the reactor

2008-04-22 Thread Harper, Brad
Anyone else have ideas? I'm still spinning my wheels on this issue. Thanks. Brad > -Original Message- > From: Harper, Brad > Sent: Friday, April 18, 2008 11:25 AM > To: 'Maven Users List' > Subject: RE: maven-war-plugin:2.0.2 confuses relative path > when run in the reactor > > No g

Re: metrics report-plugin (for cyclomatic complexity + loc)

2008-04-22 Thread Tim Moloney
aldana wrote: hi, to make code smells more visible and to better find out refactoring targets amongst others i want to introduce some metrics. for that i miss a plugin which measures the cyclomatic complexity and loc (for classes, methods). surprisingly i did not find any maven plugin which of

RE: metrics report-plugin (for cyclomatic complexity + loc)

2008-04-22 Thread Harper, Brad
I think you'll find that PMD supports cyclomatic complexity. There's a m2 plugin described at http://maven.apache.org/plugins/maven-pmd-plugin/ Brad > -Original Message- > From: aldana [mailto:[EMAIL PROTECTED] > Sent: Tuesday, April 22, 2008 7:23 AM > To: users@maven.apache.org > Su

Re: metrics report-plugin (for cyclomatic complexity + loc)

2008-04-22 Thread Paolo Compieta
Hi, give a try to these 2 plugins (insert the following snippet in your pom.xml): [...] org.codehaus.mojo javancss-maven-plugin org.codehaus.mojo

AW: M2Eclipse -workspace resolution

2008-04-22 Thread Salgar, Mehmet (external)
Yep, I have exactly the same problem, I have to include the projects that are open in the workspace extra to the project and to the J2EE dependencies even that they are in the pom... T-Mobile Deutschland GmbH Aufsichtsrat: Hamid Akhavan (Vorsitzender) Geschäftsführung: Philipp Humm (Sprecher

metrics report-plugin (for cyclomatic complexity + loc)

2008-04-22 Thread aldana
hi, to make code smells more visible and to better find out refactoring targets amongst others i want to introduce some metrics. for that i miss a plugin which measures the cyclomatic complexity and loc (for classes, methods). surprisingly i did not find any maven plugin which offers this... m

Re: Maven PMD plugin dependency on pmd Jar is out of date

2008-04-22 Thread Amir
Hello Xavier Thanks for the clarifications. You were right, my ruleset file, basic.xml, which I copied from the pmd-4.2.1 distribution does contain the AvoidMultipleUnaryOperators rule. That rule indeed has since=4.2. When reverting to the pmd-4.1 distribution, with an earlier basic.xml rulese

Bug in Nexus repository?

2008-04-22 Thread Sench
Hi I'm using Nexus 1.0.0-beta-2 version. I have mirrored central repository to use Nexus's releases repository. I have already deployed there myfaces artifact with his all dependencies and allready re-indexed it. I have add new index into eclipse's maven indexes view and it works fine! But when I

Maven assembly with more than one descriptor

2008-04-22 Thread Dobri Kitipov
Hi all, I want to provide in my assmbly plugin configuration two (i.e. mycomp-eclipse-bin-assembly.xml and mycomp-bin-assembly.xml) and be guaranteed in the order of execution. I mean the first one listed is executed prior the second one: maven-assembly-plugin

RE: multimodule soruce

2008-04-22 Thread Thomas Darbois
Both results are doable with maven assembly plugin. Some possible explanation are available here : http://maven.apache.org/plugins/maven-assembly-plugin/examples/multimodule/module-source-inclusion-simple.html There is some customisation to do (use your own assembly.xml : 3 differents in case y

multimodule soruce

2008-04-22 Thread andre_manica
Hi. I hava a multimodule pom that i use for building the site. Id' like to build the soruces zips too. In partucular i have Root (pom) -- A jar -- B jar -- C jar i'd like to have in the target directory of root A zip B zip C zip and /or root zip {a.zip b.zip c.zip and the root pom. xml and ot

CVS checkout from tag using maven

2008-04-22 Thread Sowmya . R
Hi, I am checking out the project from CVS using maven only from HEAD.I want to checkout using tag But I am not able to checkout through tag. Please help me out from this issue I am using like this scm:cvs:pserver:${myname}:[EMAIL PROTECTED]: //CVSHOME:aa/bb/${mybranch} scm:cvs

RE: support for development of a pure javascript library

2008-04-22 Thread Richard Chamberlain
Thanks Guys, I'll let you know how I get on. -Original Message- From: Manos Batsis [mailto:[EMAIL PROTECTED] Sent: 22 April 2008 08:55 To: Richard Chamberlain Cc: Maven Users List Subject: Re: support for development of a pure javascript library Hello Richard, Richard Chamberlain wrot

Maven Jar plugin 2.0 : ClassPath in manifest

2008-04-22 Thread Thomas Darbois
Hello I'm having trouble with a multi module project that I m working on. I need a class path inside the manifest of the built jar (plugin maven jar and configuration true in my parent pom defined in pluginManagement). The classpath is perfectly formatted when I'm running the project from the

Re: collection of dependencies

2008-04-22 Thread Jan Torben Heuer
Wendy Smoak wrote: > http://maven.apache.org/plugins/maven-assembly-plugin/descriptor-refs.html > > If that's not quite it, you can write your own assembly descriptor > that does exactly what you need. Where do I have to put the tag? The following doesn't work: maven-a

Mirroring a repository at SourceForge

2008-04-22 Thread Rodrigo Ru’iz
Hi all, I am setting up a Maven2 repository at a SourceForge project, and preparing it for automatic mirroring to Central. After looking at the guide I have a few doubts: First, I see many projects at sf use "mavensync" as the username for rsync, but I have found no mention to this user in a

Re: support for development of a pure javascript library

2008-04-22 Thread Manos Batsis
Hello Richard, Richard Chamberlain wrote: Does anyone on the list develop JavaScript with Maven? What tools do you use? You might also want to take a look at our maven-jstools-plugin. It does have JSDoc and deps support, as well as a resolution mechanism for those in webapps. http://dev.a

M2Eclipse -workspace resolution

2008-04-22 Thread hermod.opstvedt
Hi Anybody else having problems with m2eclipse and workspace resolution for Web projects in Eclipse? Hermod * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This email with attachments is solely for the use of the individual or entity to whom it is addressed. Please a

TestNG and executing specific groups

2008-04-22 Thread Andrew Swift
I am unable to select which groups should be executed when using maven2 with testNG. >From the documentation it looks like this should be possible. org.apache.maven.plugins maven-surefire-plugin

Re: support for development of a pure javascript library

2008-04-22 Thread nicolas de loof
I created the javascript maven tools at Mojo You can use it to build, test and package pure javascript libraries with maven http://mojo.codehaus.org/javascript-maven-tools/guide-javascript-development.html As it is not released yet, to use this plugin you'll need to declare codehaus sandbox repos