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:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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

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

iD8DBQFGOFo81Tv8wj7aQ34RAl4VAJ91g1yph8jRTMmw5uQWWAgfd6SnogCcCg2L
LhtMQSnewzcdBaScvd0mFI4=
=Y8dg
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
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]

Reply via email to