[m2] dependency ordering

2005-11-14 Thread Nigel Magnay
Hi - I'm doing some processing with a custom mojo that relies on the dependency information to build an artifact, but the order of processing is important. Because MavenProject.getArtifacts() returns a set, this is unordered with respect to the pom.xml; I was wondering if it's possible to add

Re: [m2] dependency ordering

2005-11-14 Thread Nigel Magnay
the ${project.artifacts}. This is how the assembly plugin works. - Brett On 11/14/05, Nigel Magnay [EMAIL PROTECTED] wrote: The artifact being generated is effectively a merge of several other artifacts of the same type - a WAR file. It's important to get the ordering right as the overwriting precidence

[m2] InstallMojo properties

2005-11-14 Thread Nigel Magnay
A bit further into my experimenting with generating an m2 plugin - I have successfully created my mojo and bound it to the bit of lifecycle to do with packaging. My 'client' project has packaginguberwar/packaging To get hte right binding. However - because of this, the install mojo assumes the

Re: [m2] dependency ordering

2005-11-14 Thread Nigel Magnay
the relevance of the ordering is? There might be something already available. The suggestion of this tag is tricky, as how does dependencies brought in transitively get ordered? - Brett On 11/14/05, Nigel Magnay [EMAIL PROTECTED] wrote: Hi - I'm doing some processing with a custom mojo

use of ArtifactHandler

2005-11-17 Thread Nigel Magnay
Hello - I have been trying to follow the configuration for ArtifactHandlers - I have in my components.xml component roleorg.apache.maven.artifact.handler.ArtifactHandler/role role-hintuberwar/role-hint

Re: use of ArtifactHandler

2005-11-17 Thread Nigel Magnay
as your packaging... - -j Nigel Magnay wrote: | Hello - I have been trying to follow the configuration for | ArtifactHandlers - I have in my components.xml | | component | roleorg.apache.maven.artifact.handler.ArtifactHandler/role | role-hintuberwar/role-hint

convert a dependency to an artifact in plugin

2007-09-05 Thread Nigel Magnay
I have a project using the groovy maven plugin to do some scripting. I can get access to my project, and its dependencies from a project variable. I can get access to the instance of the local repository by passing ${localRepository} in a property What I want to do is, for a dependency, find

LATEST, SNAPSHOT and RELEASE

2007-10-25 Thread Nigel Magnay
I could have sworn I'd read somewhere that it was possible to use dependency versions of LATEST, RELEASE and SNAPSHOT in a pom dependency to not have to specify which particular version I needed. Did I just dream that? Or does it not apply to dependencies?

dependency:resolve and dependency:tree

2007-10-26 Thread Nigel Magnay
Hello I have a war project (actually, a cargo uberwar project), which I want to analyse using dependency:resolve / dependency:tree (and maybe even through site reporting) in order to find dependency conflicts. However - the dependency plugin does not show the jar files that are a part of the

Re: dependency:resolve and dependency:tree

2007-10-26 Thread Nigel Magnay
] commons-collections:commons-collections:jar:3.1:compile Is this also the reason why my dependency convergence report looks OK, when really there's a mismatch ? On 26/10/2007, Nigel Magnay [EMAIL PROTECTED] wrote: Hello I have a war project (actually, a cargo uberwar project), which

Re: dependency:resolve and dependency:tree

2007-10-29 Thread Nigel Magnay
the 3.1 set. Use mvn -X to see the actual resolution, the tree mojo is still in progress. I don't understand your question about the war files. Are you expecting to see the dependencies inside the war or OF the war? -Original Message- From: Nigel Magnay [mailto:[EMAIL PROTECTED

maven-plugin-plugin failing in reactor

2007-11-01 Thread Nigel Magnay
I have a mojo building with groovy. In my pom I have plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-plugin-plugin/artifactId version2.3/version dependencies dependency

POM 'inclusion'? A tricky problem..

2007-11-03 Thread Nigel Magnay
Hi maveneers. I have an interesting problem which I'm not sure how to solve, and I wonder if anyone else has met this before or has some good ideas.. We have 2 products; Alpha and Beta, a CommonCode project, and a SuperPom project (it's actually more complex than that, but this is just to

Re: POM 'inclusion'? A tricky problem..

2007-11-03 Thread Nigel Magnay
be to acheive. On 11/3/07, Brett Porter [EMAIL PROTECTED] wrote: Is there a reason to always have common code in snapshot as a dependency? Could it not be set to the latest release and only updated when a change from the new one is needed? - Brett On 03/11/2007, Nigel Magnay [EMAIL PROTECTED

Bug in property resolution?

2007-11-07 Thread Nigel Magnay
Hi I have a big reactor project. In one project, there is a property set as properties commons-version2.2.1/commons-version /properties and in a later project, it is properties commons-version2.2.4-SNAPSHOT/commons-version /properties .. build plugins

Re: Bug in property resolution?

2007-11-07 Thread Nigel Magnay
good ideas? On Nov 7, 2007 4:34 PM, Nigel Magnay [EMAIL PROTECTED] wrote: Hi I have a big reactor project. In one project, there is a property set as properties commons-version2.2.1/commons-version /properties and in a later project, it is properties commons-version2.2.4-SNAPSHOT

Re: moving from maven 1 to maven 2, part 2

2007-11-13 Thread Nigel Magnay
I'd really (really really) try not to mess with the maven versioning - it's a recipe for having to custom write loads of stuff, and it really is pretty fundamental to the operation of maven. Without it, I'm not sure there's much reason to change if it's currently working... That said... Is there

Re: moving from maven 1 to maven 2, part 2

2007-11-13 Thread Nigel Magnay
they don't today) Nigel Magnay skrev: I'd really (really really) try not to mess with the maven versioning - it's a recipe for having to custom write loads of stuff, and it really is pretty fundamental to the operation of maven. Without it, I'm not sure there's much reason to change

Re: maven 2.0.7 assembly plugin

2007-11-14 Thread Nigel Magnay
You can do a jar containing all dependencies with the following descriptor. However - the excludes doesn't work properly in the assembly plugin, so if you have dependencies that are signed, you'll have to fix them afterwards annoyingly. You can also pack jars into the /lib and use something like

M2 : using assembly plugin to copy part of the repository

2006-08-15 Thread Nigel Magnay
I have a pom.xml with various dependencies included in it. I want, in the output JAR file, to include a directory that contains a subsection of the repository from those dependencies. I can nearly get there, by using the assembly descriptor (at the end), but I have 2 problems 1) I want to use

Re: Modules Building Out of Order

2006-10-04 Thread Nigel Magnay
Are you using the assembly plugin? could be *MASSEMBLY-97 http://jira.codehaus.org/browse/MASSEMBLY-97 or MASSEMBLY-102, *raised way back in May but don't look any closer to being fixed. On 04/10/06, SingleShot [EMAIL PROTECTED] wrote: I have a master POM and many modules. For months we've

using ant to do the packaging

2006-10-09 Thread Nigel Magnay
Hello listers I am binding things like ant tasks into the lifecycle by using the maven-antrun-plugin bound to the package phase. The ant script usually overwrites the target/blah.jar file with something new. This works well, and I get what I expect in the target directory of my build.

Re: using ant to do the packaging

2006-10-10 Thread Nigel Magnay
jars in the lib as suggested in the Maven2 doc (Better Builds with Maven)...this on top of the ant-plugins? thanks. Nigel Magnay [EMAIL PROTECTED] wrote: Hello listers I am binding things like ant tasks into the lifecycle by using the maven-antrun-plugin bound to the package phase. The ant

[m2] Using the eclipse (3.2) compiler

2006-10-10 Thread Nigel Magnay
I've been trying to get maven(2) to use the eclipse compiler, which is implied to be possible by fiddling with maven-compiler-plugin and plexus-compiler. However, I can't get it to work (in particular, I can't persuade it that the project is java 1.5, even if I pass the right values in

Re: Poor man's web.xml merging

2006-11-07 Thread Nigel Magnay
I think your merge.xml is required to have a context params section e.g : webXml contextParams strategy name=ChooseByName default strategy name=Preserve/ /default choice name=contextConfigLocation strategy name=NodeMerge context-param

Surefire tests occasionally failing because the classpath is wrong

2006-12-04 Thread Nigel Magnay
In my multiproject, I use commons-lang. In my pom.xml (atend) I have the dependency set (excluded once to avoid a conflict). However, the build sometimes fails, but not always, trying to find a class in commons-lang. Doing a mvn -X shows it isn't present on the test classpath. Is there some way

surefire transitive classpath bug ?

2006-12-08 Thread Nigel Magnay
I think this is a bug in surefire. If I run my project with mvn -X I see in the output : [DEBUG] Retrieving parent-POM: org.apache.myfaces.maven:myfaces-master::1.0.2 for project: org.apache.myfaces.core:myfaces-core-project:pom:1.1. from the repository. [DEBUG]

Re: surefire transitive classpath bug ?

2006-12-08 Thread Nigel Magnay
, repeat'. I'll file a JIRA with full -X output; I've been testing with surefire 2.3-SNAPSHOT which may be better. As is always the case with these things, turning on -X tends to make it work ;-S On 08/12/06, Wendy Smoak [EMAIL PROTECTED] wrote: On 12/8/06, Nigel Magnay [EMAIL PROTECTED] wrote

Re: Maven shell

2007-02-05 Thread Nigel Magnay
I actually had a related issue - our project is comprised of many jar and war fragments and, good though the jetty plugin is, it's helpful when debugging webapps in eclipse when hotswap fails (which is always), to be able to have it automatically copy changed class files into the running

Re: Maven shell

2007-02-05 Thread Nigel Magnay
I did something simple in .net (mostly because when I go near the maven codebase, the vast array of poorly documented dependences like plexus scares me and I don't have the time to figure it all out), but That's also what is refraining me ! I love using maven, I think the people behind it

deploy problem

2007-02-28 Thread Nigel Magnay
I've a recent version of archiva in tomcat (windows), and maven 2.0.5 on the client; I'm having problems doing deploys. With wagon-1.0-beta-2 it complains of insufficient storage - some files do deploy however. On the server logs, I get an error reported: Unable to service DAV request due to

Re: Deploy failing to load webdav extension

2007-03-05 Thread Nigel Magnay
I'm seeing similar problems - there are artifacts that are in ibiblio that are not in repo1 I added http://mirrors.ibiblio.org/pub/mirrors/maven2 into my topmost pom, and most things then worked. Depressingly, archiva currently refuses to proxy correctly for the above, and is still failing to

Re: [ANN] Artifactory - new Maven 2 proxy repository

2007-03-05 Thread Nigel Magnay
My experience so far: Archiva : Alpha; doesn't work (random webdav deployment failures), loads of bugs, low rate of progress. Feels dead. Proximity : Works; slightly confusing (don't like the separation of metadata); lots of new releases constantly; hard to configure (hacking around with spring

mirroring polluting local repository?

2007-03-12 Thread Nigel Magnay
I have an annoying problem. I have an artifactory mirror running, and it seems to be working correctly. I have various mirrors set up, one of which is for the apache-m2-snapshots. This all works correctly, and files are getting placed in the right repositories. However In my local repo, I'm

Re: Maven's included with Leopard (Mac OS 10.5)

2007-11-15 Thread Nigel Magnay
symlink usr/share/maven to whichever install you want to use. On Nov 15, 2007 5:00 PM, Ryan Scott [EMAIL PROTECTED] wrote: Does anyone know how to fix this? I tried using darwin ports to upgrade but leopard keeps overlaying the install with 2.0.6 which does not work for my application. What

Re: Maven users interested in the future of Proximity

2008-01-02 Thread Nigel Magnay
Is this going to beta any time soon? Our artifactory proxy has rotted and started serving 0 byte files randomly (who knows if it's the underlying repo); I was never that keen on proximity's 'configure me by hacking spring config xml', particularly if it's about to be deprecated soon for something

mojo cookbook; resolving transitively

2008-01-15 Thread Nigel Magnay
The Mojo Developer Cookbook (http://docs.codehaus.org/display/MAVENUSER/Mojo+Developer+Cookbook) is great. In it, there's a section on Resolving Transitively. This works great - however, the artifact set that is resolved is based on Maven's idea of which graph edges ought to be considered for

mojo bug when not in a reactor ?

2008-01-22 Thread Nigel Magnay
Hi I use the standard bit of code to get all the transitively-resolved artifacts from a project : Artifact art2 = some artifact in the repository ... resolver.resolve(art2, remoteRepositories, localRepository); MavenProject pomProject = mavenProjectBuilder.buildFromRepository( art2,

Re: [POLL] Why are you not able to use the most recent maven release?

2008-03-10 Thread Nigel Magnay
2.0.7, with local patches. Because I've tried about 3 times to get someone to apply a fix for MNG-3284 (or tell me if the attached patch won't work because of something non-obvious), and it just never goes anywhere. :-/ On Fri, Mar 7, 2008 at 9:44 PM, Brian E. Fox [EMAIL PROTECTED] wrote: I get

Re: parallel building

2007-04-10 Thread Nigel Magnay
Not as far as I know. The Hudson CI tool claims to be able to parallel build in the correct order, but I don't know how good it is at it. IMHO it'd be a very powerful addition - if you've got something like an 8-core mac, it'd be nice to keep more of it busy. Even farming out builds to separate

Re: parallel building

2007-05-22 Thread Nigel Magnay
=truebody=true Thanks a lot Emerson On 10/04/07, Nigel Magnay [EMAIL PROTECTED] wrote: Not as far as I know. The Hudson CI tool claims to be able to parallel build in the correct order, but I don't know how good it is at it. IMHO it'd be a very powerful addition - if you've got something like

m2 assembly confusion

2007-06-08 Thread Nigel Magnay
I have a project that is buildig in Hudson, that uses the m2 assembly plugin. In the project pom, it explicitly sets the version of that plugin to 2.1. It builds correctly from the commandline, and it mostly builds correctly in hudson, but occasionally (I suspect it might be an update issue),

problem with release:prepare and type / packaging

2007-06-19 Thread Nigel Magnay
I have a multi-module project that works fine for everything, apart from release:perform. I think I know why, but I don't know how to fix it. Basically, I have a project that is defined as packaginguberwar/packaging. This artifact is built into a .WAR file. The dependency that includes it has

Massive number of threads being created on project shutdown ??

2007-06-28 Thread Nigel Magnay
Hi I've recently switched to using OS X. Our project that builds fine on Windows displays some rather odd behaviour. When maven closes down (after a BUILD FAILURE) message, the machine slows down. Observing the process in activity monitor shows that the number of java threads leaps from about

JAR file with a different extension ?

2004-04-21 Thread Nigel Magnay
Hi I'm building a project with jar:install-snapshot goal, which works fine. I need the file to actually have the extension .wsr when it is assembled into an EAR file. Should I do this with something like a rename repository:copy-jar, or some kind of step Before the ear:ear ? -- Activiti

reactor being called when goal is no explicit

2004-05-05 Thread Nigel Magnay
We have the following layout /Proj - root /Proj/Build - maven.xml that uses the reactor /Proj/Hub/P1 - 1st project /Proj/Hub/P2 - 2nd project Our Build reactor calls an install goal in P1 and P2 which they define in their own maven.xml fine. I can go into either P1 or P2 directly,

problem with linkcheck:linkcheck

2004-05-05 Thread Nigel Magnay
For some reason, some of my projects crash in site:generate when it does the linkcheck part. I've attached the (rather large) exception - are there any ideas as to what it could be and How I might fix it? -- BUILD FAILED File.. file:/C:/Documents and

RE: problem with linkcheck:linkcheck

2004-05-05 Thread Nigel Magnay
Message- --From: Nigel Magnay --Sent: 05 May 2004 14:44 --To: '[EMAIL PROTECTED]' --Subject: problem with linkcheck:linkcheck -- -- --For some reason, some of my projects crash in site:generate --when it does the linkcheck part. -- --I've attached the (rather large) exception - are there any

Using reactor to generate navigation.xml

2004-05-06 Thread Nigel Magnay
Is there any example of using the reactor to auto-generate a navigation.xml to subprojects ? I have j:forEach var=reactorProject items=${reactorProjects} echo${reactorProject.artifactId}/echo /j:forEach But I haven't looked at how to write out the navigation.xml file so I was

Maven with CruiseControl

2004-05-19 Thread Nigel Magnay
I'm getting some very odd behaviour running Maven from CC. It seems that every other build, my ${user.home}/build.properties file is not being read, so my build fails, thus 50% of them seem to fail all the time. Is there any reason this file would not get read?

RE: Maven with CruiseControl

2004-05-20 Thread Nigel Magnay
] --Sent: 20 May 2004 00:16 --To: 'Maven Users List' --Subject: RE: Maven with CruiseControl -- --Works for me... Might be environmental? -- --Is this on windows or unix? -- --IS CC running as the user you expect? -- --- Brett -- -- -Original Message- -- From: Nigel Magnay [mailto:[EMAIL PROTECTED

RC3 problem with clover

2004-05-26 Thread Nigel Magnay
After upgrading to RC3, we have a problem with the clover plugin. It complains in a lot of our projects that it can't get maven.test.compile.src.set. This is because we don't want to run any tests in that project, we are merely instrumenting the classes so that when they are run later (inside

Plugin taglibs

2004-08-09 Thread Nigel Magnay
Hello I have a plugin where I have declared a taglib by doing define:taglib uri=myuri define:tag name=yadayada etc etc I can do plugin:install fine However, when I try and use it in my script, with project xmlns:mine=myuri ... goal. ... mine:yadayada / I get Tag library requested

CruiseControl, Maven, modificationsets

2004-10-07 Thread Nigel Magnay
Hi people We're using CruiseControl and Maven quite happily for individual project builds and larger 'continuous integration' type stuff. Cruisecontrol gets launched with the cvs modificationset detecting whether there have been any changes to a part of the cvs repo relevant to that project. It

maven with eclipse, mevenide et al

2004-10-26 Thread Nigel Magnay
Hi people. We've been using maven for a while now, with cruisecontrol, very nicely indeed, for builds. Some of us use maven to do our local box builds, but more don't than do, and a part of that is probably our heavy additction to Eclipse. Now, I've been using the IDE integration stuff, but I

Re: maven with eclipse, mevenide et al

2004-10-26 Thread Nigel Magnay
from one place into multiple jars... Eric -Original Message- From: Nigel Magnay [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 26, 2004 11:01 AM To: [EMAIL PROTECTED] Subject: maven with eclipse, mevenide et al Hi people. We've been using maven for a while now

Re: maven with eclipse, mevenide et al

2004-10-27 Thread Nigel Magnay
The issue isn't the number of source directories, it's the location. product-ejb has in the project.xml sourceDir../product/source/src/sourceDir This isn't allowed in eclipse. I could set it to an absolute path, but that's nasty as it assumes everyone checks out in the same location. On Tue,

Re: use of ArtifactHandler

2005-11-18 Thread Nigel Magnay
'? Sorry, I'm a little confused. - -j Nigel Magnay wrote: | Yep - I'm pretty sure it's reading it as there is also a | LifecycleMapping which is being used correctly. | | Are the private member variables supposed to get read set by some | persistence mechanism from the configuration node

[m2] plugin default properties

2005-11-21 Thread Nigel Magnay
I have a mojo which is pretty much like the Jar mojo. I know I can set the main class for the manifest with something like plugin groupIdmygroup/groupId artifactIdmyplugin/artifactId configuration archive manifest

Re: use of ArtifactHandler

2005-11-23 Thread Nigel Magnay
, as stated in the docs). On 11/18/05, Nigel Magnay [EMAIL PROTECTED] wrote: I have an 'uberwar' mojo; it's components.xml has a lifecyclemapping and an artifacthandler definition, both with the role-hint of uberwar. My project that uses this mojo has a pom.xml with packaginguberwar/packaging

Re: use of ArtifactHandler

2005-11-24 Thread Nigel Magnay
and pieces as to what you really have. I'd suggest looking at the Plexus plugin and comparing the components.xml to your own: http://svn.plexus.codehaus.org/trunk/plexus-maven-plugin/ HTH, Brett On 11/24/05, Nigel Magnay [EMAIL PROTECTED] wrote: Ah - I have found out why I'm having

Re: multi module issues

2005-12-23 Thread Nigel Magnay
I'm actively working on improving merging support in cargo for web.xml and the container specific .xml files; also to support plugging in strategies for merging other files that may be in your WARs (e.g. struts-config.xml and other application specific items). Some of it is committed to cargo,

[m2] programmatic exclusion of a dependency

2006-01-25 Thread Nigel Magnay
Hi people I'm trying to produce a fix for the cobertura mojo. When it instruments the code, it adds cobertura as a dependency to the projects 'test' cycle by doing this.project.setDependencyArtifacts( set ); where the set has included the artifact cobertura-1.7 in the 'test' scope. The

Re: cobertura plugin breaks with maven 2.02 - wors fine with 2.0

2006-01-26 Thread Nigel Magnay
You need to svn-update the cobertura mojo and rebuild it - the bug has been fixed for 2.0.2.,.. On 26/01/06, David Sag [EMAIL PROTECTED] wrote: I have just updated my maven 2 to 2.0.2 and now the instrumentation of my classes fails when using the cobertura plugin. I get

[m2] specifying the surefire-booter for cobertura?

2006-04-18 Thread Nigel Magnay
I'm suffering from SUREFIRE-30, which is down to the fact that the cobertura plugin uses surefire-booter-1.5.2.jar - which has this problem. I have tried adding a different booter into the plugin : plugin groupIdorg.codehaus.mojo/groupId

Re: Merge static generated files in WAR?

2006-04-19 Thread Nigel Magnay
If you need to do merging of web.xml, you may want to look at cargo http://cargo.codehaus.org/Merging+WAR+Files On 19/04/06, Gwyn [EMAIL PROTECTED] wrote: Hi, I'd appreciate any suggestions as to the best way to do the above... I've got some generated files (web.xml, weblogic.xml,

is CONTINUUM-609 really in 1.0.3?

2006-04-25 Thread Nigel Magnay
It's in the release note - I try http://box:8080/continuum/repository but just get a 404 ?

Re: is CONTINUUM-609 really in 1.0.3?

2006-04-25 Thread Nigel Magnay
Hmm.. I must be doing something wrong - are there any docs for this or handy pointers? It sounds a really useful feature - 1.0.3 is really nice. On 25/04/06, Brett Porter [EMAIL PROTECTED] wrote: It's not browsable, but it will work just fine when used from Maven. - Brett On 4/25/06, Nigel

Re: is CONTINUUM-609 really in 1.0.3?

2006-04-25 Thread Nigel Magnay
define the deployment repository field in configuration screen? It's empty by default. Emmanuel Nigel Magnay a écrit : Hmm.. I must be doing something wrong - are there any docs for this or handy pointers? It sounds a really useful feature - 1.0.3 is really nice. On 25/04/06, Brett

Re: [ANN] JAVAWUG BOF XVI Videos Available Now!

2006-04-27 Thread Nigel Magnay
So, nothing to do with maven then? On 27/04/06, Peter Pilgrim [EMAIL PROTECTED] wrote: Hi All I am very proud to announce that two video presentations are now downloadable from Google Video Beta sites. These presentations were recorded on our sixteenth Java Web User Group meet-up that

Re: Multiple CPUs

2008-04-10 Thread Nigel Magnay
Yes - but all these dependencies are calculable from the POM files. I think about this every time my machine sits with 7 idle cores... The biggest initial issue is that the local repo is not threadsafe (2 mvn instances running in parallel can crash in interesting ways). That's the first thing to

Re: Tip about Skinny Wars

2008-06-04 Thread Nigel Magnay
FWIW, I used a slightly different approach in the cargo uberwar plugin (which generates a War-of-Wars). I made it look at the WAR dependencies, and create a 'phantom' pom projects in the repository, which can then be passed to the normal maven dependency reconciliation framework to work out what

Re: fatal dependency management flaw in maven?

2008-06-30 Thread Nigel Magnay
There would be other ways to accomplish this -- for instance, if Maven were aware of the license (if it were published in the POM), you could put It is published in the pom. You'd probably still have to cope with libraries that are (say) GPL, but don't declare themselves in the pom as such.

Re: fatal dependency management flaw in maven?

2008-06-30 Thread Nigel Magnay
However, even if you did assume that, it would be easy to work around if you enforced a full build from scratch to delete the local repo. As a developer you may decide to avoid doing a full build but our continuous integration environment would certainly enforce it and would catch the problem

Re: fatal dependency management flaw in maven?

2008-06-30 Thread Nigel Magnay
... and lo - I can't even read - http://maven.apache.org/plugins/maven-enforcer-plugin/rules/bannedDependencies.html On Mon, Jun 30, 2008 at 4:48 PM, Nigel Magnay [EMAIL PROTECTED] wrote: However, even if you did assume that, it would be easy to work around if you enforced a full build from

Re: fatal dependency management flaw in maven?

2008-06-30 Thread Nigel Magnay
On Mon, Jun 30, 2008 at 5:10 PM, Ishaaq Chandy [EMAIL PROTECTED] wrote: 2008/7/1 Nigel Magnay [EMAIL PROTECTED]: However, even if you did assume that, it would be easy to work around if you enforced a full build from scratch to delete the local repo. As a developer you may decide

Re: maven failing to resolve artifact that exists in repository

2011-10-17 Thread Nigel Magnay
What version of maven are you using? If not the latest, try 3.0.3.. On Sat, Oct 15, 2011 at 5:21 AM, Mike Power dodts...@sonic.net wrote: I am really confused. Maven is failing to resolve an artifact that I can easily find in the remote repository. I am trying to build an open source

RepositorySystem resolving to classes directory in clover build..

2012-02-10 Thread Nigel Magnay
I am trying to diagnose a failure when running flex-mojos copy-resources when running a build with clover enabled. I've seen references to this also being a problem when building with m2e. Flex-mojos' CopyMojo finds dependencies, then copies them into the output (for building up a WAR file). To

Re: [DISCUSS] Should the Maven PMC be an example of how we want the Maven Community to behave (was Re: svn commit: r1506778 - /maven/site/trunk/content/markdown/project-roles.md)

2013-07-25 Thread Nigel Magnay
That whole section I find pretty bizarre. - Apache is about (open-source) software. - Writing code is *good*. - Forks are *good* * * I'm put in mind of Linus' talk about why git distribution is so important - that 'if you don't think I'm doing a good job, then you can just take your code from

Re: Jenkins and Maven

2016-10-13 Thread Nigel Magnay
You install https://github.com/takari/takari-local-repository Or fix the bug from, like, 2007 ? https://issues.apache.org/jira/browse/MNG-2802 On Thu, Oct 13, 2016 at 4:41 PM, Benson Margulies wrote: > So, here's a specific puzzle. I want to enable multiple branches in >

building dependent (multi)-projects

2006-04-25 Thread Nigel Magnay
I have a set of M2 projects that depend on each other: A | B / \ X Y What I'd like is that if project Y changes, then Y gets built automatically; if successful then B (because a dependency has changed), then A. (A is the project installer in this instance) Is this

using ant to do the packaging

2006-10-09 Thread Nigel Magnay
Hello listers I am binding things like ant tasks into the lifecycle by using the maven-antrun-plugin bound to the package phase. The ant script usually overwrites the target/blah.jar file with something new. This works well, and I get what I expect in the target directory of my build.

Re: using ant to do the packaging

2006-10-10 Thread Nigel Magnay
jars in the lib as suggested in the Maven2 doc (Better Builds with Maven)...this on top of the ant-plugins? thanks. Nigel Magnay [EMAIL PROTECTED] wrote: Hello listers I am binding things like ant tasks into the lifecycle by using the maven-antrun-plugin bound to the package phase. The ant