Junking paths when unpacking or overlaying

2015-05-04 Thread Bruce Albrecht
I have a project where I get a dependency from a vendor in an archive, and I need to copy a jar file from a subfolder within the archive to WEB-INF/lib. When I try to unpack it with dependency:unpack or use the overlay element in war:war, it retains the folder in the jar name. Is there a way to s

Re: Do I need to write a plugin for this?

2015-03-01 Thread Bruce Albrecht
d-helper-maven-plugin to attach any file to the project, causing it to > upload. So, you can certainly use antrun to run the ant build, and the > helper to attach the result as an artifact. > > On Sun, Mar 1, 2015 at 4:18 PM, Bruce Albrecht > wrote: > >> I am working o

Do I need to write a plugin for this?

2015-03-01 Thread Bruce Albrecht
I am working on a project that creates OSGI bundles with an extension of .cba and today uses ant to invoke a workbench to build the .cba file. I want to upload the .cba file to my Nexus repository. My initial take on this is that if IBM didn't use its own extension for this, I would be able to jus

Re: [ANN] Apache Maven Toolchains Plugin 1.1 Released

2014-11-15 Thread Bruce Albrecht
Can the toolchain.xml file contain Maven properties including references to system environment variables using ${env.VARIABLE}? My company is using several versions of Websphere and I was wondering if I could have something like: jdk 1.5 ibm ${env.WAS_

Overriding artifact to be installed/deployed

2013-12-11 Thread Bruce Albrecht
One of my teams is trying to build a bundled application that first builds a jar file using the jar plugin and then uses maven-exec plugin to run something that bundles the jar file into a specialized osgi bundle. When we run the mvn install or deploy, it will deploy the jar file created by the ja

Creating a bundled jar file with an external bundler

2013-11-13 Thread Bruce Albrecht
Some of my developers is trying to create a OSGI bundled jar file by creating a jar project which the jar plugin and then calling the external bundler in the packaging phase. They change the output directory in the jar configuration to be a subfolder used by the external bundler. When it performs

How to build war with dependencies in a different location

2012-09-21 Thread Bruce Albrecht
I have an application with OSGI bundles, and the Felix loader is looking for the jars to be in WEB-INF/bundles/3 instead of the usual WEB-INF/lib. Is there a configuration for the war plugin, or a different plugin I can use to place these dependencies in a different location? Thanks. --

Re: Maven versioning

2012-05-24 Thread Bruce Albrecht
On 5/24/2012 7:39 AM, DK wrote: Hi, New to Maven and have a couple of questions around versioning. Should all projects within a multi-module project have the same version? Should all projects related to each other keep the same version number? Any best practices on changing version numbers?

Using maven to modify a vendor supplied war/ear

2011-12-07 Thread Bruce Albrecht
Our company has several projects where we have received a war or ear from a vendor, and we need to insert jars or configuration files into the vendor artifact before deploying them. Is there an existing maven plugin that can handle this? If there is such a plugin, can it manage inserting/upda

Re: Maven and ClearCase UCM

2009-09-10 Thread Bruce Albrecht
n and ClearCase UCM To: "Maven Users List" Date: Thursday, September 10, 2009, 4:29 PM On Thu, Sep 10, 2009 at 8:59 AM, Bruce Albrecht wrote: Is anyone using Maven with ClearCase UCM with developers using children streams with dynamic views? If so, how do you manage bumping the POM

Maven and ClearCase UCM

2009-09-10 Thread Bruce Albrecht
Is anyone using Maven with ClearCase UCM with developers using children streams with dynamic views? If so, how do you manage bumping the POM versions? Do you rely on the developers doing it manually, or use an automatic process? If we automate it, it looks like we potentially need to strip t