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
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
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
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
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:
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
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
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
?
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
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
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
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
, 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
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
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
, 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
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
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
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
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-
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
. 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
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
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.
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
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
-
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
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
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
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
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
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
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
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
]
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
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
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
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;
/**
*
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
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.
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
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
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
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
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?
/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
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
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
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}
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
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
://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
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
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
: [***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
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
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
-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
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
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
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
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
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
, 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
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
)
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
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
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
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
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
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
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
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
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
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
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
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
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
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:
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
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
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
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
83 matches
Mail list logo