pom builds empty jar, but only on release:perform

2009-11-05 Thread C. Benson Manica
-compiler-plugin/artifactId configuration source1.6/source target1.6/target /configuration /plugin /plugins /build /project -- C. Benson Manica cbman...@gmail.com

Can I do this with Maven?

2010-05-16 Thread C. Benson Manica
portions of the M to RTF are appreciated! -- C. Benson Manica cbman...@gmail.com

Re: Can I do this with Maven?

2010-05-16 Thread C. Benson Manica
that they can extract that snapshot and do things with it? Any help or links to the relevant portions of the M to RTF are appreciated! -- C. Benson Manica cbman...@gmail.com -- Hotmail is redefining busy with tools for the New Busy. Get more from your inbox

Build checksum for assembly?

2010-05-17 Thread C. Benson Manica
to deploy not found: File: http://xxx/artifactory/libs-snapshots-local/com/my/site/1.1-SNAPSHOT/pkg-1.1-20100516.231424-1-blankdb.tar.gz. md5 does not exist How do I tell maven to create this md5 checksum? mvn deploy -DcreateChecksum=true didn't do it... -- C. Benson Manica cbman...@gmail.com

Re: Build checksum for assembly?

2010-05-17 Thread C. Benson Manica
Just as an update, it turns out that it was actually a problem with Artifactory 2.2.2 - upgrading to 2.2.3 fixed the problem. On Mon, May 17, 2010 at 10:29 AM, C. Benson Manica cbman...@gmail.comwrote: Upping a question I asked previously to a separate thread - seems like it should be simple

Exclude all transitive dependencies by version?

2010-05-18 Thread C. Benson Manica
would work, but it doesn't - mvn dependency:resolve on a clean repository still shows lines like Downloading: http://ide-svn.turner.com/artifactory/repo/org/springframework/spring-context/2.0.8/spring-context-2.0.8.pom What am I doing wrong? -- C. Benson Manica cbman...@gmail.com

Re: Exclude all transitive dependencies by version?

2010-05-19 Thread C. Benson Manica
the Spring that you need directly in a dependency in the POM and use exclusions on all versions of Spring in the dependencies that are transitively bringing in 2.0.x that you do not want. Ron On 18/05/2010 12:54 PM, C. Benson Manica wrote: I have a project which depends on artifacts which

Dependency on assembly?

2010-05-20 Thread C. Benson Manica
? -- C. Benson Manica cbman...@gmail.com

Re: Dependency on assembly?

2010-05-21 Thread C. Benson Manica
Thank you, that is exactly what I was looking for! On Thu, May 20, 2010 at 9:56 PM, Marshall Schor m...@schor.com wrote: On 5/20/2010 11:29 AM, C. Benson Manica wrote: Let's say I have a dependency that looks something like dependency groupIdcom.foo/groupId

Change name of assembled artifacts

2010-08-02 Thread C. Benson Manica
be, but I'm hoping to be able to replace that with a less ugly solution. -- C. Benson Manica cbman...@gmail.com

Re: Change name of assembled artifacts

2010-08-02 Thread C. Benson Manica
-name/finalName plugins In the POM.XML file 2010/8/2 C. Benson Manica cbman...@gmail.com We have a project foo that builds several assemblies - let's say one of them is named bar. The resulting artifacts get named foo-VERSION-bar

Project without main artifact

2010-08-03 Thread C. Benson Manica
deployed along with the artifacts I want, or are there configuration options that can address this? -- C. Benson Manica cbman...@gmail.com

Re: Project without main artifact

2010-08-06 Thread C. Benson Manica
No, it's not a pom, its purpose is to go download other dependencies and repackage them nicely. On Tue, Aug 3, 2010 at 4:49 PM, Anders Hammar and...@hammar.net wrote: A pom project? /Anders On Tue, Aug 3, 2010 at 16:22, C. Benson Manica cbman...@gmail.com wrote: Is it possible

Skip tests on release

2010-08-10 Thread C. Benson Manica
mvn -DskipTests=true -Dmaven.test.skip=true release:perform still insists on running the unit tests. Why? They already ran on release:prepare, I really, really, really get annoyed sitting through five minutes of unit tests that I know pass because I just ran them. -- C. Benson Manica cbman

Re: Skip tests on release

2010-08-10 Thread C. Benson Manica
gratuitous. On Tue, Aug 10, 2010 at 12:40 PM, Tony Chemit che...@codelutin.com wrote: Le Tue, 10 Aug 2010 12:32:55 -0400, C. Benson Manica cbman...@gmail.com a écrit : mvn -DskipTests=true -Dmaven.test.skip=true release:perform still insists on running the unit tests. Why? They already ran

Re: Skip tests on release

2010-08-11 Thread C. Benson Manica
of the deployment-- idrelease/id properties skipTeststrue/skipTests /properties /profile On Tue, Aug 10, 2010 at 11:25 AM, C. Benson Manica cbman...@gmail.com wrote: I do pretty much always want to release with the tests done, but why do they have to run twice

Parent and child projects share same version

2010-08-11 Thread C. Benson Manica
to resolve correctly. Am I stuck with manually editing the version tag every time I release the top-level pom or am I missing something? -- C. Benson Manica cbman...@gmail.com

Re: Parent and child projects share same version

2010-08-11 Thread C. Benson Manica
How do I use the release plugin to do this automatically? On Wed, Aug 11, 2010 at 12:42 PM, Wendy Smoak wsm...@gmail.com wrote: On Wed, Aug 11, 2010 at 12:18 PM, C. Benson Manica cbman...@gmail.com wrote: there appears to be no way to avoid having to manually bump child1's parent element

Re: Parent and child projects share same version

2010-08-11 Thread C. Benson Manica
once for each? On Wed, Aug 11, 2010 at 12:58 PM, Wendy Smoak wsm...@gmail.com wrote: On Wed, Aug 11, 2010 at 12:49 PM, C. Benson Manica cbman...@gmail.com wrote: How do I use the release plugin to do this automatically? How are you changing the version elements now? Does the parent pom also

Re: Parent and child projects share same version

2010-08-11 Thread C. Benson Manica
Ah, got it. Thank you for your help!! On Wed, Aug 11, 2010 at 1:36 PM, Wendy Smoak wsm...@gmail.com wrote: On Wed, Aug 11, 2010 at 1:09 PM, C. Benson Manica cbman...@gmail.com wrote: Yes, the parent pom has the modules in it - so I see that yes, it does actually do that for me, although

Smart transitive dependency resolution?

2010-08-13 Thread C. Benson Manica
dependencies in the first place, but fixing that isn't really possible at the moment.) -- C. Benson Manica cbman...@gmail.com

Plugin download not working

2010-08-16 Thread C. Benson Manica
wrong? -- C. Benson Manica cbman...@gmail.com

Re: Plugin download not working

2010-08-16 Thread C. Benson Manica
my work machine (which is not configured for fancy proxying and from which I did not do the release) and it was downloaded correctly. Give it 24 hours worst case On 16 August 2010 16:02, C. Benson Manica cbman...@gmail.com wrote: Our projects are configured to download plugins from

Re: Smart transitive dependency resolution?

2010-08-16 Thread C. Benson Manica
. On Sun, Aug 15, 2010 at 5:52 AM, Baptiste MATHUS m...@batmat.net wrote: Le 13 août 2010 17:35:50 UTC+2, C. Benson Manica cbman...@gmail.com a écrit : I have projects A, B, C, and D. A is basically a database API that a variety of projects use. B depends on A, C depends on B and A, and D

Re: Project without main artifact

2010-08-19 Thread C. Benson Manica
rwhee...@artifact-software.comwrote: On 06/08/2010 2:48 PM, C. Benson Manica wrote: No, it's not a pom, its purpose is to go download other dependencies and repackage them nicely. So it does produce an artifact. What kind of Artifact? What exactly are you trying to do. Give enough detail

Change development version

2010-08-26 Thread C. Benson Manica
What is the proper way to update the development version of a project (and its subprojects if any)? Say a project is currently at 1.4-SNAPSHOT but I decide I want to mark it as 1.4-pre-1-SNAPSHOT - is there a way to do that without manually editing all the poms involved? -- C. Benson Manica

Re: Change development version

2010-08-26 Thread C. Benson Manica
Maybe indeed! This solves a lot of problems - thanks! On Thu, Aug 26, 2010 at 11:27 AM, Schrecker, Wolfgang wolfgang.schrec...@atosorigin.com wrote: Maybe this plugin would help: http://mojo.codehaus.org/versions-maven-plugin/ W. -Ursprüngliche Nachricht- Von: C. Benson Manica

Dependency:sources skipping files

2010-08-30 Thread C. Benson Manica
I run mvn -U dependency:sources, and all my source jars are on an Artifactory build server, but all the sources are skipped and nothing gets downloaded. What causes Maven to skip downloading sources? -- C. Benson Manica cbman...@gmail.com

Re: Dependency:sources skipping files

2010-09-01 Thread C. Benson Manica
if you run it many times it won't try to get the missing ones over and over. This goal dates to the days when the connection to central was unreliable and I was tired of having eclipse:eclipse -DdownloadSources=true fail in the middle. On Mon, Aug 30, 2010 at 11:01 AM, C. Benson Manica cbman

Invoke exec-maven-plugin only for package and release:perform

2010-09-01 Thread C. Benson Manica
accomplish that? -- C. Benson Manica cbman...@gmail.com

Exec-maven plugin invoked twice during release process

2010-09-14 Thread C. Benson Manica
/execution /executions /plugin /plugins -- C. Benson Manica cbman...@gmail.com

Update new release 2.1 plugin to Artifactory?

2010-10-08 Thread C. Benson Manica
How can I manually deploy the new release plugin version 2.1 to Artifactory? -- C. Benson Manica cbman...@gmail.com

Retry failed artifact deployments during release

2010-10-14 Thread C. Benson Manica
Is it possible to configure Maven to retry artifact deployments that fail during the release process? Artifactory seems to have a habit of returning 502s and I'd like Maven to at least try to upload the artifacts several times before giving up on a lengthy build process. -- C. Benson Manica

Pass custom options to svn commands

2011-10-12 Thread C. Benson Manica
or release:perform - which is where I really need the --trust-server-cert option passed. How can I force Maven to do this? (P.S., I would add that the documentation here is extremely lacking.) -- C. Benson Manica cbman...@gmail.com

Release only certain modules?

2011-10-13 Thread C. Benson Manica
modules A and B, but not of non-dependent modules C and E? The release plugin documentation is not very helpful... -- C. Benson Manica cbman...@gmail.com

Can't pass empty arguments via the command line

2011-10-14 Thread C. Benson Manica
/plugins /build /project -- C. Benson Manica cbman...@gmail.com