Re: Running ProGuard before signing a jar?

2011-03-30 Thread Chris von See
Manfred, this was a huge help - thanks!  I totally missed the part in  
the ProGuard docs that says you can specify a directory name in the  
 parameter...


I seem to have ProGuard running, although the most recent version  
(4.6) isn't in the Maven repos so I had to specify a dependency on  
release 4.4 until I can get 4.6 into my local repo.  I've included my  
final plugin definition below - note that this is for Mac OS X 10.5 so  
I needed to specify a different JVM runtime JAR that the "rt.jar" seen  
in the proguard-maven-plugin examples.



  com.pyx4me
  proguard-maven-plugin
  2.0.4
  
  
  process-classes
  proguard
   
  
  
   4.4
   true
   classes
   ${basedir}/src/main/resources/build/ 
proguard/plugins-convert-latin1.pro

   
	/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/ 
Contents/Classes/classes.jar





net.sf.proguard
proguard
4.4
runtime




Cheers
Chris



On Mar 30, 2011, at 4:12 PM, Manfred Moser wrote:


I'm a new user of Maven.  I have a POM that is creating a signed jar
using Maven 3.0.2 and maven-jar-plugin - that part seems to be  
working

well, but now I want to integrate ProGuard in order to obfuscate the
code before signing the JAR.  Ideally I'd like to obfuscate the code
before the Maven test phase so that tests will run on the obfuscated
code, but the ProGuard docs seem to imply that I can only obfuscate
the code after it's been packaged into a JAR.  Has anybody run
ProGuard on the pre-test-phase compiled classes, and if so how did  
you

set up your POM and ProGuard configuration?

If it's true that I can only obfuscate a JAR then I'm not clear on  
how

I would insert a ProGuard goal in between the point at which the JAR
to be signed is created and the actual signing process - the docs for
the proguard-maven-plugin aren't quite clear on how that's done.   
Do I
need to split the process into a jar creation step using the maven- 
jar-

plugin, a ProGuard step and then a signing step using the maven-
jarsigner-plugin? and if so, how can I set this up so that the goals
run in this order within the package phase without explicitly
specifying them on the command line?


In the android world this is exactly what you need to do too.. and I  
wrote

some blog posts that explain the details and link to a fully working
example implementation.

http://www.simpligility.com/2010/12/proguard-for-android-with-maven-without-shooting-yourself-in-the-foot/

http://www.simpligility.com/2010/12/hints-for-using-proguard-on-your-android-app/

That should explain it all.

manfred
http://simpligility.com


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Running ProGuard before signing a jar?

2011-03-30 Thread Manfred Moser
> I'm a new user of Maven.  I have a POM that is creating a signed jar
> using Maven 3.0.2 and maven-jar-plugin - that part seems to be working
> well, but now I want to integrate ProGuard in order to obfuscate the
> code before signing the JAR.  Ideally I'd like to obfuscate the code
> before the Maven test phase so that tests will run on the obfuscated
> code, but the ProGuard docs seem to imply that I can only obfuscate
> the code after it's been packaged into a JAR.  Has anybody run
> ProGuard on the pre-test-phase compiled classes, and if so how did you
> set up your POM and ProGuard configuration?
>
> If it's true that I can only obfuscate a JAR then I'm not clear on how
> I would insert a ProGuard goal in between the point at which the JAR
> to be signed is created and the actual signing process - the docs for
> the proguard-maven-plugin aren't quite clear on how that's done.  Do I
> need to split the process into a jar creation step using the maven-jar-
> plugin, a ProGuard step and then a signing step using the maven-
> jarsigner-plugin? and if so, how can I set this up so that the goals
> run in this order within the package phase without explicitly
> specifying them on the command line?

In the android world this is exactly what you need to do too.. and I wrote
some blog posts that explain the details and link to a fully working
example implementation.

http://www.simpligility.com/2010/12/proguard-for-android-with-maven-without-shooting-yourself-in-the-foot/

http://www.simpligility.com/2010/12/hints-for-using-proguard-on-your-android-app/

That should explain it all.

manfred
http://simpligility.com


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Reporting Plugins - How to change a dependency?

2011-03-30 Thread Hilco Wijbenga
> 2011/3/18 Hilco Wijbenga :
>> I want to use the latest Checkstyle (5.3). That's easy, I just replace
>> the Checkstyle plugin's (2.6) dependency to be 5.3. Now
>> checkstyle:checkstyle works with 5.3.
>>
>> It seems, however, that reporting plugins do not allow a
>>  element, so how do I tell Maven to use 5.3 instead of
>> 5.0?
On 19 March 2011 09:37, Olivier Lamy  wrote:
> Should work with maven 3 and the new configuration [1] Section "New
> Configuration"

Are you saying I can add a  section now? The XSD doesn't
seem to support that. And any previously configured plugin (in either
pluginManagement or plugins) is completely ignored, AFAICT.

> If not, load an issue.

I see that you've already upgraded to 5.3 in trunk. Do you plan to release soon?

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Running ProGuard before signing a jar?

2011-03-30 Thread Chris von See
I'm a new user of Maven.  I have a POM that is creating a signed jar  
using Maven 3.0.2 and maven-jar-plugin - that part seems to be working  
well, but now I want to integrate ProGuard in order to obfuscate the  
code before signing the JAR.  Ideally I'd like to obfuscate the code  
before the Maven test phase so that tests will run on the obfuscated  
code, but the ProGuard docs seem to imply that I can only obfuscate  
the code after it's been packaged into a JAR.  Has anybody run  
ProGuard on the pre-test-phase compiled classes, and if so how did you  
set up your POM and ProGuard configuration?


If it's true that I can only obfuscate a JAR then I'm not clear on how  
I would insert a ProGuard goal in between the point at which the JAR  
to be signed is created and the actual signing process - the docs for  
the proguard-maven-plugin aren't quite clear on how that's done.  Do I  
need to split the process into a jar creation step using the maven-jar- 
plugin, a ProGuard step and then a signing step using the maven- 
jarsigner-plugin? and if so, how can I set this up so that the goals  
run in this order within the package phase without explicitly  
specifying them on the command line?



Thanks,
Chris





Re: Making a report

2011-03-30 Thread Barrie Treloar
On Wed, Mar 30, 2011 at 9:33 PM, Benson Margulies  wrote:
> OK, let me try to state this more clearly.
>
> Reporting plugins like checkstyle and pmd and javadoc look for the
> output of their corresponding build plugins. If they don't find it,
> they fork a build lifecycle to build it. They aren't especially
> protected against stale data.
>
> I really can't fork build in this case, so I'll just fail.
>
> I'm not entirely thrilled with all of this, but it seems the best fit
> to the design of the site plugin's structure.

I think you will find somewhere, that the "building a site from maven"
while useful isn't a first class citizen in maven.
It works, but there are lots of things that could be done better.

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Custom tags in the pom

2011-03-30 Thread Phillip Hellewell
On Wed, Mar 30, 2011 at 7:20 AM, Wendy Smoak  wrote:
> On Wed, Mar 30, 2011 at 9:06 AM, Phillip Hellewell  wrote:
>> Is there any way short of recompiling Maven to allow custom tags in the 
>> pom.xml?
>>
>> Specifically, I would like to have a special tag inside .
>> It's ok if Maven ignores it; I will just look at it from my plugin
>> that will parse the pom manually if it has to.
>
> So... what problem are you trying to solve?  There may be another way
> short of recompiling Maven...

I am looking for a way to specify whether a dependency should cause a
version clash error or not.

Currently we have a plugin in place in our parent pom that produces an
error in the validate phase if there is a version clash (a dependency
in the tree twice with different versions).  However, we have found
that there are some scenarios where we want to allow version clash.

An alternative to the idea I had for adding a custom tag to the pom
would be to have our version checking plugin only produce version
clashes on certain components based on the name or classifier.  For
example, have it so that only components whose name ends with
"-interfaces" can produce a version clash.  If I go this route, then I
won't have to do anything funky like custom tags in the pom.

Phillip

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Custom tags in the pom

2011-03-30 Thread Phillip Hellewell
On Wed, Mar 30, 2011 at 10:29 AM, Stephen Connolly
 wrote:
> it's an xml document that is parsed by a parser that expects a
> specific structure

Thanks for the ideas everyone.  Yeah, I would probably look at using
namespaces, but the parser doesn't like that.  The comment idea works
of course, but so does using a PI like , so I will
probably go with using PIs if I can.  Does anyone know what
XmlPullParser will do when it encounters a PI?

Phillip

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Maven 2.2.0 is not running my reporting plugin. Hints?

2011-03-30 Thread Benson Margulies
Thanks for the reminder. 2.2.0 is the development target of this
reporting plugin, we actually run 2.2.1 in production.

On Wed, Mar 30, 2011 at 4:10 PM, Stephen Connolly
 wrote:
> don't use 2.2.0 it generates invalid checksums
>
> - Stephen
>
> ---
> Sent from my Android phone, so random spelling mistakes, random nonsense
> words and other nonsense are a direct result of using swype to type on the
> screen
> On 30 Mar 2011 19:20, "Benson Margulies"  wrote:
>> I've create a reporting plugin by cribbing closely from checkstyle.
>>
>> -X shows me:
>>
>> [DEBUG] Configuring mojo
>>
> 'com.basistech:seg-model-training-report-plugin:25-SNAPSHOT:seg-model-report'
>> -->
>> [DEBUG] (f) dataLocation =
>> /Users/benson/x/seg-models-trunk/zho/zho-train/target
>> [DEBUG] (f) outputDirectory =
>> /Users/benson/x/seg-models-trunk/zho/zho-train/target/site
>> [DEBUG] (f) project = MavenProject:
>> com.basistech.aps.models:zho-model:18-SNAPSHOT @
>> /Users/benson/x/seg-models-trunk/zho/zho-train/pom.xml
>> [DEBUG] -- end configuration --
>>
>> The execution of the report is in the reporting section of a profile.
>> help:effective-pom shows my report plugin included with the others
>> inherited from the parent that do in fact run.
>>
>> 
>> 
>> 
>> com.basistech
>> seg-model-training-report-plugin
>> ${perceptron-training-version}
>> 
>> 
>> 
>> seg-model-report
>> 
>> 
>> 
>> 
>> 
>> 
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
>> For additional commands, e-mail: users-h...@maven.apache.org
>>
>

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Maven 2.2.0 is not running my reporting plugin. Hints?

2011-03-30 Thread Stephen Connolly
don't use 2.2.0 it generates invalid checksums

- Stephen

---
Sent from my Android phone, so random spelling mistakes, random nonsense
words and other nonsense are a direct result of using swype to type on the
screen
On 30 Mar 2011 19:20, "Benson Margulies"  wrote:
> I've create a reporting plugin by cribbing closely from checkstyle.
>
> -X shows me:
>
> [DEBUG] Configuring mojo
>
'com.basistech:seg-model-training-report-plugin:25-SNAPSHOT:seg-model-report'
> -->
> [DEBUG] (f) dataLocation =
> /Users/benson/x/seg-models-trunk/zho/zho-train/target
> [DEBUG] (f) outputDirectory =
> /Users/benson/x/seg-models-trunk/zho/zho-train/target/site
> [DEBUG] (f) project = MavenProject:
> com.basistech.aps.models:zho-model:18-SNAPSHOT @
> /Users/benson/x/seg-models-trunk/zho/zho-train/pom.xml
> [DEBUG] -- end configuration --
>
> The execution of the report is in the reporting section of a profile.
> help:effective-pom shows my report plugin included with the others
> inherited from the parent that do in fact run.
>
> 
> 
> 
> com.basistech
> seg-model-training-report-plugin
> ${perceptron-training-version}
> 
> 
> 
> seg-model-report
> 
> 
> 
> 
> 
> 
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>


Re: One Agile automated CI build

2011-03-30 Thread Tim Pizey
Hi Brian,

I think we have a very simple system, and we do not use artefactory.

I hope I am right in thinkin g you are deploying a war.

We use jenkins with the following command:

mvn clean install deploy tomcat:deploy -Pstaging

this stores artifacts, be they snapshot or release, to the repository
and deploys to staging.

hope this makes sense

cheers
Tim

On 30 March 2011 19:24, Bryan Keech  wrote:
> Can anyone give details on how they have done this? I am running into road 
> blocks.
>
> If I leave the version as a non-snapshot, then Hudson deploys to artifactory 
> and overwrites the same version in the repo. I have toyed with using 
> install:install-file goal in the install phase.
>
> Thanks,
> Bryan
-- 
Tim Pizey - http://pizey.net/~timp
Centre for Genomics and Global Health - http://cggh.org

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: One Agile automated CI build

2011-03-30 Thread Kalle Korhonen
You are abusing the version system by trying to re-deploy different
bits as the same version. If you don't release, then you have
snapshots even if you preferred a different name for it. Why deploy
anywhere else if you just want to make those bits available to other
(Maven) users? You can simply use Jenkins as the Maven repository, see
http://wiki.jenkins-ci.org/display/JENKINS/Jenkins+Maven+Repository+Server

Kalle


On Wed, Mar 30, 2011 at 11:24 AM, Bryan Keech
 wrote:
> Can anyone give details on how they have done this? I am running into road 
> blocks.
>
> If I leave the version as a non-snapshot, then Hudson deploys to artifactory 
> and overwrites the same version in the repo. I have toyed with using 
> install:install-file goal in the install phase.
>
> Thanks,
> Bryan
>
> -Original Message-
> From: anders.g.ham...@gmail.com [mailto:anders.g.ham...@gmail.com] On Behalf 
> Of Anders Hammar
> Sent: Wednesday, March 30, 2011 1:18 PM
> To: Maven Users List
> Subject: Re: One Agile automated CI build
>
> No, it's a good idea.
>
> /Anders
>
> On Wed, Mar 30, 2011 at 18:01, Bryan Keech
> wrote:
>
>> Ok, is this a bad idea? I am wanting to have one ci build. Kind of this
>> flow:
>>
>> Developer checks in, ci build is done on Hudson, build is put on
>> artifactory, build can then be deployed to a dev, test or production server.
>>
>> Guess I am saying I don't want to do snapshot and release builds, but just
>> one automated build.
>>
>> Thanks,
>> Bryan
>>
>>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



RE: One Agile automated CI build

2011-03-30 Thread Bryan Keech
Can anyone give details on how they have done this? I am running into road 
blocks. 

If I leave the version as a non-snapshot, then Hudson deploys to artifactory 
and overwrites the same version in the repo. I have toyed with using 
install:install-file goal in the install phase. 

Thanks,
Bryan

-Original Message-
From: anders.g.ham...@gmail.com [mailto:anders.g.ham...@gmail.com] On Behalf Of 
Anders Hammar
Sent: Wednesday, March 30, 2011 1:18 PM
To: Maven Users List
Subject: Re: One Agile automated CI build

No, it's a good idea.

/Anders

On Wed, Mar 30, 2011 at 18:01, Bryan Keech
wrote:

> Ok, is this a bad idea? I am wanting to have one ci build. Kind of this
> flow:
>
> Developer checks in, ci build is done on Hudson, build is put on
> artifactory, build can then be deployed to a dev, test or production server.
>
> Guess I am saying I don't want to do snapshot and release builds, but just
> one automated build.
>
> Thanks,
> Bryan
>
>

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Maven 2.2.0 is not running my reporting plugin. Hints?

2011-03-30 Thread Benson Margulies
I've create a reporting plugin by cribbing closely from checkstyle.

-X shows me:

[DEBUG] Configuring mojo
'com.basistech:seg-model-training-report-plugin:25-SNAPSHOT:seg-model-report'
-->
[DEBUG]   (f) dataLocation =
/Users/benson/x/seg-models-trunk/zho/zho-train/target
[DEBUG]   (f) outputDirectory =
/Users/benson/x/seg-models-trunk/zho/zho-train/target/site
[DEBUG]   (f) project = MavenProject:
com.basistech.aps.models:zho-model:18-SNAPSHOT @
/Users/benson/x/seg-models-trunk/zho/zho-train/pom.xml
[DEBUG] -- end configuration --

The execution of the report is in the reporting section of a profile.
help:effective-pom shows my report plugin included with the others
inherited from the parent that do in fact run.

 
  

  com.basistech
  seg-model-training-report-plugin
  ${perceptron-training-version}
  

  
seg-model-report
  

  

  


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: One Agile automated CI build

2011-03-30 Thread Anders Hammar
No, it's a good idea.

/Anders

On Wed, Mar 30, 2011 at 18:01, Bryan Keech
wrote:

> Ok, is this a bad idea? I am wanting to have one ci build. Kind of this
> flow:
>
> Developer checks in, ci build is done on Hudson, build is put on
> artifactory, build can then be deployed to a dev, test or production server.
>
> Guess I am saying I don't want to do snapshot and release builds, but just
> one automated build.
>
> Thanks,
> Bryan
>
>


Javadoc plugin error: Error fetching link....

2011-03-30 Thread Chad La Joie
I have a multi-module project where each module inherits its 
specification from the parent POM.  Everything works fine except that
the Javadoc plug-in always gives the following error *before* it
generates the Javadoc for a module:

Error fetching link: /path/to/MODULE/target/apidocs/package-list.
Ignored it.

Why is the Javadoc plugin looking for the javadocs before it generates
them and treating their absence as an error?  It does, after printing
this error, proceed to generate the docs.

I'm using Maven 3.0.3 and Javadoc 2.7's jar goal (doing attached javadocs)

-- 
Chad La Joie
http://itumi.biz
trusted identities, delivered

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Best way to override build resources to be empty?

2011-03-30 Thread Laird Nelson
I have a build/resources stanza that is inherited.  In a sub-pom, I'd like
to override it to be empty.  Simply specifying  does not work.
What's the best way to accomplish this?

Best,
Laird


Re: Not all variables replaced when filtering

2011-03-30 Thread Asmann, Roland
On 30.03.2011 18:28, Asmann, Roland wrote:
> On 30.03.2011 18:11, Olivier Lamy wrote:
>  > Hello,
>  > I'm interested to have a sample project to reproduce :-).
>  > Can you attach it to a jira issue ?
>  >
>  > Thanks!
>
> Here you go: http://jira.codehaus.org/browse/MRESOURCES-141

Another addition:

I re-checked with 2.5, because I thought it strange that filtering would 
not work at all... It seems that in 2.5, only *some* of my variables get 
replaced!

When using 2.5 without the delimiter-configuration, my variables get 
replaced if they are not on the same line as the '@'.
If the configuration is used, everything works as it should.

Can also be checked with the project attached to 
http://jira.codehaus.org/browse/MRESOURCES-141.

-- 
Roland Asmann
Senior Software Engineer

adesso Austria GmbH
Floridotower 26. Stock  T +43 1 2198790-27
Floridsdorfer Hauptstr. 1   F +43 1 2198790-927
A-1210 Wien M +43 664 88657566
E roland.asm...@adesso.at
W www.adesso.at

-
 >>> business. people. technology. <<<
-

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: changing a long mvn command with many goals to a simple command?

2011-03-30 Thread stefan . hansel
Was happy too soon.

If I move the invoker plugin profile to my company-parent pom, then all 
steps to remove the recursion problem make it not work anymore for my 
multimodule build :(



-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Custom tags in the pom

2011-03-30 Thread Stephen Connolly
it's an xml document that is parsed by a parser that expects a
specific structure

On 30 March 2011 17:19, Stan Devitt  wrote:
> Either it is an xml document or it is not.  The fact remains that xml name 
> spaces were designed specifically to deal with this situation.  Trying to 
> re-implement the feature based on comments and/or PI's seems kind of risky 
> and certainly without general tooling support :)
>
> Stan
>
> -Original Message-
> From: Stephen Connolly [mailto:stephen.alan.conno...@gmail.com]
> Sent: Wednesday, March 30, 2011 12:15 PM
> To: Maven Users List
> Cc: Stan Devitt
> Subject: Re: Custom tags in the pom
>
> Modello may object to some uses of namespaces... suck it and see!
>
> On 30 March 2011 16:56, Stan Devitt  wrote:
>> Why not name spaces?
>>
>> -Original Message-
>> From: Stephen Connolly [mailto:stephen.alan.conno...@gmail.com]
>> Sent: Wednesday, March 30, 2011 9:48 AM
>> To: Maven Users List
>> Subject: Re: Custom tags in the pom
>>
>> how about XML PI's
>>
>> IIRC maven tools which rewrite the pom might strip them out, but
>> otherwise you'd be fine
>>
>> On 30 March 2011 14:06, Phillip Hellewell  wrote:
>>> Is there any way short of recompiling Maven to allow custom tags in the 
>>> pom.xml?
>>>
>>> Specifically, I would like to have a special tag inside .
>>> It's ok if Maven ignores it; I will just look at it from my plugin
>>> that will parse the pom manually if it has to.
>>>
>>> Thanks,
>>> Phillip
>>>
>>> -
>>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
>>> For additional commands, e-mail: users-h...@maven.apache.org
>>>
>>>
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
>> For additional commands, e-mail: users-h...@maven.apache.org
>>
>>
>> -
>> This transmission (including any attachments) may contain confidential 
>> information, privileged material (including material protected by the 
>> solicitor-client or other applicable privileges), or constitute non-public 
>> information. Any use of this information by anyone other than the intended 
>> recipient is prohibited. If you have received this transmission in error, 
>> please immediately reply to the sender and delete this information from your 
>> system. Use, dissemination, distribution, or reproduction of this 
>> transmission by unintended recipients is not authorized and may be unlawful.
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
>> For additional commands, e-mail: users-h...@maven.apache.org
>>
>>
>
> -
> This transmission (including any attachments) may contain confidential 
> information, privileged material (including material protected by the 
> solicitor-client or other applicable privileges), or constitute non-public 
> information. Any use of this information by anyone other than the intended 
> recipient is prohibited. If you have received this transmission in error, 
> please immediately reply to the sender and delete this information from your 
> system. Use, dissemination, distribution, or reproduction of this 
> transmission by unintended recipients is not authorized and may be unlawful.
>

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Not all variables replaced when filtering

2011-03-30 Thread Asmann, Roland
On 30.03.2011 18:11, Olivier Lamy wrote:
> Hello,
> I'm interested to have a sample project to reproduce :-).
> Can you attach it to a jira issue ?
>
> Thanks!

Here you go: http://jira.codehaus.org/browse/MRESOURCES-141

-- 
Roland Asmann
Senior Software Engineer

adesso Austria GmbH
Floridotower 26. Stock  T +43 1 2198790-27
Floridsdorfer Hauptstr. 1   F +43 1 2198790-927
A-1210 Wien M +43 664 88657566
E roland.asm...@adesso.at
W www.adesso.at

-
 >>> business. people. technology. <<<
-

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



RE: Custom tags in the pom

2011-03-30 Thread Stan Devitt
Either it is an xml document or it is not.  The fact remains that xml name 
spaces were designed specifically to deal with this situation.  Trying to 
re-implement the feature based on comments and/or PI's seems kind of risky and 
certainly without general tooling support :)

Stan

-Original Message-
From: Stephen Connolly [mailto:stephen.alan.conno...@gmail.com]
Sent: Wednesday, March 30, 2011 12:15 PM
To: Maven Users List
Cc: Stan Devitt
Subject: Re: Custom tags in the pom

Modello may object to some uses of namespaces... suck it and see!

On 30 March 2011 16:56, Stan Devitt  wrote:
> Why not name spaces?
>
> -Original Message-
> From: Stephen Connolly [mailto:stephen.alan.conno...@gmail.com]
> Sent: Wednesday, March 30, 2011 9:48 AM
> To: Maven Users List
> Subject: Re: Custom tags in the pom
>
> how about XML PI's
>
> IIRC maven tools which rewrite the pom might strip them out, but
> otherwise you'd be fine
>
> On 30 March 2011 14:06, Phillip Hellewell  wrote:
>> Is there any way short of recompiling Maven to allow custom tags in the 
>> pom.xml?
>>
>> Specifically, I would like to have a special tag inside .
>> It's ok if Maven ignores it; I will just look at it from my plugin
>> that will parse the pom manually if it has to.
>>
>> Thanks,
>> Phillip
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
>> For additional commands, e-mail: users-h...@maven.apache.org
>>
>>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>
> -
> This transmission (including any attachments) may contain confidential 
> information, privileged material (including material protected by the 
> solicitor-client or other applicable privileges), or constitute non-public 
> information. Any use of this information by anyone other than the intended 
> recipient is prohibited. If you have received this transmission in error, 
> please immediately reply to the sender and delete this information from your 
> system. Use, dissemination, distribution, or reproduction of this 
> transmission by unintended recipients is not authorized and may be unlawful.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>

-
This transmission (including any attachments) may contain confidential 
information, privileged material (including material protected by the 
solicitor-client or other applicable privileges), or constitute non-public 
information. Any use of this information by anyone other than the intended 
recipient is prohibited. If you have received this transmission in error, 
please immediately reply to the sender and delete this information from your 
system. Use, dissemination, distribution, or reproduction of this transmission 
by unintended recipients is not authorized and may be unlawful.

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Not all variables replaced when filtering

2011-03-30 Thread Asmann, Roland
> I found that I have 7 '@' in my file and the variables *after* the 7th
> '@' weren't replaced!

To clarify: removing one or adding one worked like a charm!

-- 
Roland Asmann
Senior Software Engineer

adesso Austria GmbH
Floridotower 26. Stock  T +43 1 2198790-27
Floridsdorfer Hauptstr. 1   F +43 1 2198790-927
A-1210 Wien M +43 664 88657566
E roland.asm...@adesso.at
W www.adesso.at

-
 >>> business. people. technology. <<<
-


Re: Custom tags in the pom

2011-03-30 Thread Stephen Connolly
Modello may object to some uses of namespaces... suck it and see!

On 30 March 2011 16:56, Stan Devitt  wrote:
> Why not name spaces?
>
> -Original Message-
> From: Stephen Connolly [mailto:stephen.alan.conno...@gmail.com]
> Sent: Wednesday, March 30, 2011 9:48 AM
> To: Maven Users List
> Subject: Re: Custom tags in the pom
>
> how about XML PI's
>
> IIRC maven tools which rewrite the pom might strip them out, but
> otherwise you'd be fine
>
> On 30 March 2011 14:06, Phillip Hellewell  wrote:
>> Is there any way short of recompiling Maven to allow custom tags in the 
>> pom.xml?
>>
>> Specifically, I would like to have a special tag inside .
>> It's ok if Maven ignores it; I will just look at it from my plugin
>> that will parse the pom manually if it has to.
>>
>> Thanks,
>> Phillip
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
>> For additional commands, e-mail: users-h...@maven.apache.org
>>
>>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>
> -
> This transmission (including any attachments) may contain confidential 
> information, privileged material (including material protected by the 
> solicitor-client or other applicable privileges), or constitute non-public 
> information. Any use of this information by anyone other than the intended 
> recipient is prohibited. If you have received this transmission in error, 
> please immediately reply to the sender and delete this information from your 
> system. Use, dissemination, distribution, or reproduction of this 
> transmission by unintended recipients is not authorized and may be unlawful.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Not all variables replaced when filtering

2011-03-30 Thread Olivier Lamy
Hello,
I'm interested to have a sample project to reproduce :-).
Can you attach it to a jira issue ?

Thanks!

2011/3/30 Asmann, Roland :
> OK, found it... It seems the bug with '@' from the 2.4 release still
> isn't fixed (correctly).
>
> I found that I have 7 '@' in my file and the variables *after* the 7th
> '@' weren't replaced!
>
> In my tries with the delimiters, I forgot to tell Maven not to use the
> defaults -- this did the trick for me!
>
>
> On 30.03.2011 17:58, Wayne Fay wrote:
>>  > I even tried to add some other variables, but it seems that at a certain
>>  > point, it just stops replacing them!
>>  >
>>  > Does anybody know what I can do to get this working?
>>
>> Clearly, reduce the number of variables... ;-) (that's a wink... its a joke)
>>
>> I've never run into this but I don't have all that many variables to
>> replace in general. Perhaps you can create a super simplified sample
>> project that demonstrates the behavior so someone can debug it?
>>
>> Wayne
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
>> For additional commands, e-mail: users-h...@maven.apache.org
>>
>
> --
> Roland Asmann
> Senior Software Engineer
>
> adesso Austria GmbH
> Floridotower 26. Stock              T +43 1 2198790-27
> Floridsdorfer Hauptstr. 1           F +43 1 2198790-927
> A-1210 Wien                         M +43 664 88657566
>                                    E roland.asm...@adesso.at
>                                    W www.adesso.at
>
> -
>             >>> business. people. technology. <<<
> -
>



-- 
Olivier Lamy
http://twitter.com/olamy
http://www.linkedin.com/in/olamy

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Not all variables replaced when filtering

2011-03-30 Thread Asmann, Roland
OK, found it... It seems the bug with '@' from the 2.4 release still 
isn't fixed (correctly).

I found that I have 7 '@' in my file and the variables *after* the 7th 
'@' weren't replaced!

In my tries with the delimiters, I forgot to tell Maven not to use the 
defaults -- this did the trick for me!


On 30.03.2011 17:58, Wayne Fay wrote:
>  > I even tried to add some other variables, but it seems that at a certain
>  > point, it just stops replacing them!
>  >
>  > Does anybody know what I can do to get this working?
>
> Clearly, reduce the number of variables... ;-) (that's a wink... its a joke)
>
> I've never run into this but I don't have all that many variables to
> replace in general. Perhaps you can create a super simplified sample
> project that demonstrates the behavior so someone can debug it?
>
> Wayne
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>

-- 
Roland Asmann
Senior Software Engineer

adesso Austria GmbH
Floridotower 26. Stock  T +43 1 2198790-27
Floridsdorfer Hauptstr. 1   F +43 1 2198790-927
A-1210 Wien M +43 664 88657566
E roland.asm...@adesso.at
W www.adesso.at

-
 >>> business. people. technology. <<<
-


One Agile automated CI build

2011-03-30 Thread Bryan Keech
Ok, is this a bad idea? I am wanting to have one ci build. Kind of this flow:

Developer checks in, ci build is done on Hudson, build is put on artifactory, 
build can then be deployed to a dev, test or production server.

Guess I am saying I don't want to do snapshot and release builds, but just one 
automated build.

Thanks,
Bryan



Re: Not all variables replaced when filtering

2011-03-30 Thread Wayne Fay
> I even tried to add some other variables, but it seems that at a certain
> point, it just stops replacing them!
>
> Does anybody know what I can do to get this working?

Clearly, reduce the number of variables... ;-) (that's a wink... its a joke)

I've never run into this but I don't have all that many variables to
replace in general. Perhaps you can create a super simplified sample
project that demonstrates the behavior so someone can debug it?

Wayne

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



RE: Custom tags in the pom

2011-03-30 Thread Stan Devitt
Why not name spaces?

-Original Message-
From: Stephen Connolly [mailto:stephen.alan.conno...@gmail.com]
Sent: Wednesday, March 30, 2011 9:48 AM
To: Maven Users List
Subject: Re: Custom tags in the pom

how about XML PI's

IIRC maven tools which rewrite the pom might strip them out, but
otherwise you'd be fine

On 30 March 2011 14:06, Phillip Hellewell  wrote:
> Is there any way short of recompiling Maven to allow custom tags in the 
> pom.xml?
>
> Specifically, I would like to have a special tag inside .
> It's ok if Maven ignores it; I will just look at it from my plugin
> that will parse the pom manually if it has to.
>
> Thanks,
> Phillip
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org


-
This transmission (including any attachments) may contain confidential 
information, privileged material (including material protected by the 
solicitor-client or other applicable privileges), or constitute non-public 
information. Any use of this information by anyone other than the intended 
recipient is prohibited. If you have received this transmission in error, 
please immediately reply to the sender and delete this information from your 
system. Use, dissemination, distribution, or reproduction of this transmission 
by unintended recipients is not authorized and may be unlawful.

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



NPE when trying to install an archetype

2011-03-30 Thread SCHNEIDER-DUFEUTRELLE Maxime
Hi all,

I'd like to make my own artifact/archetype and I'm facing an issue when trying 
to install it, precisely when it tries to make the jar file.

Here is the output :

C:\HOMEWARE\Maxime\myartifact >mvn install
[INFO] Scanning for projects...
[INFO] 
[INFO] Building myartifact
[INFO]task-segment: [install]
[INFO] 
[INFO] [resources:resources {execution: default-resources}]
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, 
i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory C:\HOMEWARE\Maxime\ myartifact 
\src\main\resources
[INFO] [resources:testResources {execution: default-testResources}]
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, 
i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory 
C:\HOMEWARE\Maxime\myartifact\src\test\resources
[INFO] [archetype:jar {execution: default-jar}]
[INFO] 
[ERROR] FATAL ERROR
[INFO] 
[INFO] null
[INFO] 
[INFO] Trace
java.lang.NullPointerException
at 
org.apache.maven.archetype.DefaultArchetypeManager.zipper(DefaultArchetypeManager.java:108)
at 
org.apache.maven.archetype.DefaultArchetypeManager.zip(DefaultArchetypeManager.java:98)
at 
org.apache.maven.archetype.DefaultArchetypeManager.archiveArchetype(DefaultArchetypeManager.java:81)
at org.apache.maven.archetype.mojos.JarMojo.execute(JarMojo.java:88)
at 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:55
6)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.jav
a:387)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
at 
org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[INFO] 
[INFO] Total time: 1 second
[INFO] Finished at: Wed Mar 30 17:16:23 CEST 2011
[INFO] Final Memory: 14M/34M
[INFO] 


The "myartifact" folder contains a pom :


http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd"; 
xmlns="http://maven.apache.org/POM/4.0.0";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
  4.0.0
  org.apache.maven.dotnet
  myartifact
  0.1-SNAPSHOT
  maven-archetype
  myartifact
  

  

org.apache.maven.archetype

archetype-packaging
  


  

maven-archetype-plugin
true
  

  


Another pom in myartifact\archetype-resources and a archetype.xml in 
myartifact\META-INF\maven.
I followed http://maven.apache.org/guides/mini/guide-creating-archetypes.html .

Does anyone know where it could come from ? Let me know if you need some other 
information to help me.

Thanks in advance,
Regards,
Maxime
*
This message and any attachments (the "me

Not all variables replaced when filtering

2011-03-30 Thread Asmann, Roland
Hi all,

I am running Maven 2.2.1 and am using the resources-plugin 2.4.3 and for 
some reason Maven only replaces 6 instances of my 7 variable definitions 
(or better said: 30 of my 35 variables).

I tries setting the delimiter (since this was a bug in 2.4 if I remember 
correctly), but this didn't fix the issue.

I tried updating to 2.5, but this does no filtering whatsoever!

I even tried to add some other variables, but it seems that at a certain 
point, it just stops replacing them!

Does anybody know what I can do to get this working?

I've attached the file I am trying to filter, maybe I overlooked something?

Using these values:
localhost
1521
ORCL
hippo
hippo


Thanks.

-- 
Roland Asmann
Senior Software Engineer

adesso Austria GmbH
Floridotower 26. Stock  T +43 1 2198790-27
Floridsdorfer Hauptstr. 1   F +43 1 2198790-927
A-1210 Wien M +43 664 88657566
E roland.asm...@adesso.at
W www.adesso.at

-
 >>> business. people. technology. <<<
-

http://jackrabbit.apache.org/dtd/repository-1.5.dtd";>

  





  
  


  
  
  

  
  
  
  
  


  
  
  
  
  
  
  
  


  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  

  
  

  
  
  
  
  


  
  
  
  
  
  
  
  

  
  

  
  

  
  
  
  
  
  

  
  








  


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Re: Issue with mvn3 timestamp snapshots being downloaded in local repository

2011-03-30 Thread Wayne Fay
> Maybe you should start to use a proper mailer instead ... ;-)

Blame Nabble. All these people use Nabble instead of being subscribed
properly and that stupid site strips XML.

Wayne

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Custom tags in the pom

2011-03-30 Thread Stephen Connolly
how about XML PI's

IIRC maven tools which rewrite the pom might strip them out, but
otherwise you'd be fine

On 30 March 2011 14:06, Phillip Hellewell  wrote:
> Is there any way short of recompiling Maven to allow custom tags in the 
> pom.xml?
>
> Specifically, I would like to have a special tag inside .
> It's ok if Maven ignores it; I will just look at it from my plugin
> that will parse the pom manually if it has to.
>
> Thanks,
> Phillip
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Custom tags in the pom

2011-03-30 Thread Rafael Vanderlei
Maybe it´s not the best way, but if you´re possibly willing to manually
parse the pom, I believe you could just insert a XML Comment (like ) and the XML parsing framework would be able to see it.

On Wed, Mar 30, 2011 at 10:06 AM, Phillip Hellewell wrote:

> Is there any way short of recompiling Maven to allow custom tags in the
> pom.xml?
>
> Specifically, I would like to have a special tag inside .
> It's ok if Maven ignores it; I will just look at it from my plugin
> that will parse the pom manually if it has to.
>
> Thanks,
> Phillip
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>


Re: Custom tags in the pom

2011-03-30 Thread Wendy Smoak
On Wed, Mar 30, 2011 at 9:06 AM, Phillip Hellewell  wrote:
> Is there any way short of recompiling Maven to allow custom tags in the 
> pom.xml?
>
> Specifically, I would like to have a special tag inside .
> It's ok if Maven ignores it; I will just look at it from my plugin
> that will parse the pom manually if it has to.

So... what problem are you trying to solve?  There may be another way
short of recompiling Maven...

-- 
Wendy

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Custom tags in the pom

2011-03-30 Thread Phillip Hellewell
Is there any way short of recompiling Maven to allow custom tags in the pom.xml?

Specifically, I would like to have a special tag inside .
It's ok if Maven ignores it; I will just look at it from my plugin
that will parse the pom manually if it has to.

Thanks,
Phillip

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Antwort: Re: changing a long mvn command with many goals to a simple command?

2011-03-30 Thread stefan . hansel
>> 1. needs to be bound in a non-default profile
>> 2. needs to have false to stop the child
>> projects running invoker
>> 3. need to set invoker.nonRecursive or invoker.nonRecursive.N where N
>> is the invokation you want only on the root pom.

Now invoker plugin is doing what I want now!
Thanks a lot!


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Versions in dependencyManagement vs dependency?

2011-03-30 Thread Laird Nelson
On Wed, Mar 30, 2011 at 12:44 AM, Anders Hammar  wrote:

> Be aware that you're talking of two different strategies. Using a pom
> artifact as a dependency and using import scope to import depMgmt declared
> in another pom. Two different things!
>

Yes, that's exactly my point.  I've seen import scope documented before, but
I've not seen simply having a dependency of type pom documented anywhere on
the Maven site.

Thanks,
Laird


Re: changing a long mvn command with many goals to a simple command?

2011-03-30 Thread Stephen Connolly
On 30 March 2011 13:27,   wrote:
>>> Please always keep replies on the list for future queries.
> Sorry, answered to the wrong mail, will keep an eye on it in the future.
>
>>> Maven invoker plugin could do what you want... you would bind it in a
>>> profile to e.g. the validate phase of the lifecycle. then you can use
>>> defaultGoal as validate and have invoker invoke all that you need
>
> I tried that first! (see the config from my first post)
> But in a multimodule build I get an unwanted recursion.

1. needs to be bound in a non-default profile
2. needs to have false to stop the child
projects running invoker
3. need to set invoker.nonRecursive or invoker.nonRecursive.N where N
is the invokation you want only on the root pom.

>
> Think of invoker plugin, bound to validate, just calling 'site'.
> Now running:
>
> mvn -PinvokerPluginCallingSite
>
> starts a reactor build with the phase validate in the following order:
> [INFO] -
> [INFO] Reactor Build Order:
> [INFO]
> [INFO] Master
> [INFO] MasterSub1
> [INFO] MasterSub2
> [INFO]
>
> and now invoker-plugin calls site for
> Master => (still a full multimodule build, which runs site for Master,
> MasterSub1, MasterSub2)
> MasterSub1 => (unwanted extra site)
> MasterSub2 => (unwanted extra site)
>
> That's why I didn't succeed with the invoker plugin.
>
> Cheers
> Stefan
>

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: changing a long mvn command with many goals to a simple command?

2011-03-30 Thread stefan . hansel
>> Please always keep replies on the list for future queries.
Sorry, answered to the wrong mail, will keep an eye on it in the future.

>> Maven invoker plugin could do what you want... you would bind it in a
>> profile to e.g. the validate phase of the lifecycle. then you can use
>> defaultGoal as validate and have invoker invoke all that you need

I tried that first! (see the config from my first post)
But in a multimodule build I get an unwanted recursion.

Think of invoker plugin, bound to validate, just calling 'site'.
Now running:

mvn -PinvokerPluginCallingSite 

starts a reactor build with the phase validate in the following order:
[INFO] -
[INFO] Reactor Build Order:
[INFO]
[INFO] Master
[INFO] MasterSub1
[INFO] MasterSub2
[INFO]

and now invoker-plugin calls site for 
Master => (still a full multimodule build, which runs site for Master, 
MasterSub1, MasterSub2)
MasterSub1 => (unwanted extra site)
MasterSub2 => (unwanted extra site)

That's why I didn't succeed with the invoker plugin.

Cheers
Stefan

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: changing a long mvn command with many goals to a simple command?

2011-03-30 Thread Stephen Connolly
Please always keep replies on the list for future queries.

On 30 March 2011 12:56,   wrote:
>>> At the root project create a profile for running these tasks, e.g.
>>>
>>> 
>>>   my-superugly-hack
>>>   ...
>>> 
>
>>> into that profile you put a  section with a 
>>> containing all the stuff you want to do separated by spaces
>
> Yes - works as expected, thank you very much!
>
> Care to elaborate why you consider this to be a superugly-hack?
>
> - because I have to call so many goals to circumvent maven limitations (at
> least I didn't find another way yet), or

Nope

> - because using a profile this way is not recommended or

More that specifying anything other than a single lifecycle phase is
not supposed to be supported IIRC... so you are relying on a bug =>
hack

> - both ?
>
> If anyone tells me another way how to call some goals after all childs
> have been built, I'm happy to use this instead!

Maven invoker plugin could do what you want... you would bind it in a
profile to e.g. the validate phase of the lifecycle. then you can use
defaultGoal as validate and have invoker invoke all that you need

Note that you may run into issues if you require to fetch something
out of the reactor for your subsequent invokations... but at least you
can have invoker invoke all the goals in one go... and that is a
supported way to invoke multiple goals

>
> Cheers
> Stefan
>
>

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Re: changing a long mvn command with many goals to a simple command?

2011-03-30 Thread Stephen Connolly
Also it is important to note that this trick only works if the profile
id contains the string "-superugly-hack"

On 30 March 2011 12:34, Stephen Connolly
 wrote:
> At the root project create a profile for running these tasks, e.g.
>
> 
>  my-superugly-hack
>  ...
> 
>
> into that profile you put a  section with a 
> containing all the stuff you want to do separated by spaces
>
> ideally you would also configure all the executions and the
> default-cli executions of the mojos you are invoking directly
>
> then
>
> mvn -Pmy-superugly-hack
>
> and your grandmother has just given birth to a boy... she'll calling him bob.
>
> -Stephen
> On 30 March 2011 12:14,   wrote:
 Bind the goals you want to run to chosen phases.
>>
>> This unfortuntaly is not possible in a multimodule build,  let's take the
>> dashboard plugin as an example:
>>
>> The dashboard:dashboard needs to run AFTER the full site has been created
>> in a multimodule build (because it needs access to all checkstyle.xml of
>> all child builds).
>> This is because if it is just bound to some phase it would run in the
>> following order:
>>
>> Parent-Build: dashboard (<= empty, as the dashboard want's to aggregate
>> sub-builds, which didn't run yet)
>> Child-Build1: dashboard (creates a dashboard for that child)
>> Child-Build2: dashboard (dito)
>> Build succesful.
>>
>> Now unfortunately the dashboard-report for the Parent-Build is still empty
>> (and actually it's the most important report aggregating all others and
>> giving a good overview).
>> That's why
>> dashboard:dashboard
>> is run as a seperate goal after the full buildcycle: it is then able to
>> get any report it want's to aggregate.
>>
>> It's the same with clover. On the parent-level to create a report, the
>> childs need to be build first, for clover to be able to create a report
>> aggregating all childs.
>> Unfortunately maven decides not to build the childs first before running
>> the life-cycle for the parent.
>>
>> Regards
>> Stefan
>>
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
>> For additional commands, e-mail: users-h...@maven.apache.org
>>
>>
>

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Re: changing a long mvn command with many goals to a simple command?

2011-03-30 Thread Stephen Connolly
At the root project create a profile for running these tasks, e.g.


  my-superugly-hack
  ...


into that profile you put a  section with a 
containing all the stuff you want to do separated by spaces

ideally you would also configure all the executions and the
default-cli executions of the mojos you are invoking directly

then

mvn -Pmy-superugly-hack

and your grandmother has just given birth to a boy... she'll calling him bob.

-Stephen
On 30 March 2011 12:14,   wrote:
>>> Bind the goals you want to run to chosen phases.
>
> This unfortuntaly is not possible in a multimodule build,  let's take the
> dashboard plugin as an example:
>
> The dashboard:dashboard needs to run AFTER the full site has been created
> in a multimodule build (because it needs access to all checkstyle.xml of
> all child builds).
> This is because if it is just bound to some phase it would run in the
> following order:
>
> Parent-Build: dashboard (<= empty, as the dashboard want's to aggregate
> sub-builds, which didn't run yet)
> Child-Build1: dashboard (creates a dashboard for that child)
> Child-Build2: dashboard (dito)
> Build succesful.
>
> Now unfortunately the dashboard-report for the Parent-Build is still empty
> (and actually it's the most important report aggregating all others and
> giving a good overview).
> That's why
> dashboard:dashboard
> is run as a seperate goal after the full buildcycle: it is then able to
> get any report it want's to aggregate.
>
> It's the same with clover. On the parent-level to create a report, the
> childs need to be build first, for clover to be able to create a report
> aggregating all childs.
> Unfortunately maven decides not to build the childs first before running
> the life-cycle for the parent.
>
> Regards
> Stefan
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Antwort: Re: changing a long mvn command with many goals to a simple command?

2011-03-30 Thread stefan . hansel
>> Bind the goals you want to run to chosen phases.

This unfortuntaly is not possible in a multimodule build,  let's take the 
dashboard plugin as an example:

The dashboard:dashboard needs to run AFTER the full site has been created 
in a multimodule build (because it needs access to all checkstyle.xml of 
all child builds).
This is because if it is just bound to some phase it would run in the 
following order:

Parent-Build: dashboard (<= empty, as the dashboard want's to aggregate 
sub-builds, which didn't run yet)
Child-Build1: dashboard (creates a dashboard for that child)
Child-Build2: dashboard (dito)
Build succesful.

Now unfortunately the dashboard-report for the Parent-Build is still empty 
(and actually it's the most important report aggregating all others and 
giving a good overview).
That's why
dashboard:dashboard 
is run as a seperate goal after the full buildcycle: it is then able to 
get any report it want's to aggregate.

It's the same with clover. On the parent-level to create a report, the 
childs need to be build first, for clover to be able to create a report 
aggregating all childs.
Unfortunately maven decides not to build the childs first before running 
the life-cycle for the parent.

Regards
Stefan


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Making a report

2011-03-30 Thread Benson Margulies
OK, let me try to state this more clearly.

Reporting plugins like checkstyle and pmd and javadoc look for the
output of their corresponding build plugins. If they don't find it,
they fork a build lifecycle to build it. They aren't especially
protected against stale data.

I really can't fork build in this case, so I'll just fail.

I'm not entirely thrilled with all of this, but it seems the best fit
to the design of the site plugin's structure.


On Wed, Mar 30, 2011 at 2:55 AM, Anders Hammar  wrote:
> To me this sounds very similar to what the surefire reporting plugin does.
> Have a look at that code:
> http://maven.apache.org/plugins/maven-surefire-report-plugin/
>
> /Anders
>
> On Wed, Mar 30, 2011 at 01:20, Benson Margulies wrote:
>
>> I want to create a report which presents some results from a build.
>> There is no way to recreate the data in the reporting context; the
>> report must come from the build proper.
>>
>> Is the thing to do here to make the build proper leave the data behind
>> in, for example, an XML file in target, and the reporting plugin to
>> fail if the file is not there?
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
>> For additional commands, e-mail: users-h...@maven.apache.org
>>
>>
>

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: changing a long mvn command with many goals to a simple command?

2011-03-30 Thread maxime.lem
Bind the goals you want to run to chosen phases.

This is done in through build/plugins/plugin/executions/execution in your
pom

--
View this message in context: 
http://maven.40175.n5.nabble.com/changing-a-long-mvn-command-with-many-goals-to-a-simple-command-tp4271214p4271230.html
Sent from the Maven - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Mail for one subscriber bounces

2011-03-30 Thread Anders Hammar
Thanks Wendy!

/Anders

On Wed, Mar 30, 2011 at 12:25, Wendy Smoak  wrote:

> On Wed, Mar 30, 2011 at 3:47 AM, Anders Hammar  wrote:
> > When posting to this list the mail to one of the subscribers bounces and
> I
> > get a notification about this. Very annoying!
> > Not sure who I should contact about this, but someone more Apache
> involved
> > on this list maybe know?
>
> The right place to ask is users-owner@ instead of the users@ list
> itself, which is mostly composed of people who can't do anything about
> it. :)
>
> I'm working with the infra guys to get the address unsubscribed, it
> should stop happening soon.
>
> --
> Wendy
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>


changing a long mvn command with many goals to a simple command?

2011-03-30 Thread stefan . hansel
To generate a site, using the clover and dashboard plugin currently I need 
to use the following command-line:

mvn clover2:setup site clover2:aggregate clover2:clover 
dashboard:dashboard site:deploy

(this is to overcome some problems with the site-plugin, which in 
multi-module builds seems to have problems running some targets after all 
children have been built).

Is there any way to shorten this to a simple command, like 
mvn doMyFullSite

I could of course use a shell-script, but I had to copy this to any 
multi-module build, which I want to avoid ("don't repeat yourself"). 
I'd rather prefer to have a construct that I can embed in my parent-pom.

I gave the maven-invoker-plugin a try, just bound to the initialize phase 
and put into a profile, so I could start it with
mvn -PdoMyFullSite
(see snippet of the configuration below).

BUT: in a multimodule build now these targets are run for every child as 
well, so this is not what I want :(

Any other ideas ?
-- invoker-plugin-configuration - 
 
 doMyFullSite
 
initialize

   
  maven-invoker-plugin
  
 pom.xml
 true
 true
 true
  
  
 
doItAll
initialize

   run


   
  clover2:setup
  site
  clover2:aggregate
  clover2:clover
  dashboard:dashboard   
  site:deploy  
   

 
  
   

 
  

-


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Mail for one subscriber bounces

2011-03-30 Thread Wendy Smoak
On Wed, Mar 30, 2011 at 3:47 AM, Anders Hammar  wrote:
> When posting to this list the mail to one of the subscribers bounces and I
> get a notification about this. Very annoying!
> Not sure who I should contact about this, but someone more Apache involved
> on this list maybe know?

The right place to ask is users-owner@ instead of the users@ list
itself, which is mostly composed of people who can't do anything about
it. :)

I'm working with the infra guys to get the address unsubscribed, it
should stop happening soon.

-- 
Wendy

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Choose file to install / deploy

2011-03-30 Thread maxime.lem
Yes, I have only one project / no module.

I used to have a root project with 2 modules: one for compiling swf, one for
making the assembly, and in this case, this release artifact only contains
the tar.gz.

I changed this with a unique project with a profile for activating assembly
/ tar.gz. It's more simple for flex developers who are used to get their swf
next to their sources in Flashbuilder.

It's working fine in both case, but what's annoying me is duplication in
deliveries. In both case I have swf tied directly in the artifact, and the
same swf into the tar.gz. It's not a big disk loss at each snapshot or
release, but as these swf are useless, if i can remove them from my Nexus,
it's not bad (this project is meant to be deployed to web server, not used
as dependency in other one).

Another problem is the flex application is loading dynamically swf modules,
and it expects unversionned filenames for these swf. I'm using version
stripping before building the tar.gz so swf filename into are fine, but not
those tied directly to the artifact (i get the artifact version in filename
plus classifier as there are several deliveries).




--
View this message in context: 
http://maven.40175.n5.nabble.com/Choose-file-to-install-deploy-tp4271077p4271155.html
Sent from the Maven - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Antwort: Re: Antwort: Re: mvn deploy and site in one go

2011-03-30 Thread Marc Rohlfs

If now only every other plugin (checkstyle/findbugs) would support such a
'two-phase' model as well.

If these were just setting a property (like the corresponding ant-targets)
that could be evaluated in the 'verify' phase...


The Findbugs and Checkstyle plugins provide different goals, for reports 
and for default builds. Check the available goals in the plugin 
documentations ([1] and [2]).


Use the plugin executions to configure the goals to any phase of any 
Maven life cycle, You can even have separate configurations (per 
execution) - [3] is a good reference to get started with this.


Cheers

   Marc


[1] http://mojo.codehaus.org/findbugs-maven-plugin/plugin-info.html
[2] http://maven.apache.org/plugins/maven-checkstyle-plugin/plugin-info.html
[3] 
http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Choose file to install / deploy

2011-03-30 Thread Anders Hammar
You only have one Maven project? Normally you would have a multi-module
project where one module produces one artifact (a jar, a war, etc.). The you
have one module where the assemlby (the tar) is created. All artifacts are
deployed to the repo, but don't worry about that - that's how Maven works.

/Anders

On Wed, Mar 30, 2011 at 11:18, maxime.lem  wrote:

> Hello all,
>
> I'm using Maven with flexmojos plugin to compile flex projects, and package
> the deliveries in a tar.gz with Assembly plugin.
> At the end of package phase, target folder contains several swf (equivalent
> of jar), a linker xml file, and the tar.gz.
> If i run install or deploy phase, all these files are installed / deployed
> and tied to this artifact.
> I would like to install / deploy only the tar.gz.
> How can i do this?
> I looked into install and deploy goals configuration, but they don't allow
> to include / exclude files.
> What is the rule? Every files at the root of target folder are installed?
> How this can be changed?
>
> Thx
>
> --
> View this message in context:
> http://maven.40175.n5.nabble.com/Choose-file-to-install-deploy-tp4271077p4271077.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>


Re: Antwort: Re: mvn deploy and site in one go

2011-03-30 Thread Marc Rohlfs

And you don't have to deploy the first time, install is enough (mvn install
site site:deploy) and deploy later on skipping the tests if the first run
was successful.


Right, forgot to mention that, many thanks!!!

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Antwort: Re: Antwort: Re: mvn deploy and site in one go

2011-03-30 Thread Stefan . Hansel
>> You should use the maven-failsave-plugin instead of the 
maven-surefire-plugin. 
>> The maven-failsave-plugin doesn't fail the build, but the test failures 
will be in Your reports.

This looks much like what I want! So if people insist on a dedicated 
HTML-JUnit report I can leverage this plugin (though also the 
surefire-report plugin doesn't copy the needed CSS files, if I remember 
correctly :( ).
If now only every other plugin (checkstyle/findbugs) would support such a 
'two-phase' model as well.

If these were just setting a property (like the corresponding ant-targets) 
that could be evaluated in the 'verify' phase...

Anyway, 

Marc,
thanks a lot for your ideas! 

I do have some options now - and though we might not get the build as 
comfortable as we were used from ant-times I think I'll somehow manage to 
make it good enough for our needs.

Cheers
Stefan



-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org





-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Choose file to install / deploy

2011-03-30 Thread maxime.lem
Hello all,

I'm using Maven with flexmojos plugin to compile flex projects, and package
the deliveries in a tar.gz with Assembly plugin.
At the end of package phase, target folder contains several swf (equivalent
of jar), a linker xml file, and the tar.gz.
If i run install or deploy phase, all these files are installed / deployed
and tied to this artifact.
I would like to install / deploy only the tar.gz.
How can i do this?
I looked into install and deploy goals configuration, but they don't allow
to include / exclude files. 
What is the rule? Every files at the root of target folder are installed?
How this can be changed?

Thx

--
View this message in context: 
http://maven.40175.n5.nabble.com/Choose-file-to-install-deploy-tp4271077p4271077.html
Sent from the Maven - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Antwort: Re: mvn deploy and site in one go

2011-03-30 Thread Jörg Schaible
Marc Rohlfs wrote:

>>> another idea could be to call Maven with the --fail-at-end (-fae)
>>> option. But this doesn't seem to work with Maven 3 anymore.
>> Even if 'fail-at-end' was working: wouldn't the artifacts still be
>> deployed, when running 'mvn deploy' ?
> 
> Yes, You're right - didn't think about that. It could be solved if You
> add another build configuration (mvn deploy -Dmaven.test.skip=true) that
> is only triggered when the main build finishes successfully.

And you don't have to deploy the first time, install is enough (mvn install 
site site:deploy) and deploy later on skipping the tests if the first run 
was successful.

- Jörg


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Antwort: Re: Antwort: Re: mvn deploy and site in one go

2011-03-30 Thread stefan . hansel
>> You should use the maven-failsave-plugin instead of the 
maven-surefire-plugin. 
>> The maven-failsave-plugin doesn't fail the build, but the test failures 
will be in Your reports.

This looks much like what I want! So if people insist on a dedicated 
HTML-JUnit report I can leverage this plugin (though also the 
surefire-report plugin doesn't copy the needed CSS files, if I remember 
correctly :( ).
If now only every other plugin (checkstyle/findbugs) would support such a 
'two-phase' model as well.

If these were just setting a property (like the corresponding ant-targets) 
that could be evaluated in the 'verify' phase...

Anyway, 

Marc,
thanks a lot for your ideas! 

I do have some options now - and though we might not get the build as 
comfortable as we were used from ant-times I think I'll somehow manage to 
make it good enough for our needs.

Cheers
Stefan



-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Issue with mvn3 timestamp snapshots being downloaded in local repository

2011-03-30 Thread Jörg Schaible
dagerber wrote:

> another approch to solve the problem with EJB's is to use the followint in
> the maven-ejb-plugin
> 
> 
>org.apache.maven.plugins
>maven-ejb-plugin
>
>  3.0
>  true
>  
>**/service/**
>**/domain/**
>  
>  
>**/impl/**
>  
>   
> false
>   
> true
> false
> true
> true
>   
>   
> xy-ejb
> ${project.url}
   
Maybe you should start to use a proper mailer instead ... ;-)

- Jörg


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Mail for one subscriber bounces

2011-03-30 Thread Anders Hammar
When posting to this list the mail to one of the subscribers bounces and I
get a notification about this. Very annoying!
Not sure who I should contact about this, but someone more Apache involved
on this list maybe know?

More info of the bounce below.

/Anders

Dies ist eine automatisch erstellte Benachrichtigung +APw-ber den
Zustellstatus.

+ANw-bermittlung an folgende Empf+AOQ-nger fehlgeschlagen.

  christian.dom...@innowake.de




Final-Recipient: rfc822;christian.dom...@innowake.de
Action: failed
Status: 5.1.1


Re: Issue with mvn3 timestamp snapshots being downloaded in local repository

2011-03-30 Thread dagerber
another approch to solve the problem with EJB's is to use the followint in
the maven-ejb-plugin


   org.apache.maven.plugins
   maven-ejb-plugin
   
 3.0
 true
 
   **/service/**
   **/domain/**
 
 
   **/impl/**
 
  
false
  
true
false
true
true
  
  
xy-ejb
${project.url}
  

  



--
View this message in context: 
http://maven.40175.n5.nabble.com/Issue-with-mvn3-timestamp-snapshots-being-downloaded-in-local-repository-tp3408008p4270929.html
Sent from the Maven - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: maven Dashboard Report Plugin

2011-03-30 Thread Anders Hammar
No, it wouldn't work.
If I was you I'd take a look at the Sonar project, which I think now has Ant
support as well. Please move to their users list for further questions
regarding that product.

/Anders

On Wed, Mar 30, 2011 at 08:42, ensienne  wrote:

> Hello,
>
> I have a question. I need to control the quality of code of some projects.
> Indeed, we need the cobertura, codenarc, stylechek..
> After a long search in net, I have found that the maven plugin "Dashboard
> Report Plugin" can offer us all what we need.
> however, our projects are not maven projects, can we use this plugin with
> non maven projects.
>
> Thank you for your help
>
>
> --
> View this message in context:
> http://maven.40175.n5.nabble.com/maven-Dashboard-Report-Plugin-tp4270854p4270854.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>


Maven 3 release:perform Fails During Report Aggregation

2011-03-30 Thread Troy Ronning
We have been using Maven 2.2.1 successfully for releasing multi-module projects 
and generating sites.  Suddenly, the builds started failing with the following 
error.

[FATAL ERROR] org.apache.maven.plugins.site.SiteMojo#execute() caused a linkage 
error (java.lang.AbstractMethodError) and may be out-of-date. Check the realms:
[FATAL ERROR] Plugin realm = 
app0.child-container[org.apache.maven.plugins:maven-site-plugin:2.0-beta-7]
urls[0] = 
file:/e:/.m2/repository/org/apache/maven/plugins/maven-site-plugin/2.0-beta-7/maven-site-plugin-2.0-beta-7.jar


I tried using different site plugin versions but continued to have the same 
issue.  So, I thought I'd try out Maven 3.  But alas, the site fails here as 
well during the javadoc generation.


>>> maven-javadoc-plugin:2.7:aggregate (report:aggregate)
...

I do not have aggregate specified as a goal in the javadoc plugin configuration 
and the site goal DOES work IF the install goal is executed first.  However, 
this does not solve the release:perform issue.  Solutions?  I found this issue 
that appears related. http://jira.codehaus.org/browse/MNG-3336






Troy Ronning

Systems Architect

Direct Phone

Direct Fax 320-762-8750



PrimeWest Health

2209 Jefferson St, Ste 101 * Alexandria, MN 56308

www.primewest.org



This document may include proprietary and confidential information of PrimeWest 
Health and may only be read by the person(s) to whom it is addressed. If you 
have received this email message in error, please notify the sender immediately 
and permanently delete this email message and any copies thereof. This document 
may not be reproduced, copied, distributed, published, modified, or furnished 
to third parties without the prior written consent of PrimeWest Health.