-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Tim,

Thanks for that - that did the trick.  I guess a follow-up question
would be - can I do something to ensure that when I do 'mvn install' all
classifiers get built or would I have to do some magic trickery with
profiles in this case?  My concern with the latter would be that it
still only builds one artifact at a time (if I am not wrong) and would
not allow the release plugin for example to produce both X and Y
"classified" artifacts???

Cheers,

Johan

Tim Kettler wrote:
> Hi,
> 
>   <project>
>     [...]
>     <build>
>       <plugins>
>         <plugin>
>           <groupId>org.apache.maven.plugins</groupId>
>           <artifactId>maven-war-plugin</artifactId>
>           <configuration>
>             <classifier>myclassifier<classifier/>
>           </configuration>
>         </plugin>
>       </plugins>
>     </build>
>     [...]
>   </project>
> 
> -Tim
> 
> Johan Lindquist schrieb:
> Hi All,
> 
> I have a war file which I can build to include either MySQL or Oracle
> database configurations and I was wondering how I can get the classifier
> into the final name of the artifact created?
> 
> In a dependency, I can specify which classifier to use, but in the
> build, how would I use this?
> 
> Or is this completely off the mark and should I use some other method of
> distinguishing the two different builds?
> 
> Thanks in advance,
> 
> Cheers,
> 
> Johan
> 
>>
- ---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
>>

> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]



- --
you too?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGOJfJ1Tv8wj7aQ34RAv8mAJ9hEZjlCe4TysESD7ogLSN0J54Q2wCfRNnQ
7AfCV1VBrOVDjWZIwjWtimE=
=oIO5
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to