Re: maven-dependency-plugin unpacking aar format?

2014-07-22 Thread William Ferguson
project. Don't read too much into this. They are just AAR dependencies (in my case they come from our build not public). The maven dependency plugin should handle these no different than it handles jars/etc. On Mon, Jul 21, 2014 at 11:32 PM, William Ferguson william.fergu

Re: maven-dependency-plugin unpacking aar format?

2014-07-22 Thread William Ferguson
the dependency plugin, but I can’t find it anymore… regards Domi On 22.07.2014, at 16:29, William Ferguson william.fergu...@xandar.com.au wrote: I totally agree that it makes sense for the dependency plugin to unpack the AAR just like all other archives. I just don't understand why you

Re: maven-dependency-plugin unpacking aar format?

2014-07-22 Thread William Ferguson
Ah well. I was just going from memory. On Wed, Jul 23, 2014 at 1:26 AM, Karl Heinz Marbaise khmarba...@gmx.de wrote: Hi Robert, Sorry to interject, but isn¹t the unpack goal of the maven-assembly-plugin deprecated? The documentation actually refers users to the MDP¹s unpack

Re: maven-dependency-plugin unpacking aar format?

2014-07-21 Thread William Ferguson
David, what the use case for unpacking the AAR? William On Tue, Jul 22, 2014 at 7:27 AM, David Hoffer dhoff...@gmail.com wrote: Here is a simplified project showing my use-case, I hope this helps. Note I'm using unpack-dependencies as the aar is a module in the same project; however I

Re: maven-dependency-plugin unpacking aar format?

2014-07-21 Thread William Ferguson
So an Android library is packaging WSDL inside itself and is expecting you to use it at build time? On Tue, Jul 22, 2014 at 8:53 AM, Martin Gainty mgai...@hotmail.com wrote: Here is an aar straight from Axis version example: //layout of version.aar: created: META-INF/ inflated:

Re: Need to resolve the dependencies for a MavenArtifact

2014-06-16 Thread William Ferguson
Anyone? On Sun, Jun 15, 2014 at 12:49 PM, William Ferguson william.fergu...@xandar.com.au wrote: I have a Mojo that needs to work with Maven 3.0.* and 3.1+ In the Mojo I have an Artifact and I need to resolve it's dependencies. How can/should I do it? If I can resolve the Artifact

Re: Need to resolve the dependencies for a MavenArtifact

2014-06-16 Thread William Ferguson
dependency:build-classpath is tricky in my experience but i have at least one script in guithub using it to launch a java service withoutr maven assembly plugin or untoward grepping. https://github.com/jnorthrup/RelaxFactory/blob/master/bin/run.sh On Mon, Jun 16, 2014 at 12:21 AM, William Ferguson

Re: Need to resolve the dependencies for a MavenArtifact

2014-06-16 Thread William Ferguson
northrup.ja...@gmail.com wrote: what's not clear is how build-classpath doesn't give you the deps you want. On Mon, Jun 16, 2014 at 1:23 AM, William Ferguson william.fergu...@xandar.com.au wrote: Thanks James, but perhaps I wasn't clear. I need to be able to resolve the dependencies

Re: Need to resolve the dependencies for a MavenArtifact

2014-06-16 Thread William Ferguson
? Or if not, apologies for the noise. Regards, Curtis On Mon, Jun 16, 2014 at 4:40 PM, William Ferguson william.fergu...@xandar.com.au wrote: I'm not looking for the dependencies of the current project. I'm looking for the dependencies of a given artifact. Perhaps I'm not reading

Need to resolve the dependencies for a MavenArtifact

2014-06-14 Thread William Ferguson
I have a Mojo that needs to work with Maven 3.0.* and 3.1+ In the Mojo I have an Artifact and I need to resolve it's dependencies. How can/should I do it? If I can resolve the Artifact to a MavenProject then I can use DependencyGraphBuilder (from maven-dependency-tree) to construct a graph of

Re: Nexus / Maven repository artifact handling

2014-06-02 Thread William Ferguson
Mehul, this is the wrong pattern to use. It goes against the entire Maven dependency mechanism. Each GAV (aside from snapsghots) should represent a unique build. You should be creating new RC GAVs for each release candidate. eg groupX-artifactX-versionZ.rc1 William On Tue, Jun 3, 2014 at

Replacement for ArtifactResolver in Maven-3?

2014-05-25 Thread William Ferguson
ArtifactResolver has been deprecated but it doesn't provide guidance on an appropriate replacement. http://maven.apache.org/ref/3.2.1/maven-compat/apidocs/index.html In the spirit of trying to move in the right direction what should I use instead? William

Re: Replacement for ArtifactResolver in Maven-3?

2014-05-25 Thread William Ferguson
, William Ferguson william.fergu...@xandar.com.au wrote: ArtifactResolver has been deprecated but it doesn't provide guidance on an appropriate replacement. http://maven.apache.org/ref/3.2.1/maven-compat/apidocs/index.html In the spirit of trying to move in the right direction what

Re: Wagon extensions not available from AbstractMavenLifecycleParticipant or maven-dependency-tree?

2014-05-13 Thread William Ferguson
Anyone? On Mon, May 12, 2014 at 8:58 PM, William Ferguson william.fergu...@xandar.com.au wrote: I have a MavenLifecycleParticipant in my plugin. It uses maven-dependency-tree to resolve some deps that we need to do extra processing on. It works fine if the deps are in the local repo

Wagon extensions not available from AbstractMavenLifecycleParticipant or maven-dependency-tree?

2014-05-12 Thread William Ferguson
I have a MavenLifecycleParticipant in my plugin. It uses maven-dependency-tree to resolve some deps that we need to do extra processing on. It works fine if the deps are in the local repo. But if the s3 Wagon is defined in the project along with a dependency from the s3 bucket, then the following

Re: maven-dependency-tree reactor resolution

2014-03-26 Thread William Ferguson
, it could probably be used inside an IT in maven- dependency-tree: that would ease a lot maven-dependency-tree modifications (it was really a headache last time, checking for every Maven version...) tell me if you need more help Regards, Hervé Le mardi 25 mars 2014 09:53:24 William Ferguson

Re: maven-dependency-tree reactor resolution

2014-03-24 Thread William Ferguson
Regards, Hervé Le jeudi 20 mars 2014 17:30:38 William Ferguson a écrit : Herve, I didn't think I was asking for any extra flexibility out of dependency-tree that it didn't already give. Are you saying that it doesn't support resolution of projects in the current reactor? William

Re: maven-dependency-tree reactor resolution

2014-03-20 Thread William Ferguson
compatibility, I would personnally not really think it is reasonably feasible Regards, Hervé Le jeudi 20 mars 2014 09:55:31 William Ferguson a écrit : Hi, I have a plugin that uses the maven-dependency-tree component to resolve project dependencies in a LifeCycleParticipant. (We

maven-dependency-tree reactor resolution

2014-03-19 Thread William Ferguson
Hi, I have a plugin that uses the maven-dependency-tree component to resolve project dependencies in a LifeCycleParticipant. (We need early access to deps because we need to modify the compile classpath). But I'm finding that with a clean repository, in a multi-module project with modules X and

Re: maven-dependency-tree reactor resolution

2014-03-19 Thread William Ferguson
Martin, https://github.com/jayway/maven-android-plugin-samples In particular the morseflash module which has: - morse-flash-lib - morse-flash-app (which is dependent on morse-flash-lib) William On Thu, Mar 20, 2014 at 10:28 AM, Martin Gainty mgai...@hotmail.com wrote: William-

Re: maven-dependency-tree reactor resolution

2014-03-19 Thread William Ferguson
On Thu, Mar 20, 2014 at 2:59 PM, William Ferguson william.fergu...@xandar.com.au wrote: Martin, https://github.com/jayway/maven-android-plugin-samples In particular the morseflash module which has: - morse-flash-lib - morse-flash-app (which is dependent on morse-flash-lib) William

Re: Guice provision error with AbstractMavenLifecycleParticipant

2014-03-11 Thread William Ferguson
. It was much appreciated. William On Sun, Mar 2, 2014 at 6:23 AM, Stuart McCulloch mccu...@gmail.com wrote: On 1 Mar 2014, at 19:12, William Ferguson william.fergu...@xandar.com.au wrote: Thanks for the exceptionally clear explanation Stuart. I don't think we can just avoid the exception

Re: Guice provision error with AbstractMavenLifecycleParticipant

2014-03-01 Thread William Ferguson
mccu...@gmail.comwrote: On 28 Feb 2014, at 01:17, William Ferguson william.fergu...@xandar.com.au wrote: As part of the development of the android-maven-plugin we have need to add in an AbstractMavenLifecycleParticipant so that we can modify the compile classpath to add artefacts

Guice provision error with AbstractMavenLifecycleParticipant

2014-02-27 Thread William Ferguson
As part of the development of the android-maven-plugin we have need to add in an AbstractMavenLifecycleParticipant so that we can modify the compile classpath to add artefacts that are contained within a project's dependencies. Igor provided a lot of the coaching on this. The build works fine.

Adding a classpath element within a Mojo

2014-01-19 Thread William Ferguson
I have a Mojo which needs to add an element to the compile time classpath for future Mojos. I'm struggling to find any doco that points in the right direction. Is it possible? If so, how should I go about it? William

Re: Adding a classpath element within a Mojo

2014-01-19 Thread William Ferguson
and...@hammar.net wrote: Do you want to change the classpath of the project or of other mojos? Don't think either is possible. And if it was, I don't think it's wise. The dependencies of the project should be declared and not magically added. /Anders On Sun, Jan 19, 2014 at 1:18 PM, William Ferguson

Re: Adding a classpath element within a Mojo

2014-01-19 Thread William Ferguson
- android-archive-library-aar-across You might want to do some Googling to find exactly what you need. Ron On 19/01/2014 4:47 PM, William Ferguson wrote: OK, let me clarify. Project has dependencies on artifacts of type AAR (Android archive - an archive that contains several sub

Re: How to add a dependency programmatically for the compile phase?

2013-12-19 Thread William Ferguson
and a special ArtifactHandler, but I'm not sure. /Anders On Thu, Dec 19, 2013 at 5:25 AM, William Ferguson william.fergu...@xandar.com.au wrote: Hi, I would like to know how to add a dependency (such as a jar) into the project's list of compile time dependencies programmatically within

How to add a dependency programmatically for the compile phase?

2013-12-18 Thread William Ferguson
Hi, I would like to know how to add a dependency (such as a jar) into the project's list of compile time dependencies programmatically within a Mojo. Benoit should probably have posted this in Maven Users rather than Maven Dev, so I'm reposting here. We are developing a Mojo that needs to add

Empty String as Mojo parameter value

2009-01-06 Thread William Ferguson
I presume I'm missing something obvious, because this has to be reasonably common. But I haven't found anything after a couple of hours of searching so here goes. I have a Mojo parameter that needs the capability of being specified as an empty String. Eg configuration

Specifying fileName for assembly-plugin

2008-02-27 Thread William Ferguson
Is it possible to generate an assembly whose filename does not get the artifactId appended to the end of the finalName? Eg the following config generates myproject-domain.zip (domain being the artifactId in the assembly descriptor). configuration finalNamemyproject/finalName

RE: Specifying fileName for assembly-plugin

2008-02-27 Thread William Ferguson
OK, I should have kept plugging away. Specifying an empty artifactId in the assembly descriptor achieves this. I was certain that it didn't use to though. William -Original Message- From: William Ferguson [mailto:[EMAIL PROTECTED] Sent: Thursday, 28 February 2008 8:38 AM To: Maven

RE: Deploying a collection of Java class files

2008-02-07 Thread William Ferguson
You can almost certainly do this using the assembly-plugin -Original Message- From: 8 [mailto:[EMAIL PROTECTED] Sent: Friday, 8 February 2008 9:30 AM To: users@maven.apache.org Subject: [***POSSIBLE SPAM***] - Deploying a collection of Java class files - Sender is forged (SPF

RE: - possible maven defect?

2008-01-10 Thread William Ferguson
Marshall, the standard solution for what you are attempting would be to install/deploy those libraries not managed by Maven into your own repository or corporate repository and then you *would* have access to them. William -Original Message- From: Marshall Schor [mailto:[EMAIL

Re: - possible maven defect?

2008-01-10 Thread William Ferguson
] Sent: Friday, 11 January 2008 10:06 AM To: Maven Users List Subject: [***POSSIBLE SPAM***] - Re: - possible maven defect? - Sender is forged (SPF Fail) William Ferguson wrote: Marshall, the standard solution for what you are attempting would be to install/deploy those libraries

Re: - possible maven defect?

2008-01-10 Thread William Ferguson
with it then that would be a good option IMHO. William -Original Message- From: Marshall Schor [mailto:[EMAIL PROTECTED] Sent: Friday, 11 January 2008 12:42 PM To: Maven Users List Subject: [***POSSIBLE SPAM***] - Re: - possible maven defect? - Sender is forged (SPF Fail) William Ferguson wrote

RE: Trying to work out where a snapshot caching problem is

2007-12-20 Thread William Ferguson
Ian, it sounds like you have not configured Maven with the address of the snapshot repositories. I suspect you have just setup a mirror to point to the main repository in Artifactory (in which you are caching Apache, Codehaus etc). Its generally a good idea to keep release and snapshot artifacts

RE: generated sources convention

2007-12-19 Thread William Ferguson
Kallin, You need to tell Maven that the location of your generated source should be included as part of the build. Ie /** * @parameter default-value=${project} * @required * @readonly */ private MavenProject project; /** *

RE: distributing multiple versions of sites to URLs containing the version number

2007-11-06 Thread William Ferguson
I have the same requirement - versioning of sites. In order to have a parent POM that safely defines inheritable site URLs (which is what you are asking for) requires resolution of http://jira.codehaus.org/browse/MNG-3244 Which *was* done for maven-2.0.8 but was then rolled back as changed

RE: NPE all of a sudden

2007-10-29 Thread William Ferguson
I suspect that you have a /src/test/java folder with no contents. Not sure why SureFire can't handle this, it looks like a bug to me. You have 2 options (if its as I suspect) 1) Remove the empty src/test/java folder 2) Declare the Surefire plugin and configure it not to execute any tests.

Re: Maven Proxy

2007-10-15 Thread William Ferguson
Hi Denis, I have had some experience of 3 of them in the last week. All of them deployed as WebApps inside Tomcat. Promixity - simple config, file based storage, developers seem absent (at least at present). We are using this as our main Maven repository and also as a mirror of that repository at

Re: Maven Proxy

2007-10-15 Thread William Ferguson
Sorry Brett, I was already 2 days overdue thanks to infrastructure issues. I'll try to put together a JIRA this afternoon. -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Monday, 15 October 2007 6:25 PM were you able to report these problems? Would be happy to hear

RE: Maven Proxy

2007-10-15 Thread William Ferguson
Woops, just reread my post. The finally bit should have read: My preference is Proximity for the simple config, file base storage. :-) that makes more sense. William -Original Message- From: William Ferguson [mailto:[EMAIL PROTECTED] Sent: Monday, 15 October 2007 6:04 PM To: Maven

How to test a plugin

2007-09-06 Thread William Ferguson
I haven't found it, so I have to ask. Is there a document describing best practice for testing a plugin? I keep running into what appear to be abberations in various Maven plugins, raising JIRAs for them and even submitting patches, but I haven't found any common pattern for constructing test

filtering properties like pom.

2007-08-30 Thread William Ferguson
Meiko, I'm surprised you are getting any resources copied during your build, you seem to be excluding them all: excludes exclude**/*/exclude /excludes What resource file is being copied without filtering being applied? And what does your filter file look like?

Re: Activating a Profile from another Profile

2007-08-26 Thread William Ferguson
/property /activation ... /profile /profiles -Tim William Ferguson schrieb: Is there any way to activatee a Profile from another Profile? We have some pieces of the build, specifcally build.resources definitions that vary depending on which Profile is targetted. But some

Re: Accessing POM properties in a filter

2007-08-26 Thread William Ferguson
the extra indirection via the filters file. -Tim William Ferguson schrieb: ${myProp1} doesn't work either. With a POM declaring myProp1Somevalue/myprop1 A filter.file of some.token=${myProp1} And a resource file with Show.me.the.value.of.some.token=${some.token} The resource file

Activating a Profile from another Profile

2007-08-25 Thread William Ferguson
Resending as its been 24 hours and the message hasn't shown up. Is there any way to activatee a Profile from another Profile? We have some pieces of the build, specifcally build.resources definitions that vary depending on which Profile is targetted. But some of the resource definitions are

Accessing POM properties in a filter

2007-08-25 Thread William Ferguson
Resending as its been 24 hours and the message hasn't shown up. In a resource filter, I can specify tokens like: token1=${project.version} token2=${project.properties} Which when used in a resource file evaluates to: valueForToken1=1.0-SNAPSHOT valueForToken2={myProp1=value1, myProp2=value2}

Accessing POM properties in a filter

2007-08-23 Thread William Ferguson
In a resource filter, I can specify tokens like: token1=${project.version} token2=${project.properties} Which when used in a resource file evaluates to: valueForToken1=1.0-SNAPSHOT valueForToken2={myProp1=value1, myProp2=value2} How do I specify a token in the resource filter that resolves to

Activating a Profile from another Profile

2007-08-23 Thread William Ferguson
Is there any way to activatee a Profile from another Profile? We have some pieces of the build, specifcally build.resources definitions that vary depending on which Profile is targetted. But some of the resource definitions are identical for several of the Profiles. So I had hoped to extract the

RE: Accessing POM properties in a filter

2007-08-23 Thread William Ferguson
://jira.codehaus.org/browse/MRESOURCES-47 If this is affecting you and I recall hearing that some of the Axis2 guys were affected by something that I suspect was this, then please vote for it. William -Original Message- From: William Ferguson [mailto:[EMAIL PROTECTED] Sent: Thursday, 23 August 2007

RE: [***POSSIBLE SPAM***] - Re: Accessing POM properties in a filter - Email has different SMTP TO: and MIME TO: fields in the email addresses

2007-08-23 Thread William Ferguson
in the email addresses Why can't you just use ${myProp1} ? Why go through the trouble of refering via project.properties? -- Eric Redmond http://blog.propellors.net On 8/23/07, William Ferguson [EMAIL PROTECTED] wrote: In a resource filter, I can specify tokens like: token1=${project.version

Display lifecycle phases during a build

2007-08-14 Thread William Ferguson
Is there any way to get Maven to output the liefecycle pahsaes as it is executing them? It displays the plugin and goal that is executing and that often gives a far bit on sinsight into where the built is up to, but it would be *really* nice if you could clearly see the phases as they are being

RE: [***POSSIBLE SPAM***] - Re: How to increase the memory usage for mvn? - Email has different SMTP TO: and MIME TO: fields in the email addresses

2007-08-08 Thread William Ferguson
: [***POSSIBLE SPAM***] - Re: How to increase the memory usage for mvn? - Email has different SMTP TO: and MIME TO: fields in the email addresses Can i set MAVEN_OPTS in system variables instead of mvn.bat? Is there any problems with it? On 8/6/07, William Ferguson [EMAIL PROTECTED] wrote: From mvn.bat

Making provided scope dependencies available

2007-08-08 Thread William Ferguson
What lifecycle phase needs to have run in order to get provided scope dependencies made available in a plugin. http://maven.apache.org/ref/current/maven-project/apidocs/org/apache/mav en/project/MavenProject.html#getArtifacts() In my plugin during the package phase, ${project.artifacts} doesn't

Re: How to increase the memory usage for mvn?

2007-08-07 Thread William Ferguson
From mvn.bat: @REM MAVEN_OPTS - parameters passed to the Java VM when running Maven Eg set MAVEN_OPTS=-Xmx1024m William -Original Message- From: Baz [mailto:[EMAIL PROTECTED] Sent: Tuesday, 7 August 2007 9:19 AM To: Maven Users List Subject: [***POSSIBLE SPAM***] - How to increase

RE: dependency-plugin without forking

2007-07-25 Thread William Ferguson
-plugin without forking - Email has different SMTP TO: and MIME TO: fields in the email addresses Actually in the unreleased snapshot, there is a goal called (i think) just-analyze that does exactly what you ask ;-) From: William Ferguson [mailto:[EMAIL PROTECTED

Re: dependency-plugin without forking

2007-07-25 Thread William Ferguson
TO: fields in the email addresses dependency:analyze is meant to help people check their project dependencies occasionally and fix accordingly? What use-case do you have for requiring it to run every time? If you just want a print-out, there is always the dependency report. Eric On 7/23/07, William

dependency-plugin without forking

2007-07-24 Thread William Ferguson
Is it possible execute dependency:analyze without having the dependency-plugin fork the build? We'd really like to have dependency:analyze execute as part of every build, but having all the phases execute twice is not going to be acceptable. Is there a way to stop the depdendency-plugin from

XML Schema for site.xml?

2007-07-23 Thread William Ferguson
I'm creating customized sites for our projects and I was wondering: Is there an XML schema for site.xml? If so where can I find it? William - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Adding a phase to maven-release-plugin

2007-05-22 Thread William Ferguson
Hi, I have a plugin that needs to be executed either 1) after the maven-release-plugin's scm-tag phase but before the scm-commit-development phase OR 2) after maven-release-plugin:prepare Option 1 is preferred as it would mean just 2 commits to the trunk during release. Option 2 would generate

Determining project.version from maven-release-plugin

2007-05-16 Thread William Ferguson
I have a plugin that needs to run either during after the maven-release-plugin has doen a prepare. I suspect after will be easier to manage. My plugin needs as a minimum the ${project.version} at which the project was released. Ie not the SNAPSHOT version either before or after. How do I get

RE: Flushing the SCM password cache for Maven-SCM

2007-05-16 Thread William Ferguson
, 14 May 2007 5:16 PM To: Maven Users List Subject: RE: Flushing the SCM password cache for Maven-SCM Hi William, William Ferguson wrote on Monday, May 14, 2007 6:43 AM: Where does maven-SCM cache my Subversion password and how can I get it to flush the cache? I have been having a little bit

Flushing the SCM password cache for Maven-SCM

2007-05-14 Thread William Ferguson
Where does maven-SCM cache my Subversion password and how can I get it to flush the cache? I have been having a little bit of trouble tagging using the release plugin. It fails with authorization problems, and has only been happening since my SVN paswword changed. The first time I used the SVN

RE: dependency management problems...

2007-05-03 Thread William Ferguson
) that phase are available. I think it would complicate things a bit, but it doesn't sound unreasonable. Wayne On 5/2/07, William Ferguson [EMAIL PROTECTED] wrote: Interesting point. Aren't dependencies just compile time dependencies? So there is no need to resolve them unless your build

[m2] Out of date links to Maven projects

2007-05-02 Thread William Ferguson
I just built a plugin with the following dependencies: org.apache.maven maven-plugin-api 2.0.6 org.apache.maven maven-project 2.0.6 org.apache.maven.shared file-management 1.1 While looking at the dependencies list on the generated site I notice that 7 of the 9 transitive Maven dependencies

Prepending a folder to a plugin's classpath

2007-04-25 Thread William Ferguson
Sorry if this is a niave question, but I haven't had much success Googling it. We have a plugin that uses Velocity to generate some of our source. The plugin needs to look for overridden Velocity templates in a project specific location before using those contained within the plugin. At this

RE: [***POSSIBLE SPAM***] - RE: Getting index.html of site generated automatically - Found word(s) list error in the Text body

2007-04-20 Thread William Ferguson
can get this to work!). Is that the information you want, or is there more that would be helpful? Any other suggestions? Regards, Ian - Message from William Ferguson [EMAIL PROTECTED] on Thu, 19 Apr 2007 09:29:07 +1000 - To: Maven Users List users@maven.apache.org

RE: Getting index.html of site generated automatically

2007-04-19 Thread William Ferguson
Ian, I always get index.html generated by 'mvn site:site'. I'm using Maven-2.0.5 Can you provide more details? William -Original Message- From: Ian Rowlands [mailto:[EMAIL PROTECTED] Sent: Wednesday, 18 April 2007 5:25 PM To: users@maven.apache.org Subject: Getting index.html of site

RE: Release Notes generation

2007-04-16 Thread William Ferguson
But how do you get issues grouped by released version? Maven-changes-plugin provides a great list of issues for the projects, filtered by different criteria. So it could provide all open issues for instance. Maybe I'm missing something, but this isn't what you want for release notes. ReleaseNotes

RE: [NEWSENDER] - Re: maven-release-plugin getiing SCM values - Message is from an unknown sender

2007-04-09 Thread William Ferguson
To: Maven Users List Subject: [NEWSENDER] - Re: maven-release-plugin getiing SCM values - Message is from an unknown sender William Ferguson a écrit : Can someone please enlighten me on 1) If the SCM user/password has been been explicitly configured in your POM or Settings, how does the maven

maven-release-plugin getiing SCM values

2007-04-05 Thread William Ferguson
Can someone please enlighten me on 1) If the SCM user/password has been been explicitly configured in your POM or Settings, how does the maven-release-plugin discover the username/password of the current user to supply to the SCM Eg Subversion)? I need this becxause my plugin will have to use

Retrieving info from maven-release-plugin

2007-04-03 Thread William Ferguson
I have a plugin whose Mojo is executed as part of the maven-release-pluigin preparationGoals (see http://maven.apache.org/plugins/maven-release-plugin/examples/run-goals- before-commit.html) The Mojo executes OK, but I need to extract some of the info that has been accumulated by the

RE: [***POSSIBLE SPAM***] - WAR Archiver: avoiding JAR files in WEB-INF/lib - Bayesian Filter detected spam

2007-04-03 Thread William Ferguson
The scope you want is 'provided'. See http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html for more details on specifying dependencies. William -Original Message- From: Gonzalo Vásquez Sáez [mailto:[EMAIL PROTECTED] Sent: Tuesday, 3 April 2007 4:29

[m2] Maven-release-plugin subclipse:tags property

2007-04-02 Thread William Ferguson
Hi, we use SubVersion as our SCM, Eclipse as IDE and plan on using the maven-release-plugin to manage our release process. When we tag using the SubVersion Eclipse plugin (Subclipse), it updates the 'subclipse:tags SVN property on the target folder appending the tag just created. This is a

[m2] TagListReport - AbstractMethodError

2007-03-14 Thread William Ferguson
Does anyone know why I get: [WARNING] Error loading report org.apache.maven.plugin.taglist.TagListReport - AbstractMethodError: canGenerateReport() when executing 'mvn site' with the taglist-maven-plugin? plugin groupIdorg.codehaus.mojo/groupId artifactIdtaglist-maven-plugin/artifactId

RE: [***POSSIBLE SPAM***] - How to create multiple jar files from one project? - Bayesian Filter detected spam

2006-12-03 Thread William Ferguson
Peter, I don't think a Maven solution is what you need. I think you need to rethink the packaging and dependencies of your 2 projects. It sounds like your interface project shouldn't depend on the Factory in the implementation project. You could organise this a couple of different ways: 1) The

RE: Can a project use a plugin that is part of the project - bootstrap issue

2006-10-30 Thread William Ferguson
Matt, There was a similar post over the weekend http://www.nabble.com/Impossible-to-build-ourproject-from-scratch-tf2519 755s177.html#a7027880 Hope it helps. William -Original Message- From: J. Matthew Pryor [mailto:[EMAIL PROTECTED] Sent: Tuesday, 31 October 2006 9:18 AM To:

RE: [POLL] Why switch to Maven?

2006-09-03 Thread William Ferguson
I think a good solution to the problem would be more frequent milestone builds (both core and plugins), and a publicly available road map, giving people a good indication of when they can expect to see what released. +1 to that. If Maven could help provide greater visibility on when the

RE: Plugin Development Issue

2006-08-25 Thread William Ferguson
To allow your parameter to be specified from the command line yoour parameter specification needs to define the name of the commandline parameter that it will accept. Eg /** * @parameter expression=${foo.bar} */ private String verbose; Should work with a commandline of mvn

[m2] How to package a WebService?

2006-08-14 Thread William Ferguson
Hi, I want to package up my Axis2 WebService as a WebService archive (aar). How do I go about it? Is there a particular value for the project#packaging attribute or a particular plugin that I need to use? William - To

[m2] phases and goals

2006-01-31 Thread William Ferguson
Can someone point me to some doco that explains a phase, goal and mojo and lists the available phases. I thought I vaguely understood, but have become confused by the thread on binding mojos to lifecycle. William - To