RE: War plugin transitive dependency

2007-06-09 Thread Váry Péter
Hi Jo, Thanks for your help. My final soultion is to create a new type of artifact - warstub - with a plugin. I put the jars, htmls, etc to these artifacts, and set the dependencies for them. When I create a war I unpack the warstub artifacts to the new war file. Because of this bug: http://j

Re: Lifecyle Question

2007-06-09 Thread Mac Systems
Sound Good so far. But i get Confused as i through to know that maven will invoke each of the previous goals. Doing that with Cruise Control mean i have to install each time the snapshots ? the means i have to call somthing like this: "maven clean compile install package site-stage" Is tha

RE: Lifecyle Question

2007-06-09 Thread Jeff Jensen
Yes - install them to the repo on each build, no matter how (CC or manual), but only with "mvn clean install". "install" will run the prior lifecycle steps. -Original Message- From: Mac Systems [mailto:[EMAIL PROTECTED] Sent: Saturday, June 09, 2007 8:15 AM To: Maven Users List Subject:

Re: Lifecyle Question

2007-06-09 Thread Wendy Smoak
On 6/9/07, Mac Systems <[EMAIL PROTECTED]> wrote: Sound Good so far. But i get Confused as i through to know that maven will invoke each of the previous goals. Doing that with Cruise Control mean i have to install each time the snapshots ? the means i have to call somthing like this: "maven cl

Deploying secondary artifacts alongside the main project artifact

2007-06-09 Thread Olivier Dehon
Hi, I am trying to understand best practices around how to achieve the following: Every time the artifact produced by the project is deployed, I would like to deploy a secondary artifact (an XML file that has meta information about the artifact that will be used when the artifact is actually rel

Deployment problem

2007-06-09 Thread dcave555
Hi all i have 3 projects 1. A project - jar 2. B project - jar 3. C project war In Project A I have xml file in resources. Project B depends on Project A (included in pom.xml) Project C depends on Project B (oncluded in pom.xml) My problem is when the server starts to run Project C (war fil

Re: Deployment problem

2007-06-09 Thread Wendy Smoak
On 6/9/07, dcave555 <[EMAIL PROTECTED]> wrote: 1. A project - jar 2. B project - jar 3. C project war In Project A I have xml file in resources. Project B depends on Project A (included in pom.xml) Project C depends on Project B (oncluded in pom.xml) My problem is when the server starts to ru

Re: Deployment problem

2007-06-09 Thread dcave555
Wendy Smoak-3 wrote: > > On 6/9/07, dcave555 <[EMAIL PROTECTED]> wrote: > >> 1. A project - jar >> 2. B project - jar >> 3. C project war >> >> In Project A I have xml file in resources. >> Project B depends on Project A (included in pom.xml) >> Project C depends on Project B (oncluded in pom

Re: Lifecyle Question

2007-06-09 Thread Mac Systems
Ok, thanks it clearer now! On 6/9/07, Mac Systems <[EMAIL PROTECTED]> wrote: Sound Good so far. But i get Confused as i through to know that maven will invoke each of the previous goals. Doing that with Cruise Control mean i have to install each time the snapshots ? the means i have to call

Re: Deploying secondary artifacts alongside the main project artifact

2007-06-09 Thread Jason van Zyl
http://mojo.codehaus.org/build-helper-maven-plugin/index.html On 9 Jun 07, at 9:51 AM 9 Jun 07, Olivier Dehon wrote: Hi, I am trying to understand best practices around how to achieve the following: Every time the artifact produced by the project is deployed, I would like to deploy a secondar

Almost there

2007-06-09 Thread Jon Strayer
I'm trying to create my Maven 1 deployment process with Maven 2. I think I'm almost there. The end result is to be a tarball with the project jar and all dependencies in a lib directory and a scripts directory which has the startup script that calls a generated file that sets the class path. The

Clean Plugin and Blacklisted Repo

2007-06-09 Thread Mac Systems
Hello, on my build maschine i reinstalled most needed Plugins to get behind some problem i had before. Yesterday i made an clean on that project and maven wasnt able to connect to central repositoty to download the clean plugin. It got Blacklisted! Until now i do not know how to tell maven tha

Re: Question with Modules

2007-06-09 Thread Eric Redmond
Are your hbm files in the jar? Note that they must be under src/main/resources - they cannot be under src/main/java with the java code. Eric On 6/8/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hi, I am new to maven. I am trying to separate my project into at least 2 modules core and w

War Plugin not overwriting files?

2007-06-09 Thread Manos Batsis
I'm generating JSP and Java code with a custom Ant task and the Antrun plugin during the generate-sources phase. The JSP files are copied in ${project.build.directory}/${project.artifactId}-${project.version} The weird thing is that when the war plugin runs, it does not overwrite generated f

URL of local Artifact Downloading

2007-06-09 Thread Mac Systems
Hello, another Question: I have some Artifact installed (let's say j2ee jar in version 1.4 ) in my local Repo with "mvn -install " When build the project i see log messages loke this: Downloading : http://repo1.maven.org/maven2/j2ee/1.4/j2ee-1.4.jar Should this not look like : http:/

Re: Clean Plugin and Blacklisted Repo

2007-06-09 Thread Wendy Smoak
On 6/9/07, Mac Systems <[EMAIL PROTECTED]> wrote: on my build maschine i reinstalled most needed Plugins to get behind some problem i had before. Yesterday i made an clean on that project and maven wasnt able to connect to central repositoty to download the clean plugin. It got Blacklisted! Unti

Re: URL of local Artifact Downloading

2007-06-09 Thread Wendy Smoak
On 6/9/07, Mac Systems <[EMAIL PROTECTED]> wrote: I have some Artifact installed (let's say j2ee jar in version 1.4 ) in my local Repo with "mvn -install " When build the project i see log messages loke this: Downloading : http://repo1.maven.org/maven2/j2ee/1.4/j2ee-1.4.jar Should this n

Re: Clean Plugin and Blacklisted Repo

2007-06-09 Thread Mac Systems
Wendy Smoak schrieb: On 6/9/07, Mac Systems <[EMAIL PROTECTED]> wrote: on my build maschine i reinstalled most needed Plugins to get behind some problem i had before. Yesterday i made an clean on that project and maven wasnt able to connect to central repositoty to download the clean plugin. It

Re: assembly plugin, module sets, binaries and includeDependencies

2007-06-09 Thread Kalle Korhonen
The problem is your include rule that filters out anything that doesn't match it. Remove it and the dependencies would be included, only it would then include all of your modules and their dependencies. I remember seeing some talk about correcting the issue or maybe introducing a new syntax for th

Re: Clean Plugin and Blacklisted Repo

2007-06-09 Thread Wendy Smoak
On 6/9/07, Mac Systems <[EMAIL PROTECTED]> wrote: Ok, i will try that. Where is that Information stored (The blacklist of clean) ? The metadata files in your local repository store the last access date/time. It's not storing a blacklist, just applying the update policy to each repository. B

RE: profile activation rules

2007-06-09 Thread Den Orlov
Just realized that isn't so MNG-2136 doesn't make sense for my case. It looks like some bug. When I just mention desired profile at settings.xml: env-prod env-prod I got both as activated: mvn help:active-profiles -Dmaven.test.skip=t

profile activation rules

2007-06-09 Thread Den Orlov
I have one pom.xml profile that is activated as integration-test !maven.test.skip . and a set of env-specific profiles a kind of env-test

Re: profile activation rules

2007-06-09 Thread Wendy Smoak
On 6/9/07, Den Orlov <[EMAIL PROTECTED]> wrote: Just realized that isn't so MNG-2136 doesn't make sense for my case. It looks like some bug. When I just mention desired profile at settings.xml: ... Construct a sample project and a test script-- in this case just a complete pom.xml and setti

Redirects in ibiblio?

2007-06-09 Thread sharrissf
I was wondering if it would be possible to post a redirect to ibiblio that would take someone to a different maven repository to find what they are looking for. Sort of making ibiblio both a repository and a directory service for finding the proper repository for software? -- View this message in

Re: Continuum mail notification NPE

2007-06-09 Thread Wendy Smoak
Did you ever get help with this? We need more information-- what Continuum version, how did you configure the mail notifier, etc. Mail is working okay for other users, so I suspect a configuration issue. -- Wendy On 5/11/07, Christophe Hamerling - EBM WebSourcing <[EMAIL PROTECTED]> wrote: I