Greetings,
At the risk of asking a dumb question, is users@maven.apache.org
searchable?? When I go to the archives
(http://mail-archives.apache.org/mod_mbox/maven-users/) I cannot see
any mechanism to search. Am I missing something??
Thanks,
-- Chris
Greetings,
I am trying to get the m2 maven-antrun-plugin to run. I have gotten
pretty far but now I'm stumped.
First I downloaded the latest/greatest m2 from SVN. Then I pulled the
maven-antrun-plugin code out and built it, after hacking a bit. I had
to;
1) Change the pom.xml parent version
2)
Thanks Brett. That worked (after updating to the current HEAD from SVN
nad building m2 from scratch). I now get the following::
[INFO] [antrun:run {execution: default}]
[INFO] Executing tasks
[INFO] Executed tasks
Although note that I am NOT getting my Ant echo printed to System.out ???
Even if
Actually, it does work when using echo level=error. My mistake...
I will add an optional parameter to AntRun that allows one to set echo level.
I'll submit it back as a patch...
Thanks,
-- Chris
On 8/23/05, Chris Berry [EMAIL PROTECTED] wrote:
Thanks Brett. That worked (after updating
Is there any documentation for the Javadoc annotations for m2
Java-based Mojos?? In particular I am interested in @parameter (and
it's follow on syntax like; expression=).
If not, could someone please point me at the appropriate source
project to read the code in... (unfortunately, there are so
Greetings,
I am trying to figure out how to pass on the Classpath to Ant. I know
how to do this programmatically in Ant (e.g. project.setProperty) .
What I am trying to work out is how pass on the Classpath from the
*plugin*. By trial and error, I see that ${project.artifacts} results
in a HashSet
?? I know that, for example,
Ant must be on my Classpath because teh plugin is able to invoke it...
Thanks,
-- Chris
On 8/23/05, Trygve Laugstøl [EMAIL PROTECTED] wrote:
On Tue, Aug 23, 2005 at 05:52:59PM -0500, Chris Berry wrote:
Greetings,
I am trying to figure out how to pass
that helps,
- -john
Edwin Punzalan wrote:
| To get the artifacts that's relative only to your plugin, you can use
| ${plugin.artifacts}.
|
| Its the same as ${project.artifacts} except the project object is your
| plugin.
|
|
|
| Chris Berry wrote:
|
| Thanks much for your answer.
| When
I suppose the javadocs for maven2 are somewhere on the site -- but I
cannot locate them. The old, familiar Project Reports is missing. And
I've trolled thru most pages looking. I also tried to run m2
site:site on my local SVN checkout (it died). So I'm at a loss...
Are there any javadocs available
Hi,
In the bad old days of Jelly, we could type something like::
plugin.getDependendcyPath( 'axis:ant' );
And you got back the full path to a JAR -- so we could use it as::
ant:path id=axis.classpath
ant:pathelement path=${plugin.getDependencyPath('axis:axis')}/
Is there an equivalent helper
:
On Wed, 24 Aug 2005, Chris Berry wrote:
Hi,
In m2 you just specify that jar as a dependency in the pom of the plugin.
It's then automatically added to the runtime classpath of that plugin's
execution environment. Further, you can access the Plugin object and
it's properties in a Mojo
Comments inline.
Thanks,
-- Chris
On 8/24/05, John Casey [EMAIL PROTECTED] wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
One thing we're considering adding to m2 in the very near term is the
concept of dependencies that are tied directly to a plugin definition.
Don't we already
Hi Ashley,
I'm told it will look like this::
properties
keyvalue/key
So you might have
properties
foobar/foo
And, thus, you can use ${foo} elsewhere
Of course, the Mvaen Guys shoudl confirm this ;-)
Cheers,
-- Chris
On 9/13/05, Ashley Williams [EMAIL PROTECTED] wrote:
But where
Greetings,
There was a recent thread on whether to use ant. It is a long thread
(19+ posts) and became divergent. So rather than bury that post there,
I will raise it here to the top level. Like people in that thread, I
firmly believe that a happy marriage between Maven and Ant is in the
best
Hi Ashley,
comments inline.
Cheers,
-- Chris
On 9/15/05, Ashley Williams [EMAIL PROTECTED] wrote:
(Chris)
Pleased to see fellow users steering Maven more in the direction of
ant and I have a few questions about this new plugin.
1. I'm concerned that I have to write java code in order to
On 9/15/05, Kenney Westerhof [EMAIL PROTECTED] wrote:
:) Well, I agree mostly, so far.
So, it's back to Jelly, or, with m2, marmalade. I think an 'ant' scripting
language is in the works, next to beanshell / marmalade / java, maybe
that'll be the solution then. No mo task wrapping, just
On 9/15/05, Ashley Williams [EMAIL PROTECTED] wrote:
ROFL! Dude, I must put the record straight: Ashley not Ashleigh ...
Glen not Glenda if you get what I mean!!!
eeek. sorry about that.
Although you completely blew my mental image ;-)
If you are interested in seeing this stuff in action I have entered an
enhancement request in Maven's Jira. (Per John's request)
This Jira entry contains a ZIP which has a full example of what I'm
describing -- including the axisant plugin -- which extends the
antfile plugin. And a my-app, which
Ashley,
I recommend that you pull my AntFile Plugin (as a ZIP) from the M2
Jira. I think you will see that this provides exactly what you're
asking for -- a simple, clean blending of Ant w/ Maven (Included is an
Axis WSDL2Java plugin that demonstrates it's usage pattern). You
script with Ant, roll
Yes, it is the equivalent. But one thing confuses me, it's not about
executing a java process (per se) -- it's about executing Ant. And
it's not about maintenance. I think the heart of the discussion is
reuse. Not reinventing what Ant already does. Providing a mechanism
for reuse and versioning
This is it
Cheers,
-- Chris
allows use of Ant build files
-
Key: MNG-897
URL: http://jira.codehaus.org/browse/MNG-897
Project: Maven 2
Type: Improvement
Components: maven-ant-plugin
Versions: 2.0-alpha-3
Reporter: Chris Berry
Greetings,
I am having trouble building the latest/greatest m2 HEAD from SVN.
I am getting a SocketException: Invalid argument or cannot assign
requested address
when it is trying to download a JAR from http://repo1.maven.org
What is odd is that
1) I can see POMs that have been loaded into my
I wonder if this has something to do with redirects??
http://repo1.maven.org redirects to ibiblio but the SNAPSHOTs repo
does not redirect...
Although I don't know what to do with that info ;-)
On 9/21/05, Chris Berry [EMAIL PROTECTED] wrote:
Greetings,
I am having trouble building the latest
Hi John,
Don't know if it's a bug but
properties
m2.version2.0-beta-2-SNAPSHOT/m2.version
/properties
.
version${m2.version}/version
does NOT work.
But, without the . in the property name, it does work. I.e.
properties
m2version2.0-beta-2-SNAPSHOT/m2version
/properties
.
...at least, IMHO.
Cheers,
John
Brett Porter wrote:
| I guess a lot of people are going to want to use dotted properties, so
| we should support it.
|
| It probably is attempting to do reflection on m2.
|
| - Brett
|
|
| On 9/26/05, Chris Berry [EMAIL PROTECTED] wrote:
|
|Hi John
I don't think you can do what you want with Spring. It cannot have a
master set of dependencies because Spring is split up into a
pay-as-you-go set of JARs (i.e there are many JARs available -- but
you use a subset).
Once you know that subset, m2 has a cool way of building Composite
POM Projects
Greetings,
Can one declare a repository at the top level of the settings . In
other words, outside of a profile??
Many of us use a few local repos -- say, a local mirror of ibiblio or
a local repo for internal JARs. -- common to all projects, and it
makes sense to me that this is a global setting
As I've said previously, I do not believe that repository info has
*any* place in a POM -- at any level of the hierarchy. A POM should be
thought of as a recipe. And with any recipe, the recipe itself does
not prescribe where to shop for the ingredients!!
This is especially important for
Kenney,
It's not about taste. Defining repos in teh POM are a real problem.
Here's an example; I recently got a POM from someone that had the
SNAPSHOT repo defined in the POM. Fine, as long as you could get at
it, which we couldn't. But that aside, this repo element defined
snapshots
Hi Ashley,
There may be a JAXB plugin that I'm unaware of ??
There is an Axis WSDL2Java plugin at mojo.codehaus.orghttp://mojo.codehaus.org
.
I have also written a WSDL2Java plugin that actually just offloads to an Ant
build file to do all of the work. You could easily canibalize my work for
JAXB.
to create my
own artifact for jaxb
using this pom and my downloaded xjc jar file.
As for wsdl, not using it yet simply because there aren't 37 hours in
a day to look at it, but it's
definitely on my radar ;)
Cheers
AW
On 3 Oct 2005, at 17:27, Chris Berry wrote:
Hi Ashley,
There may
these warts.
You're right about centering on something like wsdl, but
I have to start somewhere!
I'd start w/ WSDL -- it's where you will eventually end up . ;-)
wsdl2java looks great, just the sort of thing that gives me
confidence in Maven.
off-topic
On 3 Oct 2005, at 20:12, Chris Berry wrote
Hi Ashley,
I had a similar issue for Axis -- It has many dependencies, which I wanted
to keep grouped together - so that I can easily upgrade versions -- or keep
Servers and my Axis WSDL2Java plugin easily in sync
So I build a POM project -- i.e. a project (e.g. axis-deps-1.2.1) that's
artifact
Greetings
I recently tried to do a build (this AM) -- and it asked me if I wanted to
get newer versions -- I said all -- and then my build broke (BTW; it is
using SNAPSHOTS)
I get the error::
Root error:
Unrecognized tag: 'lastUpdated'
Do I need to build a later version of m2??
BTW:
Greetings,
The class DefaultLog should protect againg NPE's
It is filled with lines like;
logger.debug( content.toString(),...)
where content can surely be null at times
Cheers,
-- Chris
Greetings,
Perhaps I don't understand the usage, but I assume that
proxy
activefalse/active
should turn off the proxy. But in my case (beta3) it does not. I had to
comment out the entire proxy element.
Is this a bug or a misunderstanding??
Thanks,
-- Chris
Greetings,
FYI: the archives link off the mailing list page in m2
(project-reports-mailing-lists) points to the apache archives (BTW: for the
wrong list; [EMAIL PROTECTED]) -- which is not searchable
while the one in m1 points to the correct list in MARC, which is searchable.
Cheers,
-- Chris
Greetings;
Are new plugins available for m2 RC?? If I understand things, I would think
that they might be made available??
I.e. When building m2 from SVN one gets a new set of base plugins
constructed (e.g. 2.0-beta-3-SNAPSHOT)
But with the RC release-- which is distributed as JARs -- the
, Chris Berry [EMAIL PROTECTED] wrote:
Greetings;
Are new plugins available for m2 RC?? If I understand things, I would
think
that they might be made available??
I.e. When building m2 from SVN one gets a new set of base plugins
constructed (e.g. 2.0-beta-3-SNAPSHOT)
But with the RC release
Greetings,
I have found that one could easily produce a generic build system in m1
using the import statement from jelly:core inside of the maven.xml file. I.e
.
j:import inherit='true' file='mybuildtools-1.2.3.xml' /
where the file; mybuildtools-1.2.3.xml, would contain parametrized goals
, Chris. :)
Comments inline.
Chris Berry wrote:
| Greetings,
| I have found that one could easily produce a generic build system in m1
| using the import statement from jelly:core inside of the maven.xml
file. I.e
| .
|
| j:import inherit='true' file='mybuildtools-1.2.3.xml' /
|
| where
Hi John,
I guess what's problematic is that many of us have been working from the
HEAD of SVN so that we could workaround this or that bug. So now that we
have a release candidate (RC) -- it is only a portion of the picture (no
plugins are provided). So do we stick with our current SNAPSHOT
Greetings,
Is it possible to write a plugin of plugins?? I.e. a plugin that is simply
a composite of other plugins.
To make this concrete, imagine that you have a common set of plugins that
are used across many projects -- together forming a common build system. For
example, in project A you have
the maven.xml. I'd love to be able to set up a
composit plugin where I could define a set of goals to execute.
- Brill Pappin
On 10/19/05, Jason van Zyl [EMAIL PROTECTED] wrote:
On Tue, 2005-10-18 at 22:00 -0500, Chris Berry wrote:
Greetings,
Is it possible to write a plugin of plugins
this would
be the solution. I don't think this would be hard to do but would be
good to get a couple more concrete use cases first.
- Brill Pappin
On 10/19/05, Jason van Zyl [EMAIL PROTECTED] wrote:
On Tue, 2005-10-18 at 22:00 -0500, Chris Berry wrote:
Greetings,
Is it possible
I think the Composite Pattern would fit nicely here...
CompositePlugin implements Plugin
AbstractPlugin implements Plugin
And CompositePlugin contains an array of Plugins
Cheers,
-- Chris
On 10/19/05, Jason van Zyl [EMAIL PROTECTED] wrote:
On Wed, 2005-10-19 at 09:45 -0500, Chris Berry wrote
Hi Orjan,
I guess the moral of the story is that you should not put dependencies on
SNAPSHOTs. Or put another way, if you depend upon SNAPSHOTs then you are
coupling yourself to the release cycle of the SNAPSHOT project. Separating
generic,a,b, and c into separate projects, you are saying that
This brings up a bigger question; How does maven want to handle OS
information in the repo?? To be successful w/ other languages like C, the
repo will need to delineate information such as i586 and linux. Are
these to be rolled into the groupId?? That doesn't smell right. Seems that
we may need
somehow transparently fill in OS info when constructing the URL.
Cheers,
-- Chris
On 11/1/05, dan tran [EMAIL PROTECTED] wrote:
You can use groupId for platform specific or add platform specific string
to
your artifact id.
-D
On 11/1/05, Chris Berry [EMAIL PROTECTED] wrote:
This brings
/05, dan tran [EMAIL PROTECTED] wrote:
You can use groupId for platform specific or add platform specific
string to your artifact id.
-D
On 11/1/05, Chris Berry [EMAIL PROTECTED] wrote:
This brings up a bigger question; How does maven want to handle OS
information in the repo
Hi Siegfried,
I think the short answer is; write a plugin.
Now if you're like me, and your Jelly was mostly just a bunch of Ant calls
with a bit of Jelly glue, then you might consider using the new m2 Ant
plugins. This would allow you to transfer the knowledge directly to an Ant
buildfile and
Hi Wendy,
I had to do this too and used::
repositories
repository
idCWB/id
urlfile:///C:/cberry/work/3rdparty-repo//url
layoutlegacy/layout
/repository
/repositories
Note the /// on windoze. And note the trailing /
Cheers,
-- Chris
On 11/1/05, Wendy Smoak [EMAIL PROTECTED] wrote:
I asked
:
You can use groupId for platform specific or add platform specific
string to your artifact id.
-D
On 11/1/05, Chris Berry [EMAIL PROTECTED] wrote:
This brings up a bigger question; How does maven want to
handle OS
information in the repo?? To be successful w/ other
Greetings,
I am looking for guidance on POM inheritance. I know that I can set up a
build system where all common functionality is pulled into a Parent POM, so
that Child POMs can be remarkably small. What I'm uncertain on is how I
override some of the plugins -- leaving the others as is. I see
is inherited. And you
can override any config properties or add new ones where necessary.
Powerful, good stuff. This, plus the ability to parameterize with
properties, makes it really easy to create a malleable build system
good job maven guys ;-)
Cheers,
-- Chris
On 11/2/05, Chris Berry [EMAIL PROTECTED
Hi,
The move from Ant to Maven is relatively painless, particularly with Maven2.
I would definitely recommend going with Maven2. Maven1 uses Jelly which is
pretty nasty to deal with -- you can call out to Ant with Jelly easily, but
Jelly is quite unpredictable and you will spend a lot of time
Greetings,
Has anyone yet created a Ruby-based xmlrpc client for Continuum that
they would be willing to share??
Thanks,
-- Chris
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Greetings,
I need to call a bash script -- from an Ant script -- that I want to
roll into a Maven plugin based on maven-ant-script. Sound convoluted
;-) It is, but this is the path of least resistance. I have an
existing Ant build to convert.
My question; Can one do this from maven-ant-script??
, but until that JAR is
unpacked, it can only solve a subset of problems.
Of course, I could be missing something...
Cheers,
-- Chris
On 10/5/06, dan tran [EMAIL PROTECTED] wrote:
exec-maven-plugin ?
On 10/5/06, Chris Berry [EMAIL PROTECTED] wrote:
Greetings,
I need to call a bash script -- from
Greetings,
I am using HttpUtils to manually fetch dependencies. I
do this because maven does not adequately chain
dependencies. I.e if A depends on B, and B depends on
C, then B should chain in it's own dependencies and
not force A to prescribe them (since A should not know
this directly)
So I
Greetings,
Is it possible for multiple versions of the same
plugin to exist simultaneously in a cache?? If so, how
does one specify explicitly which plugin to use??
Imagine the following: You are working on several
projects simultaneously, all on their own lifecycles.
Project A is code frozen and
artifactIdmaven/artifactId
version1.0.2/version
/dependency
regards!
/Ole
From: Chris Berry [mailto:[EMAIL PROTECTED]
Sent: Sun 30/01/2005 17:51
To: users@maven.apache.org
Subject: Problem w/ HttpUtils
Greetings,
I am using HttpUtils to manually
in your
plugins' dependency-list?
/Ole
From: Chris Berry [mailto:[EMAIL PROTECTED]
Sent: Sun 30/01/2005 19:25
To: Maven Users List
Subject: RE: Problem w/ HttpUtils
Unfortunately, that doesn't help.
--- Ole Matzura [EMAIL PROTECTED] wrote:
Hi
From: Chris Berry [mailto:[EMAIL PROTECTED]
Sent: Sun 30/01/2005 19:56
To: Maven Users List
Subject: RE: Problem w/ HttpUtils
These jars are a part of maven itself
I don't think that I should have to explicitly
declare
them. And also, this same
Greetings,
I am trying to read a mutable property from a file (I
use it within a loop). I have tried using the
ant-contrib var task with unset=true -- as shown
below. But this is not reseting the Ant property??
Does anyone know a maven way of reading properties
from a file which allows for the
Answering my own question.
Use something like teh following::
u:properties var=props file=${jarsListFile}
/
j:set var=jarsFlist value=${props.getProperty(
'jarsFlist' )} /
Cheers,
-- Chris
--- Chris Berry [EMAIL PROTECTED] wrote:
Greetings,
I am trying to read a mutable property
Greetings,
Seems that dependencies should provide two features they do not already;
1) the ability to explicitly specify the URL from which to download an
artifact (in m1, if I recall, this was handled by the jar element). This
is particularly important when one depends upon interface definitions
Inline.
Thanks,
-- Chris
On 11/20/05, Brett Porter [EMAIL PROTECTED] wrote:
On 11/21/05, Chris Berry [EMAIL PROTECTED] wrote:
Greetings,
Seems that dependencies should provide two features they do not already;
1) the ability to explicitly specify the URL from which to download
I think the gist of this thread is that, yes, we can add optional or
exclusions -- but why not simply add a dependency attribute such as::
dependency transitive=off
or even
dependencies transitive=off
Although it seems that this should be a project-specific property and should
not be
Hi Wim,
I had to do something like this as well w/ the antrun Plugin. Ant expects to
find a real File for build.xml, and won't extract it from JAR. So I simply
used Ant to do all the work. You can ignore the part where I build the ant
task. The pertinent part is shown below. BTW. you could even
Greetings,
A couple of questions;
1) Can someone point me at the docs, or if none are available (as it seems),
tell me how to create a type of dependency that doesn't actually map
directly to it's underlying type -- e.g. say I want to create a type CAR
(some hypothetical type) that is actually a
Thanks Dan,
I found some info here as well
http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html
I had read this before but forgot that this info was there...
Thanks,
-- Chris
On 12/14/05, dan tran [EMAIL PROTECTED] wrote:
On 12/13/05, Chris Berry [EMAIL PROTECTED
Hi Matt!
A big +1 from me. I've been discussing this w/ John, Jason, et al. A push
towards simplifying/shortening the XML would be a big help.
Cheers,
-- Chris
On 12/15/05, John Casey [EMAIL PROTECTED] wrote:
Actually, an even better thing to do would be to participate in the
design for 2.1.
IMO. Many folks
prefer to use simple text editors and they're unlikely to fire up
Eclipse just to edit their pom.xml.
Matt
Milos
Chris Berry wrote:
Hi Matt!
A big +1 from me. I've been discussing this w/ John, Jason, et al. A
push
towards simplifying/shortening the XML would
Greetings,
I am trying to create my own packaging type (named car -- a configuration
archive). I need to do this so that I can find all dependencies of type
car in a project and process them specially. A car is really just a jar
that requires special processing. So I created a special Car Plugin
/component
On 12/16/05, Chris Berry [EMAIL PROTECTED] wrote:
Greetings,
I am trying to create my own packaging type (named car -- a
configuration
archive). I need to do this so that I can find all dependencies of type
car in a project and process them specially. A car is really just
Greetings,
I have an m1 project that I'm converting to m2. And I have a full m1,
legacy-style repository. The mail archives tell that supposedly one can
disable the use of ibiblio by specifying a repo with the name central. I
have tried this, and it's not working for me. This is what I've tried::
Greetings,
I would like to prescribe a repository precedence order. I have a
legacy-style repo that I want searched first for artifacts -- then second,
my ibiblio mirror -- and then possibly ibiblio. How does one set repository
precedence in m2?? This was easily and cleanly done in m1 using the
Greetings,
AFAICT, m2 goes off and searches for POMs for each artifact it encounters.
This is all well and good if the POMs exist, but when one is using a mix of
m1 m2 repos, then there will be many artifacts that do not have associated
POMs. m2 figures this out and moves on -- as it should --
Greetings,
Is it possible to add to the maven Classpath from Ant.
In Jelly we would use::
maven:addPath id=maven.dependency.classpath refid=libEntryPath/
Is there an equivalent way to do this manipulation from Ant script
Thanks,
-- Chris
Hi Dan,
I figured out what went wrong. On windoze one must put your
settings.xmlfile into Documents and Settings/name/.m2. This is true
even if you use
cygwin and even if you put your local repo into another HOME (i.e.
cygwin-based). When I use the settings as shown above, central can be
Inline. Cheers,
-- Chris
On 12/18/05, Brett Porter [EMAIL PROTECTED] wrote:
On 12/19/05, Chris Berry [EMAIL PROTECTED] wrote:
Does anyone know how to work around this??
Previously, we'd written a dummy into the local repository, but this
meant that if you then went and corrected
Greetings,
Yesterday I saw an issue w/ m2's dependency mediation. Some transitive
dependency wanted JUnit 3.7 and I'm assuming 3.8.1. Since this one was seen
first, it won. So, of course, my build broke. (Before you ask, I don't
directly declare the JUnit dependency in my POM because I have a
Hi Filip,
I think your best bet might be to checkout the Plugin from SVN. IMHO, this
is the best way to get the full picture as things are still in flux -- and
the docs will likely not have caught up with the code. Of course, you'll
need a Subversion Client (I use TortoiseSVN)
AFAIK, this should
Greetings,
I am converting an m1 project to m2. Unfortunately I am getting different
behavior in the test phase of the build. In m1, of course, it all runs fine.
But under m2 (i.e. surefire) when my test accesses the Internet, it is has
Proxy issues and fails, and when I work around that; it has
Actually, I think this is a bug in the antrun Plugin. Ant, by definition,
should have system properties available to it -- such as the ${
java.class.path} property you require or ${user.home} or whatever.
In my local version of antrun I had to do the following fix in
can't find anything about that here
http://maven.apache.org/guides/mini/guide-using-ant.html
Filip
Chris Berry wrote:
Hi Filip,
I think your best bet might be to checkout the Plugin from SVN. IMHO,
this
is the best way to get the full picture as things are still in flux
mvn -Dtest=MyTest test
Note: MyTest is your java test class.
Note: Use it unqualified -- without its package name (e.g. without
com.myco.) otherwise, this confuses m2
On 12/23/05, Raymond N. Ritz [EMAIL PROTECTED] wrote:
Is there a way to run a single junit test case in maven 2?
Raymond
not know why this was done.
Thanks
Ray
-Original Message-
From: Chris Berry [mailto:[EMAIL PROTECTED]
Sent: Friday, December 23, 2005 1:39 PM
To: Maven Users List; [EMAIL PROTECTED]
Subject: Re: Running a single test?
mvn -Dtest=MyTest test
Note: MyTest is your java test class
Greetings,
I would like clarification on what version of the JDK is required for m2 --
particularly with respect to creating Plugins. As far as I know, JDK 1.5 is not
required -- and maven has a special way to handle annotations. I believe I
have read about this somewhere, but can no longer locate
Greetings,
Is it possible to specify multiple modules in a POM that are deeper than
1 level.
In other words, say I have the following structure:
/top/pom.xml == the multi-module POM
/top/a/b/c/d/pom.xml== build 1
/top/a/e/f/pom.xml== build 2
/top/g/h/pom.xml ==
We have seen the same issue, and it is a serious PITA.
Now we will have to go through any home grown Plugins and modify them
accordingly.
1) the absolute path makes more sense, and more importantly, matches all
previous behavior, particularly m1!!
2) this sort of change should come with a huge
Hassan,
Please search the list archives -- this has been covered many times
recently.
If that doesn't answer your question, then please post the POM snippet that
shows the ant call. (You may have forgotten inheritRefs=true)
Cheers,
-- Chris
On 1/10/06, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:
I use Ant as a fundamental scripting language for Maven.
I use the antrun plugin. I have a hacked up version that allows me to build
Plugins that hold an Ant build file and a simple, thin Mojo that extends the
Antrun base class. When executed this Plugin unpacks the Ant build.xml and
executes
http://maven.apache.org/plugins/maven-antrun-plugin/introduction.html
On 1/11/06, Chris Berry [EMAIL PROTECTED] wrote:
I use Ant as a fundamental scripting language for Maven.
I use the antrun plugin. I have a hacked up version that allows me to
build Plugins that hold an Ant build file
hi Dave,
Make sure that you add /target/test-classes to your CLASSPATH for IntelliJ.
Your test resources end up here.
Cheers,
-- Chris
On 1/15/06, Dave Hoffer [EMAIL PROTECTED] wrote:
Emmanuel,
Thanks, I understand the idea you suggest but I am having some trouble
getting it to work. I am
I agree 100%. The Release Plugin should
1) Insure that all dependency versions, including those of maven itself, are
captured for repeatability
2) Insure that no dependencies, including those of maven itself, are
SNAPSHOTs, which, by definition, are not repeatable
BTW: to truly insure
Did you follow this doc;
http://maven.apache.org/plugins/maven-antrun-plugin/classpaths.html
Cheers,
-- Chris
On 1/17/06, Henrik Mejlgaard [EMAIL PROTECTED] wrote:
Hi,
From the documentation in
http://maven.apache.org/guides/plugin/guide-ant-plugin-development.html,
I have successfully
Hi Paul,
You can, you will have attach the task early on in the build process -- say,
at the validate phase. Currently, all attached Plugins execute after teh
phase they refer to.
I am uncertain what the actual lifecycle (i.e. the phases) is for the Clean
Plugin, maybe a M2 expert can tell us
Greetings,
I am wondering if there is a standard solution to this problem anywhere.
I can't seem to find one, but I could have easily have overlooked it...
What we need to do is; download a file, put it in the local repo, and
also on the classpath.
To make this concrete, I'll explain our
1 - 100 of 113 matches
Mail list logo