RE: Nexus deployment of a ZIP file...

2013-03-19 Thread Jim McCaskey
Hi there, Your missing phases and goals. Below should get you closer. More information can be found here: http://maven.apache.org/plugins/maven-assembly-plugin/usage.html -Jim maven-assembly-plugin 2.4 package single

RE: merge-maven-repos problems with maven-metadata.xml

2013-03-15 Thread Jim McCaskey
merge is doing the right thing, however, we still need to reindexing repo manager to pickup metadata changes. if not so, we need more details about how exactly metadata must be after the merge without the need to run the reindex -D On Fri, Mar 15, 2013 at 6:50 AM, Jim McCaskey wrote: > Hi th

RE: merge-maven-repos problems with maven-metadata.xml

2013-03-15 Thread Jim McCaskey
"repair repositories index" > -somehow (jenkins in my case) trigger a command to invoke the REST service > -enjoy > > I did not find a REST service directly to trigger a reindex, thus the hack > with the scheduled job. Let me know if you find something better > > hope it he

RE: merge-maven-repos problems with maven-metadata.xml

2013-03-14 Thread Jim McCaskey
es any way since the repository is not aware of your changes. Without reindexing, it may not serve your new artifact. Just curious, why do you want to merge snaphot repo, why not just push the artifact directly to your snapshot repos? -D On Thu, Mar 14, 2013 at 6:57 AM, Jim McCaskey wrote: > O

RE: merge-maven-repos problems with maven-metadata.xml

2013-03-14 Thread Jim McCaskey
s problems with maven-metadata.xml merge-maven-repos mojo works with release repos ONLY. Merging snapshot repos requires enhancement -Dan On Wed, Mar 13, 2013 at 11:29 AM, Jim McCaskey wrote: > Hello all, > > Below you will find a maven-metadata.xml file from my Nexus repository (GAV

merge-maven-repos problems with maven-metadata.xml

2013-03-13 Thread Jim McCaskey
Hello all, Below you will find a maven-metadata.xml file from my Nexus repository (GAV changed to protect the innocent). What you will notice is that the timestamp and the do not match. I don't think that it's a Nexus repo issue. Perhaps a bug in merge-maven-repos. I build the components

RE: Create text file in maven?

2012-11-28 Thread Jim McCaskey
Steve, You can use the antrun plugin for that just using ant echo statements. http://maven.apache.org/plugins/maven-antrun-plugin/ There might be a plugin that can do just the echo, but I don't know what that would be. -Jim -Original Message- From: Steve Cohen [mailto:sco...@javactivi

RE: Flexmojos

2012-09-13 Thread Jim McCaskey
Well, Marvin has stated that he will not respond to e-mails (he's very polite about saying it :) ). They do have a forum here [1] but I don't seem to be able to post to it. I was afraid that that was the state of flexmojos. It looks like they are in a bit of transition as well over to the Atl

RE: Flexmojos

2012-09-13 Thread Jim McCaskey
Hi Martin, Thanks for the response. I think what I'm really looking for is advice on the "right" flexmojos plugin to use and where the documentation lives. I've been googling like crazy and stuff seems to be a bit scattered between sonatype, github, and flexmojos.atlassian.net. In all that I

Flexmojos

2012-09-13 Thread Jim McCaskey
Hello all, I'm looking to find which version of the flexmojos plugin is the current "latest" and what one should use. We just recently upgrade to using Maven 3.0.4 and are looking at upgrading plugins we use to be more current. We had been using the Flexmojos plugin version 3.2.0 but we had t

RE: Re: How to zip the source code separately using Maven

2012-09-12 Thread Jim McCaskey
The documentation for the Maven Assembly Plugin [1] is pretty good (for Maven) and you'll probably find most of the answers you seek there. You are getting the error you described because you have not configured the plugin properly. You probably need the plugin to look something like this at mi

RE: How to zip the source code separately using Maven

2012-09-11 Thread Jim McCaskey
You can use either the Maven source plugin [1] or the more generic Maven Assembly Plugin [2] if you want more control of what goes into your zip. -Jim [1] http://maven.apache.org/plugins/maven-source-plugin/ [2] http://maven.apache.org/plugins/maven-assembly-plugin/ -Original Message-

RE: Maven Repository

2012-04-04 Thread Jim McCaskey
FWIW, My guess is something like below will work if you want to get 1.3.0-SNAPSHOT jar. Having said that, you specifically said 1.2.0-SNAPSHOT jar's. Those don't appear to exist anymore as 1.2.0 has been shipped. https://repository.apache.org/content/repositories/snapshots-group/org/apache/s

RE: Assembly plugin with multiple XMLs - appending assembly ID

2012-03-25 Thread Jim McCaskey
Zeba, It's probably not Maven best practice to have a .jar file with no classifier popped out of a pom project. But I'll let the Maven experts discuss that. I think you can accomplish what you want with multiple executions, something like this maybe. This is just a guess so YMMV.

Cobertura instrumentation in complex projects

2012-03-06 Thread Jim McCaskey
Hello all, I have a fairly large build in which we use cobertura extensively to look at unit test code coverage for our project. We also have separate integration tests that we would like to run using these instrumented binaries. There is some good documentation on how to accomplish that here

RE: skip cobertura for a module

2011-12-13 Thread Jim McCaskey
module > From: stephen.alan.conno...@gmail.com > To: users@maven.apache.org > > Is it that the skip mojo is skipping the report but not the forked execution? > > On 12 December 2011 21:58, Jim McCaskey wrote: > > I created a small example of the problem and put it here: > &

RE: skip cobertura for a module

2011-12-12 Thread Jim McCaskey
I created a small example of the problem and put it here: http://pastebin.com/QDhx2kVf Just run that pom.xml (I have tried Maven 2.2.1 and Maven 3.0.3) with this command: mvn install cobertura:cobertura If it is truly skipping the cobertura plugin, you should only see this line once: [e

RE: skip cobertura for a module

2011-12-12 Thread Jim McCaskey
Robert, Thanks much for the response. I have a parent pom that does just that in its pluginManagement section. Under the heading of "it never hurts to try", I went ahead and tried putting this in the offending module: org.codehaus.mojo cobertura-maven-plugin 2.5.1 tr

skip cobertura for a module

2011-12-12 Thread Jim McCaskey
Hello all, I tried posting this on the codehaus user list but it won't accept my e-mails. So let's try here: I'm having an issue with the cobertura plugin. I have a muti-module build that I invoke like this on a nightly basis: mvn install site:site findbugs:findbugs cobertura:cobertura Now

Maven site documentation problem

2011-12-07 Thread Jim McCaskey
Hello all, As a sort of public service announcement I would like to point out a problem with the docs here: http://maven.apache.org/plugins/maven-site-plugin/maven-3.html#Old_configuration_Maven_2__3 It has this little snippet at the top: true Notice that empty outputDirector

RE: How to use MAVEN Generated Artifacts in ANT Build.xml file ?

2011-11-02 Thread Jim McCaskey
"/> Thanks, daivish. On Wed, Nov 2, 2011 at 12:00 PM, Anders Hammar wrote: > You can also use Maven Ant Tasks or the Aether Ant Tasks. > > /Anders > > On Wed, Nov 2, 2011 at 19:51, Jim McCaskey > wrote: > > Hi there, > > > > You'll probably w

RE: How to use MAVEN Generated Artifacts in ANT Build.xml file ?

2011-11-02 Thread Jim McCaskey
Hi there, You'll probably want to take a look at ivy. http://ant.apache.org/ivy/ I've used it in a couple of places to "bridge the gap" on the way to Maven. -Jim -Original Message- From: Daivish Shah [mailto:daivish.s...@gmail.com] Sent: Wednesday, November 02, 2011 11:47 AM To: Maven

RE: Cannot locate the artifact jbossws-native-jaxrpc

2011-09-22 Thread Jim McCaskey
Hi there, You mvn install:install-file line is slightly incorrect. As you can see from the error, it is looking for version 3.0.4.GA. But when you install it, you are using -Dversion=3.0.4. Try switching that to: -Dversion=3.0.4.GA If that fails, you might consider adding a JBOSS repository

Current state of Maven native plugins

2011-09-15 Thread Jim McCaskey
Hi there, I have one or two very small JNI projects to build through Maven. I just need something "good enough" to get me through building them. I have used freehep-nar-plugin with some success in the past: http://java.freehep.org/freehep-nar-plugin/ But it does not seem to be active. I foun

RE: Failing to compile flex project using Maven

2011-08-25 Thread Jim McCaskey
Hi there, I'll preface this with we use a much older version of the flexmojo's, and we've long since archived the bits we use in our local Maven repository, but here's a shot... Looking at the repository here: https://repository.sonatype.org/content/groups/public I don't see all the flex piec

RE: Extracting the release portion of the maven version

2011-08-02 Thread Jim McCaskey
ion of the maven version Hehehe! They have very rigid version number format... Major.Minor.ServicePackOrUpgrade.Patch.Build On 2 August 2011 16:38, Jim McCaskey wrote: > You could piece it together using this maybe: > > http://mojo.codehaus.org/build-helper-maven-plugin/parse-version-mojo.

RE: Extracting the release portion of the maven version

2011-08-02 Thread Jim McCaskey
You could piece it together using this maybe: http://mojo.codehaus.org/build-helper-maven-plugin/parse-version-mojo.html We've done that, but we have very rigid control over the version numbers. -Jim -Original Message- From: Thiessen, Todd (Todd) [mailto:tthies...@avaya.com] Sent: Tues

RE: central repo?

2011-05-05 Thread Jim McCaskey
So, I'm not sure anyone here will care about this. But Maven Central does not work with IE9. You get an error like this: When a website causes a failure or crash, Internet Explorer attempts to restore the site. It stops after two tries to avoid an endless loop. And the URL switches to this:

RE: central repo?

2011-05-04 Thread Jim McCaskey
I just got hit by this as well. Thought central had been hijacked. Is there any way to get the full URL back? That has been so helpful just to be able to copy/paste/send to others. Needless to say, the url itself contains valuable information about the artifact in question. Now you have tha

maven-dependency-plugin 2.2 release?

2010-12-01 Thread Jim McCaskey
Hello all, I ran across a problem with the maven-dependency-plugin that is already fixed (actually fixed almost a year ago it seems): http://jira.codehaus.org/browse/MDEP-138 I was wondering if there are any plans to release a new maven-dependency-plugin? According to Jira, there appear to be

RE: wagon-maven-plugin and wagon-scm

2010-06-11 Thread Jim McCaskey
wagon-scm is in the build extensions, which is not possible without a POM file. An alternative is to use dav:http://, and turn on auto-versioning on your subversion server (though it creates a revision per-file...) On 11/06/2010, at 5:49 AM, Jim McCaskey wrote: > Hello all, > > I wa

wagon-maven-plugin and wagon-scm

2010-06-10 Thread Jim McCaskey
Hello all, I was wondering if anyone has gotten the wagon-maven-plugin working with wagon-scm? Specifically, I am trying to issue a command like this: mvn org.codehaus.mojo:wagon-maven-plugin:1.0-beta-3:merge-maven-repos -Dwagon.source=file://E:\stage -Dwagon.target=scm:svn:http://testserver/

RE: Multiple active profiles issue

2010-02-25 Thread Jim McCaskey
env.BUILD_TAG -Original Message- From: Jim McCaskey [mailto:jim.mccas...@pervasive.com] Sent: Thursday, February 25, 2010 2:41 PM To: 'users@maven.apache.org' Subject: Multiple active profiles issue Hello

Multiple active profiles issue

2010-02-25 Thread Jim McCaskey
Hello all, I'm having a little problem with profiles that I can't quite seem to figure out. I have a pom that has 3 profiles defined in it. 2 active by default and one active if a env var is set (BUILD_TAG). My little test pom is below. Now, when I do not set BUILD_TAG, it works as I expect.

RE: Maven with Java and non-Java projects

2010-02-24 Thread Jim McCaskey
For C# in particular we are using the NMaven project: http://www.codeplex.com/nmaven/ The problem with that one is that it has not received any attention in over a year. I'm not sure what the current status of that project is. The plugin tends to be a bit flaky though. A project that gets far

RE: Multi Module: Deploy and failing modules

2010-01-07 Thread Jim McCaskey
Johannes, As far as I know you pretty much HAVE to do this as a two step process. The way I do it is first call deploy like this: mvn -DaltDeploymentRepository=repo::default::file://C:\staging-repo deploy That builds everything to a temporary maven repo that's cleaned out between builds. I t

RE: File system repo

2009-11-11 Thread Jim McCaskey
> System scope is/soon will be deprecated. That really can't be true, can it? I have found that very useful in any number of situations. -Jim -Original Message- From: Wayne Fay [mailto:wayne...@gmail.com] Sent: Wednesday, November 11, 2009 4:37 PM To: Maven Users List Subject: Re: Fil

RE: Maven on AIX getting Authentication Denied errors

2009-09-24 Thread Jim McCaskey
esults for those Googling for issues in the future. -Jim -Original Message----- From: Jim McCaskey [mailto:jim.mccas...@pervasive.com] Sent: Tuesday, September 22, 2009 3:47 PM To: 'users@maven.apache.org' Subject: Maven on AIX getting Authentication Denied errors Hello all,

RE: Maven on AIX getting Authentication Denied errors

2009-09-22 Thread Jim McCaskey
Wayne, I knew this was the answer I was going to get. I should have prefaced with "Use a repository manager" answers need not apply. :) The answer is I would rather not spin my wheels on that exercise as I won't use it ultimately for a variety of reasons. I suppose your hoping to prove that

Maven on AIX getting Authentication Denied errors

2009-09-22 Thread Jim McCaskey
Hello all, I'm in a very mixed environment which has me doing a variety of things on Native platforms. I have been able to get this to work reliably on Solaris, HPUX, Linux, Win32, and Win64. However, I am having some trouble with AIX. I have a local Maven repository which requires authentica

RE: [PLEASE TEST] Maven 2.2.0-RC3

2009-06-11 Thread Jim McCaskey
Robert, I don't claim to be a Maven expert, but I had an idea that may fall into the "worth a shot" category. I think it's Maven 2.1.0 that they added a whole bunch of stuff to do secure passwords. I wonder if something there might be getting in the way. I have no idea what, or how, but mayb

RE: maven assembly plugin

2009-06-04 Thread Jim McCaskey
Hi there, The assembly plugin has an outputFileNameMapping capability. So you would add something like this: ${artifact.artifactId}.${artifact.extension} You can find additional info here: http://maven.apache.org/plugins/maven-assembly-plugin/assembly.html#class_dependencySet I think that wi

How to parse a number

2009-04-29 Thread Jim McCaskey
Hello all, I currently have build numbers like 1.2.3-999 where 999 is the always incrementing build number. I would like to somehow set a property with the 1.2.3 part of the number. In other words, strip off that which is after the dash. I thought perhaps the buildnumber-maven-plugin would h

Missing document introduction-to-the-pom.html

2009-04-17 Thread Jim McCaskey
Hello all, Not sure who runs the web site, but for some reason I can't get here: http://maven.apache.org/guides/introduction/introduction-to-the-pom.html I can navigate around to most other places FWIW. -Jim - To unsubscribe,

RE: settings.xml precedence

2009-04-14 Thread Jim McCaskey
Brett, Thanks, that's exactly what I needed. -Jim -Original Message- From: Brett Porter [mailto:br...@apache.org] Sent: Tuesday, April 14, 2009 7:22 PM To: Maven Users List Subject: Re: settings.xml precedence On 15/04/2009, at 8:15 AM, Jim McCaskey wrote: > Brian, > >

RE: settings.xml precedence

2009-04-14 Thread Jim McCaskey
Sent: Tuesday, April 14, 2009 5:06 PM To: Maven Users List Subject: Re: settings.xml precedence The -D doesn't change the settings, -s does. This most likely only overrides the user settings file, but the global one in the maven install /conf folder would still be referenced if it ex

settings.xml precedence

2009-04-14 Thread Jim McCaskey
Hello all, I'm having some trouble tracking down how the precedence works for settings.xml. I have a settings.xml in my ~/.m2 directory. However, when I invoke a build I pass -Dorg.apache.maven.global-settings on the command line. Should Maven not use the setting.xml specified on the command

Any nmaven users out there?

2009-04-10 Thread Jim McCaskey
Hello, I have asked this on the nmaven discussion groups but have not had any responses. Perhaps my details are just to fuzzy (as I am having trouble stapling down a test case), but nmaven does not seem to be receiving a lot of attention. I was hoping to find another user on this list who may

RE: Update maven-metadata.xml

2009-04-01 Thread Jim McCaskey
9 10:35 PM To: Maven Users List Subject: RE: Update maven-metadata.xml Using a repo manager would solve both problems. You could upload via a ui instead of deploy-file and the metadata would be correctly generated. -Original Message----- From: Jim McCaskey [mailto:jim.mccas...@pervasive.

RE: Update maven-metadata.xml

2009-03-31 Thread Jim McCaskey
1, 2009 8:33 PM To: Maven Users List Subject: Re: Update maven-metadata.xml On 01/04/2009, at 12:16 PM, Jim McCaskey wrote: > Hello all, > > I have two questions surrounding maven-metadata.xml files. > > I have a need to regenerate a bunch of maven-metadata.xml files. I >

Update maven-metadata.xml

2009-03-31 Thread Jim McCaskey
Hello all, I have two questions surrounding maven-metadata.xml files. I have a need to regenerate a bunch of maven-metadata.xml files. I was wondering if there where any tools or mojo's that might be able to help me do this. Needing to do this was caused by... I also have a problem with usi

maven repository version

2009-03-30 Thread Jim McCaskey
Hello all, I have a hunch the answer to this is going to be "use a repository manager" but thought I would ask. I have built up 3 internal maven repositories that we point at via settings in our settings.xml. I would like to be able to "version" 2 of them. Essentially what I am thinking of i

RE: How to perform a deploy only

2009-03-30 Thread Jim McCaskey
think your solution is easier than mvn install if not errorlevel 1 mvn deploy:deploy But - everyone has their own solutions ;) Thanks for sharing. Stefan On Fri, 27 Mar 2009 13:17:43 -0500 Jim McCaskey wrote: > Hi Stephen, > > Sure no problem. What I came up with was another se

RE: How to perform a deploy only

2009-03-27 Thread Jim McCaskey
thanks to everyone. -Jim -Original Message- From: Stephen Connolly [mailto:stephen.alan.conno...@gmail.com] Sent: Friday, March 27, 2009 12:45 PM To: Maven Users List Subject: Re: How to perform a deploy only Any chance you could post your solution? 2009/3/27 Jim McCaskey > I have foun

RE: How to perform a deploy only

2009-03-27 Thread Jim McCaskey
ild configuration to solve the problem, or as mentioned use a repo man that can help you out. -Original Message- From: Jim McCaskey [mailto:jim.mccas...@pervasive.com] Sent: Wednesday, March 25, 2009 11:26 PM To: 'Maven Users List' Subject: RE: How to perform a deploy only Thanks fo

RE: Maven Stage Plugin issue

2009-03-26 Thread Jim McCaskey
here: http://mojo.codehaus.org/wagon-maven-plugin/merge-maven-repos-mojo.html But it is in the usage example here: http://mojo.codehaus.org/wagon-maven-plugin/usage.html Thanks for all the help! -Jim -Original Message- From: Jim McCaskey [mailto:jim.mccas...@pervasive.com] Sent

RE: Maven Stage Plugin issue

2009-03-26 Thread Jim McCaskey
- From: Dan Tran [mailto:dant...@gmail.com] Sent: Thursday, March 26, 2009 1:32 PM To: Maven Users List Subject: Re: Maven Stage Plugin issue try file:///e:/dir/staging-repo -D On Thu, Mar 26, 2009 at 11:23 AM, Jim McCaskey wrote: > Hi Dan, > > Thanks a lot for the response.  I took a l

RE: Maven Stage Plugin issue

2009-03-26 Thread Jim McCaskey
to see it works out for you. It has a port of maven-stage-plugin with lots of fixes. -D On Thu, Mar 26, 2009 at 8:36 AM, Jim McCaskey wrote: > Hello all, > > I am attempting to use the Maven stage plugin and running into a break.  I > have tried this using Maven 2.0.7, 2.0.8, 2.

Maven Stage Plugin issue

2009-03-26 Thread Jim McCaskey
Hello all, I am attempting to use the Maven stage plugin and running into a break. I have tried this using Maven 2.0.7, 2.0.8, 2.0.9, 2.0.10, and 2.1.0. I'm also using the only stage plugin available which appears to be 1.0-alpha-1. My guess is I'm doing something wrong, but for the life of m

RE: How to perform a deploy only

2009-03-26 Thread Jim McCaskey
an ant script that does the mvn stage:copy for you -Stephen 2009/3/26 Jim McCaskey > Thanks for the suggestion. I have been trying to avoid using repository > managers for a number of reasons that are beyond the scope of this thread. > I may have to break down eventually... > >

RE: How to perform a deploy only

2009-03-25 Thread Jim McCaskey
nfo. I'm reasonably confident with some light hacking you could write a plugin that essentially faked the build, but if the below is your use case and you can afford Nexus Pro, it's probably a better solution. Justin ________ From: Jim McCaskey [mailto:jim.mccas...

RE: How to perform a deploy only

2009-03-25 Thread Jim McCaskey
elson, Justin [mailto:justin.edel...@mtvstaff.com] Sent: Wednesday, March 25, 2009 9:21 PM To: Maven Users List Subject: RE: How to perform a deploy only I'm not 100% sure I understand, but "mvn deploy:deploy" will do what I think you are describing. Justin ___

RE: How to perform a deploy only

2009-03-25 Thread Jim McCaskey
PM To: Maven Users List Subject: RE: How to perform a deploy only This really isn't a supported use case. Deploy is a phase and by definition all earlier phases run before the one you've asked for. Why would you not want to build before you deploy? -Original Message- Fro

How to perform a deploy only

2009-03-25 Thread Jim McCaskey
Hello all, I have several components all built from a top level pom. This works great for accelerating users to be able to build a lot of stuff quickly but is giving me some fits when trying to deploy. Up to this point I have been using deploy:deploy-file to get built components into our loca

RE: project.build.directory not set properly for ant

2009-03-13 Thread Jim McCaskey
know what happened with it. Sorry for the noise. -Jim -Original Message- From: Jim McCaskey [mailto:jim.mccas...@pervasive.com] Sent: Tuesday, March 10, 2009 12:53 PM To: 'users@maven.apache.org' Subject: project.build.directory not set properly for ant Hello, We are curre

project.build.directory not set properly for ant

2009-03-10 Thread Jim McCaskey
Hello, We are currently using Maven 2.0.7 and I am working on upgrading us to Maven 2.0.10. I ran into a problem which I think is in maven-antrun-plugin, but can't be sure. I do not think it is interpreting ${project.build.directory} properly. In a lot of our POM's we override the output dire

project.build.directory not set properly for ant

2009-03-10 Thread Jim McCaskey
Hello, We are currently using Maven 2.0.7 and I am working on upgrading us to Maven 2.0.10. I ran into a problem which I think is in maven-antrun-plugin, but can't be sure. I do not think it is interpreting ${project.build.directory} properly. In a lot of our POM's we override the output dire