Re: Maven 2.0.5

2008-07-31 Thread Rune Flobakk
I am assuming you are using "mvn clean" since the maven-clean-plugin is running. Running "mvn clean" causes a different lifecycle than the default one to run, and it doesn't contain the "validate" phase. The clean lifecycle has these phases [1]: -pre-clean -clean -post-clean If you bind the an

Re: Maven Presentation

2008-07-31 Thread Jason van Zyl
Ping me offline and you can have one of the 12 Maven presentations I've given over the years as a starting point. On 31-Jul-08, at 4:08 PM, Chris Pall wrote: I'll be giving a Maven presentation in the next couple of months, and wanted to know if anyone had any good resources on this sort of

Re: nexus unable to download artifacts

2008-07-31 Thread freak182
Hello, here is the scenario to make it more clear: 1. a fresh install apache maven and set the mirror to internal repo to nexus (nexus is also fresh install and configured to point to maven central repo) 2. get a existing maven project and run mvn eclipse:eclipse Thanks a lot. Cheers.

Re: Release Plugin - Resolving Snapshot Dependencies

2008-07-31 Thread Geoffrey Wiseman
On Thu, Jul 31, 2008 at 7:11 PM, Craig <[EMAIL PROTECTED]> wrote: > Geoffrey, > > Could it be this bug http://jira.codehaus.org/browse/MRELEASE-350 ? > > Try choosing option '1' instead of option '0'. > > regards, > Craig > I'm fairly certain I tried 1 as well, but without having done so in the l

Re: nexus unable to download artifacts

2008-07-31 Thread Brian E. Fox
Hard to say. What things are missing? Are they snapshots, plugins, other? On 7/31/08 4:46 AM, "freak182" <[EMAIL PROTECTED]> wrote: > > > Hello, > I install sonatype nexus as repo manager.I configure maven settings xml as > describe in the tutorial. But when i simply run mvn clean with empty l

Re: [m2] maven-checkstyle-plugin, v2.2 - includeTestSourceDirectory, xref links broken

2008-07-31 Thread Dan Rollo
Hi Dennis, Done: http://jira.codehaus.org/browse/MCHECKSTYLE-99 Title: should use default test sources xref output dir: ${project.reporting.outputDirectory}/xref-test http://jira.codehaus.org/browse/MCHECKSTYLE-100 Title: Using element truncates xref link to "production" (non-test) classes

Maven 2.0.5

2008-07-31 Thread Morgovsky, Alexander (US - Glen Mills)
I have an antrun plugin which has the following definition..however, even though I bind it to the validate phase, it doesn't run first, the Maven Clean Plugin runs first...How can have this run first? Thanks. clean

Re: Release Plugin - Resolving Snapshot Dependencies

2008-07-31 Thread Craig
Geoffrey, Could it be this bug http://jira.codehaus.org/browse/MRELEASE-350 ? Try choosing option '1' instead of option '0'. regards, Craig On Thu, Jul 31, 2008 at 2:18 AM, Geoffrey Wiseman < [EMAIL PROTECTED]> wrote: > When I'm using the Maven release plugin in a project that depends on > sna

Maven Presentation

2008-07-31 Thread Chris Pall
I'll be giving a Maven presentation in the next couple of months, and wanted to know if anyone had any good resources on this sort of thing. I want to highlight how Maven is significantly better than what we are currently doing, which is relatively typical: ant scripts with custom deploy systems (t

Re: [SURVEY] Which plugin would you like us to release?

2008-07-31 Thread Dennis Lundberg
Thanks for your feedback Sam, I'll keep that in mind for the next survey. Samuel Le Berrigaud wrote: Hi Dennis, It would be nice to vote for multiple plugins. Picking only one plugin from this list is quite difficult… SaM On Fri, Aug 1, 2008 at 5:52 AM, Dennis Lundberg <[EMAIL PROTECTED]> wro

Re: [SURVEY] Which plugin would you like us to release?

2008-07-31 Thread Samuel Le Berrigaud
Hi Dennis, It would be nice to vote for multiple plugins. Picking only one plugin from this list is quite difficult… SaM On Fri, Aug 1, 2008 at 5:52 AM, Dennis Lundberg <[EMAIL PROTECTED]> wrote: > Hello everyone > > I'm going to try something new here. It's an experiment and we'll see how it >

Re: Maven 'deploy' relationship to large-scale software deployment

2008-07-31 Thread Brett Porter
2008/8/1 EJ Ciramella <[EMAIL PROTECTED]>: > I looked into this, but that wouldn't work. If you unpack say, a > profiles.xml file, it's too late in the build sequence. You'd need to > unpack, stop, start up your build again. And if you use a filter file, > you can't override those properties fro

Re: Maven 'deploy' relationship to large-scale software deployment

2008-07-31 Thread Wendy Smoak
On Thu, Jul 31, 2008 at 2:32 PM, stug23 <[EMAIL PROTECTED]> wrote: > I do find it interesting that there aren't more tools (well as far as I am > aware at this point...) that are designed specifically to perform > large-scale deployment from a Maven repository to multiple (in some cases > many ~10

RE: Maven 'deploy' relationship to large-scale software deployment

2008-07-31 Thread EJ Ciramella
Right - this is a slice of the answer and I agree - the real heart of the matter is, where does the configuration live? In settings.xml? Profiles.xml? Filter files? How can you reuse them in a deployment world where you're not using maven? I'd like to know how people are handling these things.

Re: Maven 'deploy' relationship to large-scale software deployment

2008-07-31 Thread stug23
Yes I have found that Cargo has some nice capabilities for deploying into remote containers, along with the war merging capability to address cases where services and/or other components need to be combined in certain deployments. I do find it interesting that there aren't more tools (well as far

Re: Maven 'deploy' relationship to large-scale software deployment

2008-07-31 Thread Brett Porter
2008/8/1 EJ Ciramella <[EMAIL PROTECTED]>: > This only hints at solutions to #2 below: > >> 2 - How does one deploy said generated application zip/tar file? >> There's nothing I can see supplied in any plugin to support large > scale >> deployments (say, six app servers, four web servers, a db serv

Eclipse -> Maven Integration

2008-07-31 Thread Morgovsky, Alexander (US - Glen Mills)
I would like to create a maven plugin in eclipse which will throw up a message box with radio buttons, check boxes, etc..What would be the way to start this? Thanks. This message (including any attachments) contains confidential information intended for a specific individual and purpose, and i

RE: Maven 'deploy' relationship to large-scale software deployment

2008-07-31 Thread EJ Ciramella
This only hints at solutions to #2 below: > 2 - How does one deploy said generated application zip/tar file? > There's nothing I can see supplied in any plugin to support large scale > deployments (say, six app servers, four web servers, a db server, a > utils server and another half dozen or so t

Re: Maven 'deploy' relationship to large-scale software deployment

2008-07-31 Thread Brett Porter
I think you'll find that Maven itself stops at the repository. So the best thing to do is to use tools that can take artifacts from the repository and deploy them. There are lots of other solutions around for doing this sort of thing beyond that point and they specialise in handling the new set of

PRofiles and Pom cleanup

2008-07-31 Thread Clifton
Wassup y'all? I've been maintaining a multi-module client/server Maven2 project for quite some time now and it's getting out of hand. One thing I'd like to know is how to properly arrange/configure profiles. To give an example of what I'm trying to do, we have multiple developer setups that we sup

RE: Maven 'deploy' relationship to large-scale software deployment

2008-07-31 Thread EJ Ciramella
No, I don't understand how to do it either. I just stepped out of a meeting where we were discussing how we can deploy the same set of applications (which _some_ share properties) across 10 - 15 different environments. Some environments have different configurations, some are carbon copies. Ther

RE: Release:branch from a tag

2008-07-31 Thread evans022
I have the same question. What is the correct steps in order to create a branch from a tag using the release:branch goal? Thank you, Jason Nick Stolwijk wrote: > > Can someone comment on this mail? Is the release:branch goal fitted to > create a branch from a tag and update the version number

[SURVEY] Which plugin would you like us to release?

2008-07-31 Thread Dennis Lundberg
Hello everyone I'm going to try something new here. It's an experiment and we'll see how it goes. I have set up a very simple survey over at SurveyMonkey, to get a feel for what you, our users, want us to do next when it comes to plugin releases. Remember, this is *not* about fixing issues - i

Re: [m2] maven-checkstyle-plugin, v2.2 - includeTestSourceDirectory, xref links broken

2008-07-31 Thread Dennis Lundberg
Hi Dan Please file these as 2 different issues for the Checkstyle Plugin: http://jira.codehaus.org/browse/MCHECKSTYLE Please include a complete pom.xml for each one, as it helps us to debug that particular issue. Dan Rollo wrote: I have configured the reporting section of my pom.xml to incl

[m2] maven-checkstyle-plugin, v2.2 - includeTestSourceDirectory, xref links broken

2008-07-31 Thread Dan Rollo
I have configured the reporting section of my pom.xml to include the jxr report AND the checkstyle report (with the element) as shown below: org.apache.maven.plugins maven-jxr-plugin 2.1

Re: [m2] What triggers attempt to download from: http://cvs.apache.org/maven-snapshot-repository ?

2008-07-31 Thread Dan Rollo
Subject: Re: [m2] What triggers attempt to download from: http://cvs.apache.org/maven-snapshot-repository ? Date: Tue, 29 Jul 2008 20:38:41 -0700 To: "Maven Users List" On Tue, Jul 29, 2008 at 2:36 PM, Dan Rollo <[EMAIL PROTECTED]><[EMAIL PROTECTED]>wrote: > > 1. Why are only SOME downloads hit

RE: Strange m2 2.0.9 behavior

2008-07-31 Thread EJ Ciramella
P.S. - how do we get notified there are changes (especially since I'm going to be forcing an older version)? -Original Message- From: EJ Ciramella [mailto:[EMAIL PROTECTED] Sent: Thursday, July 31, 2008 10:27 AM To: Maven Users List Subject: RE: Strange m2 2.0.9 behavior Done - MNG-3692

Re: Archiva and Nexus index

2008-07-31 Thread Brett Porter
not yet, but we intend to support it. http://markmail.org/message/irbmwkoxx6phqx7c 2008/7/31 Alexander Vaysberg <[EMAIL PROTECTED]>: > Hi, > can an "archiva" produce a "nexus" index? > > Alexander Vaysberg. > > - > To unsubscribe

Re: maven-test-plugin-1.8.2/plugin.jelly:46:72: : cannot find the path to add to specified by 'id': maven.test.compile.src.set

2008-07-31 Thread Lukas Theussl
You are using a custom goal in maven.xml, so we'd need to see what's in there to be able to help you. The maven.test.compile.src.set property [1] holds the directory of test sources so you probably need something like HTH, -Lukas [1] http://maven.apache.org/maven-1.x/plugins/test/propert

Re: how to make archetype resource copy as package structure

2008-07-31 Thread qrtt1
Hi Simone Gianni-2: I found something interesting that meta-data is needless. Using archetype:generate will work well, the resources is packaged to directory automatically. C:\temp>tree orz 列出資料夾 PATH 磁碟區序列號碼為 08A8-9415 C:\TEMP\ORZ └─src ├─main │ ├─java │ │ └─orz │ └─resourc

Custom properties injected within the execution of archetype:create

2008-07-31 Thread Alexandre Touret
Hello, I m currently trying to inject a custom property in the execution of the creation of a project my an archetype. I'd like to maven resolves this property like groupId or artifactId in a pom file. I tried to both inject the property in the command line (eg.: -Dmyproperty ) and the settings f

maven-test-plugin-1.8.2/plugin.jelly:46:72: : cannot find the path to add to specified by 'id': maven.test.compile.src.set

2008-07-31 Thread Alexey.Yudichev
I am getting the following internal exception in maven test plugin 1.8.2 working inside maven 1.1. Where is this property (maven.test.compile.src.set) supposed to be set initially? Errors stack : >> Unable to obtain goal [all:rebuildWithoutTest] >> File.. file:/C:/p4/tcw/TCW_S_Dev/fo_tcw_

Re: Where is the default "reports" reference?

2008-07-31 Thread Kathryn Huxtable
So no one wants to answer this? -K On Jul 28, 2008, at 6:08 AM, Kathryn Huxtable wrote: I'm wanting to edit the menu in my site for the "Project Documentation", which is produced by the site.xml line In particular, I want it not to be collapsable. An easy way to do that would be g

RE: Strange m2 2.0.9 behavior

2008-07-31 Thread EJ Ciramella
Done - MNG-3692 -Original Message- From: Brian E. Fox [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 30, 2008 8:36 PM To: Maven Users List Subject: RE: Strange m2 2.0.9 behavior Definitely news to me. Please file a bug in the war project as it shouldn't stomp on the regular resource pro

Re: Maven 'deploy' relationship to large-scale software deployment

2008-07-31 Thread stug23
Am I alone in needing to understand how Maven relates to large-scale software deployment? :confused: stug23 wrote: > > Maven has its own notion of 'deploying' a software artifact to a Maven > repository. And there are quite a number of 'out of band' Maven plugins > such as Cargo that can re

Archiva and Nexus index

2008-07-31 Thread Alexander Vaysberg
Hi, can an "archiva" produce a "nexus" index? Alexander Vaysberg. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: M 2.0.5 - Failure executing javac

2008-07-31 Thread Martin Gainty
Please restate the inquiry Martin USCitizen(Contractor) __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does no

Re: how to make archetype resource copy as package structure

2008-07-31 Thread Simone Gianni
Hi, I was struggling with the same problem just a few minutes ago, and seems like there is a solution. Instead of using the archetype.xml file to manage your resources, you can create a file name "archetype-metadata.xml", where you have more fine-graned managing of the archetype structure, for exa

Re: Maven WAR with self-classes as package

2008-07-31 Thread Mark Struberg
Hi! The problem may be the WebContent/WEB-INF/classes in your pom. Is your webapp stuff also in this WebContent folder? So you use it to generate the classes into your 'source' folder? Usually the classes go to target/classes and will be jared there. For what I remember, they will afterwards

how to make archetype resource copy as package structure

2008-07-31 Thread qrtt1
Hello, I create an archetype for my project. there are my archetype.xml archetype src/main/java/DummyNode.java src/test/java/DummyNodeTest.java src/main/resources/app-config.xml My *.j

Re: Maven WAR with self-classes as package

2008-07-31 Thread zm
My procedure was: mvn clean I've checked that the target folder has completely disappeared, and then mvn clean package The problem persists. Thanks Manuel EVENO wrote: > > Did you make a clean command before ? > > On Thu, Jul 31, 2008 at 10:53 AM, zm <[EMAIL PROTECTED]> wrote: > >> >>

Re: Maven WAR with self-classes as package

2008-07-31 Thread Manuel EVENO
Did you make a clean command before ? On Thu, Jul 31, 2008 at 10:53 AM, zm <[EMAIL PROTECTED]> wrote: > > It didn't work as expected ... :( > > I have the following in my pon.xml: > > > > WebContent/WEB-INF/classes > > >

Re: Maven WAR with self-classes as package

2008-07-31 Thread zm
It didn't work as expected ... :( I have the following in my pon.xml: WebContent/WEB-INF/classes org.apache.maven.plugins maven-war-plugin

nexus unable to download artifacts

2008-07-31 Thread freak182
Hello, I install sonatype nexus as repo manager.I configure maven settings xml as describe in the tutorial. But when i simply run mvn clean with empty local repository nexus doesn't download necessesary artifacts. Did i missed something on my configuration? Thanks a lot. Cheers. -- View this mes

Re: Maven WAR with self-classes as package

2008-07-31 Thread zm
WOW! AWESOME! :) I'll try this in a minute! Thanks Wendy Smoak-3 wrote: > > On Wed, Jul 30, 2008 at 10:27 AM, zm <[EMAIL PROTECTED]> wrote: > >> I have a WAR project that builds correctly in Maven2. >> >> What I want to know, is if there is a way of making maven to do an >> internal >> JAR

Re: excluding some .properties files

2008-07-31 Thread Jeff Mutonho
On Thu, Jul 31, 2008 at 10:04 AM, Stephen Connolly < [EMAIL PROTECTED]> wrote: > Have you tried using maven's default project layout? > > Nope , but I've finally got it working.It seems just listing the files (as shown below)I wish to excludes in successive tags DOESN'T work : sr

Re: Snapshot parent

2008-07-31 Thread sverhagen
Michael McCallum-3 wrote: > > On Thu, 31 Jul 2008 09:44:41 sverhagen wrote: >> In Continuous Integration spirit, we have snapshot dependencies between >> all >> our own components. >> We have also set components to use snapshots of their parents ( >> ... >> ...-SNAPSHOT). >> Is the latter good p

Re: excluding some .properties files

2008-07-31 Thread Stephen Connolly
Have you tried using maven's default project layout? On Thu, Jul 31, 2008 at 7:47 AM, Jeff Mutonho <[EMAIL PROTECTED]> wrote: > I've also tried this : > > > > src > > **/*.java > log4j.properties > manager.properties > > >messages

JMS plugin

2008-07-31 Thread Lustig, Marc (Allianz Deutschland, externer Mitarbeiter)
Somebody knows of a Maven2-plugin to send JMS-messages?

Re: PMD/CPD Maven 2 Plugin Question

2008-07-31 Thread Stephen Connolly
The pluginManagement is a section where you define the default configuration for any child projects if they decide to use the plugin, or if you invoke the plugin directly (i.e. outside of the lifecycle) The plugins section in the build defines the plugin configuration for that project and can over