Sure. The attached assembly.xml is used by the following profile. The
profile just makes sure that the assembly plugin runs during the
"package" phase and includes all attached artifacts. The real work is
in the attached assembly.xml.
Dave
<profile>
<id>release_assembly</id>
<build>
<plugins>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<descriptor>assembly.xml</descriptor>
</configuration>
<executions>
<execution>
<id>make-assembly</id>
<phase>package</phase>
<goals>
<goal>attached</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
[EMAIL PROTECTED] wrote:
Excellent - do you happen to have a pom extract to, say, include the
contents of ./lib on the compile path?
-----Original Message-----
From: David C. Hicks [mailto:[EMAIL PROTECTED]
Sent: 28 November 2008 20:45
To: Maven Users List
Subject: Re: Third party jars
The assembly plugin can add arbitrary files to your package.
[EMAIL PROTECTED] wrote:
Hi,
Is there any way to get the maven build process to include a set of
jars when compiling/packaging that are not in the
repository? I have
some vendor jars and I don't fancy packing them all up and placing
them into the repository - I just want to point maven at a
lib directory?
Thanks,
john
_______________________________________________
This e-mail may contain information that is confidential,
privileged or otherwise protected from disclosure. If you are
not an intended recipient of this e-mail, do not duplicate or
redistribute it by any means. Please delete it and any
attachments and notify the sender that you have received it
in error. Unless specifically indicated, this e-mail is not
an offer to buy or sell or a solicitation to buy or sell any
securities, investment products or other financial product or
service, an official confirmation of any transaction, or an
official statement of Barclays. Any views or opinions
presented are solely those of the author and do not
necessarily represent those of Barclays. This e-mail is
subject to terms available at the following link:
www.barcap.com/emaildisclaimer. By messaging with Barclays
you consent to the foregoing. Barclays Capital is the
investment banking division of Barclays Bank PLC, a company
registered in England (number 1026167) with its registered
office at 1 Churchill Place, London, E14 5HP. This email may
relate to or be sent from other members of the Barclays Group.
_______________________________________________
---------------------------------------------------------------------
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]
_______________________________________________
This e-mail may contain information that is confidential, privileged or
otherwise protected from disclosure. If you are not an intended recipient of
this e-mail, do not duplicate or redistribute it by any means. Please delete it
and any attachments and notify the sender that you have received it in error.
Unless specifically indicated, this e-mail is not an offer to buy or sell or a
solicitation to buy or sell any securities, investment products or other
financial product or service, an official confirmation of any transaction, or
an official statement of Barclays. Any views or opinions presented are solely
those of the author and do not necessarily represent those of Barclays. This
e-mail is subject to terms available at the following link:
www.barcap.com/emaildisclaimer. By messaging with Barclays you consent to the
foregoing. Barclays Capital is the investment banking division of Barclays
Bank PLC, a company registered in England (number 1026167) with its registered
office at 1 Churchill Place, London, E14 5HP. This email may relate to or be
sent from other members of the Barclays Group.
_______________________________________________
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<assembly>
<id>assembly</id>
<formats>
<format>zip</format>
</formats>
<fileSets>
<fileSet>
<directory>target</directory>
<filtered>false</filtered>
<includes>
<include>*.war</include>
</includes>
</fileSet>
<fileSet>
<directory>doc</directory>
<filtered>false</filtered>
<includes>
<include>*</include>
</includes>
</fileSet>
<fileSet>
<directory>scripts</directory>
<filtered>false</filtered>
<includes>
<include>*</include>
</includes>
</fileSet>
<fileSet>
<directory>src/database</directory>
<filtered>false</filtered>
<includes>
<include>changelog.xml</include>
</includes>
</fileSet>
</fileSets>
<dependencySets>
<dependencySet>
<includes>
<include>mysql:mysql-connector-java</include>
<include>org.liquibase:liquibase-core</include>
</includes>
</dependencySet>
</dependencySets>
</assembly>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]