RE: Why would "unpack-dependencies" sometimes not do its job?

2011-07-28 Thread KARR, DAVID (ATTSI)
> -Original Message- > From: KARR, DAVID (ATTSI) > Sent: Thursday, July 28, 2011 7:03 AM > To: Maven Users List > Subject: RE: Why would "unpack-dependencies" sometimes not do its job? > > > -Original Message- > > From: Brian Fox [mailto

RE: Why would "unpack-dependencies" sometimes not do its job?

2011-07-28 Thread KARR, DAVID (ATTSI)
m "target/classes" just before I did the build. I think this means that this is being caused by m2e (Eclipse Maven plugin). I had just changed the flags in my pom.xml, and Eclipse built the workspace. > On Wed, Jul 27, 2011 at 11:13 AM, KARR, DAVID (ATTSI) > wrote: > &

RE: Why would "unpack-dependencies" sometimes not do its job?

2011-07-27 Thread KARR, DAVID (ATTSI)
I forget the exact > param, but it's in the docs. I just checked the doc page for "dependency:unpack-dependencies" and there's no flag I can see that does this. > On Tue, Jul 26, 2011 at 5:01 PM, KARR, DAVID (ATTSI) > wrote: > >> -Original Message- >

RE: Why would "unpack-dependencies" sometimes not do its job?

2011-07-26 Thread KARR, DAVID (ATTSI)
ses" doesn't have the dependent classes. I'll watch to see if something else after this removes things from that tree. > [1] > http://maven.apache.org/plugins/maven-dependency-plugin/unpack- > dependenc > ies-mojo.html#markersDirectory > > Ron Gallagher >

RE: Why would "unpack-dependencies" sometimes not do its job?

2011-07-26 Thread KARR, DAVID (ATTSI)
happen. > [1] > http://maven.apache.org/plugins/maven-dependency-plugin/unpack- > dependenc > ies-mojo.html#markersDirectory > > Ron Gallagher > > > -Original Message- > From: KARR, DAVID (ATTSI) > Sent: Tuesday, July 26, 2011 1:02 PM > To: users@maven.ap

Why would "unpack-dependencies" sometimes not do its job?

2011-07-26 Thread KARR, DAVID (ATTSI)
I'm using both "maven-dependency-plugin" and "maven-jar-plugin" so all of my application classes and dependent classes go into a single jar file. Every once in a while I discover that the resulting jar file doesn't have my dependent classes. If I then do "mvn clean" and then "mvn" (default goa

RE: Reasonable use of profiles?

2010-12-10 Thread KARR, DAVID (ATTSI)
needed a custom list of modules, they could define that in their settings.xml. I guess that could work for what I'm looking for. > On Dec 10, 2010, at 12:57 PM, Kalle Korhonen wrote: > > > On Fri, Dec 10, 2010 at 9:20 AM, KARR, DAVID (ATTSI) > wrote: > >> Another

RE: Reasonable use of profiles?

2010-12-10 Thread KARR, DAVID (ATTSI)
> -Original Message- > From: Kalle Korhonen [mailto:kalle.o.korho...@gmail.com] > Sent: Friday, December 10, 2010 9:58 AM > To: Maven Users List > Subject: Re: Reasonable use of profiles? > > On Fri, Dec 10, 2010 at 9:20 AM, KARR, DAVID (ATTSI) > wrote: > &g

Reasonable use of profiles?

2010-12-10 Thread KARR, DAVID (ATTSI)
I've heard talk about the debatable value of profiles, and I wanted to describe one use I might have for profiles, although I'm still in the initial stages of converting a large Ant environment to Maven, so things may change. I'd appreciate any comments. I think one basic reason that profiles bec

RE: M2Eclipse deploy to Nexus Repo Failure

2010-12-09 Thread KARR, DAVID (ATTSI)
> -Original Message- > From: ginni [mailto:gi...@aero.org] > Sent: Thursday, December 09, 2010 8:23 AM > To: users@maven.apache.org > Subject: M2Eclipse deploy to Nexus Repo Failure > > > I am able to log in via the browser (just using the defaults as we're > just > getting started with N

RE: RE: How to have release management incremental (or release) builds publish to Nexus, but not user builds?

2010-12-08 Thread KARR, DAVID (ATTSI)
> > On Wed, Dec 8, 2010 at 3:26 PM, KARR, DAVID (ATTSI) > wrote: > >> -Original Message- > > What is a "destination"?  What exact field in the pom does the > server/id correspond to? > > Module's deployment destination is specified by the

RE: RE: How to have release management incremental (or release) builds publish to Nexus, but not user builds?

2010-12-08 Thread KARR, DAVID (ATTSI)
> > On Wed, Dec 8, 2010 at 9:16 AM, KARR, DAVID (ATTSI) > wrote: > >> -Original Message- > >> From: Nick Stolwijk [mailto:nick.stolw...@gmail.com] > > [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy- > plugin:2.5:deploy (def

RE: How to have release management incremental (or release) builds publish to Nexus, but not user builds?

2010-12-08 Thread KARR, DAVID (ATTSI)
lds? > > On 08/12/2010 3:03 PM, KARR, DAVID (ATTSI) wrote: > >> -Original Message- > >> From: anders.g.ham...@gmail.com [mailto:anders.g.ham...@gmail.com] > On > >> Behalf Of Anders Hammar > >> Sent: Wednesday, December 08, 2010 11:07 AM >

RE: RE: How to have release management incremental (or release) builds publish to Nexus, but not user builds?

2010-12-08 Thread KARR, DAVID (ATTSI)
t-pom. Is it possible to get it to work with it in the settings.xml? > Have a look in any of the parent-poms I linked to earlier (apache > parent or > codehaus parent)! I've looked at those many times. It doesn't solve my problem. > On Wed, Dec 8, 2010 at 21:03, KARR, DAVID (A

RE: RE: How to have release management incremental (or release) builds publish to Nexus, but not user builds?

2010-12-08 Thread KARR, DAVID (ATTSI)
> > central > > http://central > > true > > true > > > > > > > > > > I tried a simple-minded fix and added the following before the > > "snapshotRepository" element, but it gave the

RE: RE: How to have release management incremental (or release) builds publish to Nexus, but not user builds?

2010-12-08 Thread KARR, DAVID (ATTSI)
pository element. > > > > With regards, > > > > Nick Stolwijk > > ~Java Developer~ > > > > iPROFS > > Wagenweg 208 > > 2012 NM Haarlem > > T +31 23 547 6369 > > F +31 23 547 6370 > > I www.iprofs.nl > > > > > > >

RE: RE: How to have release management incremental (or release) builds publish to Nexus, but not user builds?

2010-12-08 Thread KARR, DAVID (ATTSI)
> -Original Message- > From: Wayne Fay [mailto:wayne...@gmail.com] > Sent: Wednesday, December 08, 2010 8:40 AM > To: Maven Users List > Subject: Re: RE: How to have release management incremental (or > release) builds publish to Nexus, but not user builds? > > > If I set up deployment cre

RE: RE: How to have release management incremental (or release) builds publish to Nexus, but not user builds?

2010-12-08 Thread KARR, DAVID (ATTSI)
me error: nexus http://myhost:8081/nexus/content/groups/public If I set up deployment credentials in Nexus (I believe it's already set up), how do I provide them in Maven? > Den 8 dec 2010 15.56 skrev "KARR, DAVID (ATTSI)" : > >> -O

RE: How to have release management incremental (or release) builds publish to Nexus, but not user builds?

2010-12-08 Thread KARR, DAVID (ATTSI)
9:10, Kalle Korhonen > > >wrote: > > > > > >> Of course, developers never need to run "deploy" goal in the first > > >> place. Anyhow, it's a commonly used practice to deploy to > different > > >> locations. Create a release profi

RE: How to have release management incremental (or release) builds publish to Nexus, but not user builds?

2010-12-07 Thread KARR, DAVID (ATTSI)
ction as needed, for example see > > http://svn.codehaus.org/tynamo/trunk/tynamo-parent/pom.xml. > > > > Kalle > > > > > > On Tue, Dec 7, 2010 at 10:00 AM, KARR, DAVID (ATTSI) > > wrote: > > > I'm working on strategies to convert a large and complex A

RE: How to have release management incremental (or release) builds publish to Nexus, but not user builds?

2010-12-07 Thread KARR, DAVID (ATTSI)
ment, but it gave the same error: nexus http://myhost:8081/nexus/content/groups/public > On Tue, Dec 7, 2010 at 10:00 AM, KARR, DAVID (ATTSI) > wrote: > > I'm working on strategies to convert a large and complex Ant build > > system to use M

RE: How to have release management incremental (or release) builds publish to Nexus, but not user builds?

2010-12-07 Thread KARR, DAVID (ATTSI)
" section determines where they download artifacts from)? > On Tue, Dec 7, 2010 at 10:00 AM, KARR, DAVID (ATTSI) > wrote: > > I'm working on strategies to convert a large and complex Ant build > > system to use Maven. > > > > I'm assuming that develo

How to have release management incremental (or release) builds publish to Nexus, but not user builds?

2010-12-07 Thread KARR, DAVID (ATTSI)
I'm working on strategies to convert a large and complex Ant build system to use Maven. I'm assuming that developers who are working on individual modules will do a build that pulls the artifacts of other modules (that they're not working on) from the Nexus repository we have running on an intrane

RE: SNAPSHOT with latest timestamp is used, right?

2010-12-06 Thread KARR, DAVID (ATTSI)
shot > artifact Could you elaborate, please? > On Dec 6, 2010, at 5:22 PM, "KARR, DAVID (ATTSI)" > wrote: > > > If I have an artifact with version "n.n.n-SNAPSHOT" in my "user" repo > > and the same artifact with version "n.n.n-SNAPS

SNAPSHOT with latest timestamp is used, right?

2010-12-06 Thread KARR, DAVID (ATTSI)
If I have an artifact with version "n.n.n-SNAPSHOT" in my "user" repo and the same artifact with version "n.n.n-SNAPSHOT" in the "local" nexus repo (where snapshots are enabled), will Maven always take the newer one, no matter which repo it finds it in?

Proper way to deploy properties files into WEB-INF/classes?

2010-11-23 Thread KARR, DAVID (ATTSI)
In my "src/main/java" tree, I have properties files that need to be deployed into WEB-INF/classes. I thought these would be copied by default, but they are not. They didn't go into "target/classes" or "WEB-INF/classes". I don't need to filter properties in it. I'm using version 2.1.1 of the mav

RE: Head start with relatively simple EAR/WAR project?

2010-11-19 Thread KARR, DAVID (ATTSI)
> -Original Message- > From: KARR, DAVID (ATTSI) > Sent: Friday, November 19, 2010 9:59 AM > To: users@maven.apache.org > Subject: Head start with relatively simple EAR/WAR project? > > I'm trying to convert a project built with Ant to Maven. It uses CXF > an

Head start with relatively simple EAR/WAR project?

2010-11-19 Thread KARR, DAVID (ATTSI)
I'm trying to convert a project built with Ant to Maven. It uses CXF and Spring, and it builds a WAR and EAR. My first attempt is having problems, probably because I'm missing some basic elements. I've constructed the first draft of the POM, but when I run "mvn", it didn't appear to compile my J

Practical to have "optional" submodules, getting their artifacts from intranet repo if absent?

2010-11-09 Thread KARR, DAVID (ATTSI)
I currently work on a large enterprise app built with Ant. The app is divided into several projects divided into functional areas. In order to build the entire EAR, all of the projects have to be built, even if you're only working on a single one of those projects. I'm examining how we could m

RE: Error opening zip file (because it isn't there)

2010-02-14 Thread KARR, DAVID (ATTSI)
u could also file the corresponding issue, attaching your sample > project. > I you do that, please give us here the link to the new issue you file. At this point, I've moved past this issue, but I'll see if I can reproduce this again. > 2010/2/13 KARR, DAVID (ATTSI) >

RE: Error opening zip file (because it isn't there)

2010-02-13 Thread KARR, DAVID (ATTSI)
es. > Note that when you'll have found the jar, the command to install it > locally > is provided in the log you just gave. > > Cheers. > > 2010/2/13 KARR, DAVID (ATTSI) > > > > -Original Message- > > > From: KARR, DAVID (ATTSI) > &g

RE: Error opening zip file (because it isn't there)

2010-02-13 Thread KARR, DAVID (ATTSI)
> -Original Message- > From: KARR, DAVID (ATTSI) > Sent: Saturday, February 13, 2010 11:47 AM > To: users@maven.apache.org > Subject: Error opening zip file (because it isn't there) > > I haven't used Maven in a while, so I'm sure I'm making sev

Error opening zip file (because it isn't there)

2010-02-13 Thread KARR, DAVID (ATTSI)
I haven't used Maven in a while, so I'm sure I'm making several obvious mistakes. I installed the latest m2eclipse in Eclipse 3.5.1 and created a simple Spring project, just to build a simple test case for a problem I'm seeing in Spring. I've deleted lots of plugin and dependency information to t