Re: War plugin: Secondary artifact handling

2006-08-21 Thread Jochen Wiedmann
On 8/21/06, Brett Porter <[EMAIL PROTECTED]> wrote: I'm missing the context on this - I'm not sure what primaryArtifact is set to, but it sounds like you've got the right idea there (though it should be artifact.getType(), ie war, not aar) Thank you, I've filed MWAR-69. Jochen -- My wife Mar

Re: War plugin: Secondary artifact handling

2006-08-21 Thread Brett Porter
I'm missing the context on this - I'm not sure what primaryArtifact is set to, but it sounds like you've got the right idea there (though it should be artifact.getType(), ie war, not aar) On 17/8/06 5:38 PM, Jochen Wiedmann wrote: Hi, the maven-war-plugin contains the following code snipped:

War plugin: Secondary artifact handling

2006-08-17 Thread Jochen Wiedmann
Hi, the maven-war-plugin contains the following code snipped: Artifact artifact = getProject().getArtifact(); if ( primaryArtifact ) { artifact.setFile( aarFile ); } else if ( artifact.getFile() == null || artifact.getFile().i