Thanks Marvin, I was wading through the maven docs when your email arrived.
Worked like a charm.
-----Original Message-----
From: Marvin S. Addison [mailto:
[hidden email]]
Sent: Tuesday, July 07, 2009 1:23 PM
To:
[hidden email]
Subject: Re: [cas-dev] Overlay build process
> I now need to add library jar file and a configuration file for my
> customizations. I am not sure what I need to do.
You need to package your library jar in way that you could include it
as a Maven dependency. Although it's easiest to have a Mavenized
build process, you don't have to. For any jar, you can do the
following:
mvn install:install-file \
-Dfile=path/to/your.jar \
-DgroupId=your.groupId \
-DartifactId=your-artifactId \
-Dversion=version \
-Dpackaging=jar \
-DgeneratePom=true
This will install the jar into the local repository in a location for
which you can add a dependency in your maven war overlay:
<dependency>
<groupId>your.groupId</groupId>
<artifactId>your-artifactId</artifactId>
<version>version</version>
</dependency>
Hope that helps,
M
--
You are currently subscribed to
[hidden email] as:
[hidden email]
To unsubscribe, change settings or access archives, see
http://www.ja-sig.org/wiki/display/JSG/cas-dev--
You are currently subscribed to
[hidden email] as:
[hidden email]
To unsubscribe, change settings or access archives, see
http://www.ja-sig.org/wiki/display/JSG/cas-dev