Ah well. I was just going from memory.
On Wed, Jul 23, 2014 at 1:26 AM, Karl Heinz Marbaise
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
>> capabilities:
>>
ndency plugin, but I can’t find it anymore…
> regards Domi
>
> On 22.07.2014, at 16:29, William Ferguson
> wrote:
>
> > I totally agree that it makes sense for the dependency plugin to unpack
> the
> > AAR just like all other archives.
> >
> > I jus
. 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 Fergus
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 wrote:
> Here is an aar straight from Axis version example:
>
> //layout of version.aar:
>
>created: META-INF/
> inflated: META-INF/MANIFEST.M
David, what the use case for unpacking the AAR?
William
On Tue, Jul 22, 2014 at 7:27 AM, David Hoffer 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 assume the same pro
c/main/java/com/edugility/maven/Artifacts.java#L80
>
> Maybe that code is helpful?
>
> 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:
>
> &
2 AM, james northrup
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 clea
-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,
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?
&
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
the
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 12:2
gt;
> >
> > On May 25, 2014, at 4:20 AM, William Ferguson <
> william.fergu...@xandar.com.au> wrote:
> >
> > > ArtifactResolver has been deprecated but it doesn't provide guidance
> on an
> > > appropriate replacement.
> > > http://maven.ap
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
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
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
en-
> dependency-tree API, 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,
>
be something generally expected from the component
>
> 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 di
might add
> complexity (it
> was not so easy to do it in maven-dependency-tree)
> If you want Maven 2 compatibility, I would personnally not really think it
> is
> reasonably feasible
>
> Regards,
>
> Hervé
>
> Le jeudi 20 mars 2014 09:55:31 William Ferguson a
sh-app/pom.xml>
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-f
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 wrote:
> William-
>
> Can you show us the
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 Y
much appreciated.
William
On Sun, Mar 2, 2014 at 6:23 AM, Stuart McCulloch wrote:
> On 1 Mar 2014, at 19:12, William Ferguson
> wrote:
>
> > Thanks for the exceptionally clear explanation Stuart.
> >
> > I don't think we can just avoid the exception with stub
ri, Feb 28, 2014 at 12:13 PM, Stuart McCulloch wrote:
> On 28 Feb 2014, at 01:17, William Ferguson
> 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
> >
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. Doe
/how-to-share-
> 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
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 S
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
packaging type 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)
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 som
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
though I'd settle for being ab
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 200
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).
myproject
src/main/assembly/do
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
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 for
M
> 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 li
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 PRO
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 s
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;
/**
* @p
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
exi
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.
Willia
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
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
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
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 cas
Meiko,
I'm surprised you are getting any resources copied during your build,
you seem to be excluding them all:
**/*
What resource file is being copied without filtering being applied?
And what does your filter file look like?
William
-Original Message--
o the extra
indirection via the filters file.
-Tim
William Ferguson schrieb:
> ${myProp1} doesn't work either.
>
>
> With a POM declaring
> Somevalue
>
> A filter.file of
> some.token=${myProp1}
>
> And a resource file with
> Show.me.the.value.of.some.to
prod
...
common
dev
prod
...
-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 de
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}
H
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 ident
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:
>
&
://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
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
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 t
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
i
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
c
n Users List
Subject: [***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 PROT
>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 th
ME 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, Wi
dency-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 PROT
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 causi
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 PROTE
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 a
, 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 hav
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 that
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 co
alidate the artifacts necessary for (only)
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
Interesting point.
Aren't dependencies just compile time dependencies? So there is no need
to resolve them unless your build includes the compile:compile goal.
Plugin dependencies are only resolved if that plugin is required as part
of the current build.
So why do the (compile) dependencies need
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 pro
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 poin
of the site (don't dare to try
that until I 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 ---
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
: 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,
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 ja
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 AM
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 maven-releas
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 han
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?
org.codehaus.mojo
taglist-maven-plugin
2.0-beta-1
The Taglist report is generated
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 Fa
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 cleartrust:extr
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 unsubscr
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 unsubscri
The "Guide to using Eclipse with Maven 2.x" states that the command to
configure Eclipse with the path to the local Maven repository doesn't
work.
It does actually add an org.eclipse.jdt.core.classpathVariable.M2_REPO
entry
into org.eclipse.jdt.core.prefs, but (on Windows 2000 at least) it
places
85 matches
Mail list logo