I don't know if there is a standard for this type of artifact.
Everything I've seen in Ibiblio is a jar. For our company's projects,
we do have needs for DLL artifacts as well as DLLs that require
additional configuration and data files. In our internal repository,
we've standardized on a 'dll'
Thanks for this--it works wonderfully. Is there a similar schema
available for maven.xml?
-Original Message-
From: Andy Glick [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 18, 2005 5:11 PM
To: Maven Users List
Subject: Re: project.xml, maven-v3_0_0.xsd and xml aware editors
At
Is there a best practices way of cleaning up these timestamped
deployments? We have a continuous integration tool doing the builds (so
there's lots of builds) and the current version of all projects are set
with SNAPSHOT. So it seems that in a not-too-large amount of time our
Maven repository
Unfortunately, easy is relative. I appreciate the desire for a project to be
more deterministic about what particular build of a dependency it is using at
the moment. That is a good thing and very necessary in some cases. It's also
something that should be used as a last resort, when there
This exact question (or very similar) was brought up about a month ago.
You might find what you need by reading through that thread (there was a
lot of discussion). You can find the initial message here:
http://www.mail-archive.com/users@maven.apache.org/msg21037.html
If this doesn't address
The date format should match the description given in
http://java.sun.com/j2se/1.4.2/docs/api/java/text/SimpleDateFormat.html.
For this particular date (2/08/05 16:57) (which refers to 2 August 2005
16:57), the date format should be d/MM/yy hh:mm. I don't know why there
isn't a leading zero
is the current ant builder basically put every jar on the file
tree in the classpath.
Alex
-Original Message-
From: David Jackman [mailto:[EMAIL PROTECTED]
Sent: Friday, August 26, 2005 11:50 AM
To: Maven Users List
Subject: RE: [m1] How to use Ant script instead of java:compile while
maven.jar.activation-1.0.1 = ${basedir}/builder/lib/activation-1.0.1.jar
... Lots of jars here...
Thanks David your help is extremely appreciated Alex
-Original Message-
From: David Jackman [mailto:[EMAIL PROTECTED]
Sent: Friday, August 26, 2005 3:10 PM
To: Maven Users List
Subject: RE: [m1] How to use Ant
and prompt to respond.
Alex
-Original Message-
From: David Jackman [mailto:[EMAIL PROTECTED]
Sent: Friday, August 26, 2005 6:12 PM
To: Maven Users List
Subject: RE: [m1] How to use Ant script instead of java:compile while
creating the site
That's what I thought you may have done
We're pretty much doing what Jose is doing, but we don't see these timeouts. I
think it's because the Maven properties are set up to look in our internal
repository first and then go global from there. Just about everything is in
the internal repository (certainly the artifacts for our
configure Maven to tell that those artifacts should
only be taken from the developer local repository?
Best regards
Jose
2005/9/2, David Jackman [EMAIL PROTECTED]:
We're pretty much doing what Jose is doing, but we don't see these timeouts.
I think it's because the Maven properties are set up
We're been using CruiseControl here for a very long time. It works well
for a handful of larger projects, but our move to Maven has enabled us
to break the larger projects into more agile smaller projects. This has
made some of the drawbacks of CruiseControl more apparent.
CruiseControl does
I think this is the wrong approach. Maven projects shouldn't call other
Maven projects to build. Instead, the jar project should install/deploy
its artifact(s) to the repository. Then the webapp project should list
the artifacts it depends on and use them from the repository. It can
bundle
I can't speak for what M2 does (but I'm hoping there's a plugin that
can, for the product project, use the transitive dependencies to point
out any out-of-sync versions for the same group/artifact ids). However,
I can say that M1 does indeed let you put version information on a
snapshot. We do
My solution in M1 was to make the artifact a .zip file containing the
jar and all necessary configuration files and execution scripts. I
would expect the same kind of thing for M2, but haven't moved there yet.
..David..
-Original Message-
From: Andrius Karpavicius [mailto:[EMAIL
It definitely isn't ${basedir}, and I would recommend leaving that in.
From what I can see, it should work for the source code, but the test
code wouldn't because the paths are different (src/test vs. test/java).
Can you double-check the paths you put in your email to make sure
they're correct
Do you know the issue numbers for these off the top of your head? I'd
like to put in my votes as well. Hopefully I'll be able to carve out
some time to create patches as well. Anxiously awaiting the beta
announcement and release.
..David..
-Original Message-
From: Brett Porter
This happens if you're using the CVSNT client (try cvs -version to know
for sure) because CVSNT puts the passwords in the registry instead of
the .cvspass file.
I wrote a utility that extracts passwords from the registry and creates
the .cvspass file. Let me know if you'd like a copy.
..David..
Same here. In fact, I don't even use the CC plugin for Maven. I create and
edit the config file by hand all the time. It really isn't that hard anymore
with the updated docs on the CC site (it was a real pain when all there was was
an example config file with only a few elements in it).
CC uses the lastsuccessfulbuild property when looking for changes since
the last build (to determine if another build should start). The value
is a date/time in MMDDhhmmss format.
-Original Message-
From: Mick Knutson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 21, 2005
) 648-1804 (S.F., CA)
http://www.BASELogic.com
HP Consulting Services (Walnut Creek, CA)
From: David Jackman [EMAIL PROTECTED]
Reply-To: Maven Users List users@maven.apache.org
To: Maven Users List users@maven.apache.org
Subject: RE: RE : CruiseControl issues trying to install and run from
Knutson
Sr. Java/J2EE Consultant
BASE logic, inc.
(415) 648-1804 (S.F., CA)
http://www.BASELogic.com
HP Consulting Services (Walnut Creek, CA)
From: David Jackman [EMAIL PROTECTED]
Reply-To: Maven Users List users@maven.apache.org
To: Maven Users List users@maven.apache.org
Subject: RE: RE
://www.BASELogic.com
HP Consulting Services (Walnut Creek, CA)
From: David Jackman [EMAIL PROTECTED]
Reply-To: Maven Users List users@maven.apache.org
To: Maven Users List users@maven.apache.org
Subject: RE: RE : CruiseControl issues trying to install and run from
maven.Pleasehelp.
Date: Thu, 22
Do you mean the resource files aren't getting put into
target/test-classes or that target/test-classes isn't in the classpath?
If the resource file is in a subdirectory of src/test/resources, then
your filename in the test code will need to include the subdirectory
name.
..David..
Not that I know of. Instead, I would just put the valid.xml file
directly into src/test/resources instead of the XML subdirectory. Then
you shouldn't have to put a path at all.
..David..
-Original Message-
From: Alex Wood [mailto:[EMAIL PROTECTED]
Sent: Friday, September 23, 2005
Unfortunately, the Maven integration for CC doesn't have separate
elements for setting properties like the Ant integration does. However,
since you've created your own Maven.bat that CC calls, you can add the
properties there. For example:
@echo C:\Maven_1.0.2\Maven.bat -Dmyprop=value %*
call
The problem is not that there aren't quotes around the CC properties,
but that there isn't an '=' character between the property name and the
value. The source for CC I'm looking at seems to be doing it right (and
CC certainly works with Maven for me here), so I'm not sure why this
would be
I was of the presumption that (at least with CVS) when you do a tag it tags the
version of each file that are present on your machine, regardless of what the
latest version is on the SCM server. I don't know for sure if the SCM plugin
command is doing it this way (since it is possible to have
I've just started to get my hands wet with Maven 2, and I must say I
like what I'm seeing. Just about every headache we currently have with
Maven 1 is addressed to some extent by Maven 2.
One problem we were having around Maven 1 that I'm not too sure about
for the future is the issue of
to rebuild it,
I have to remember to manually remove the release build from the
repository first.
-Original Message-
From: David Jackman [mailto:[EMAIL PROTECTED]
Sent: Monday, October 03, 2005 10:54
To: Maven Users List
Subject: Release builds and continuous integration
I've just
of your
release, you are overloading that codeline with two purposes - ongoing
development and releasing.
Hopefully you will find, as others do, this approach simplifies the
release prep process.
Quoting David Jackman [EMAIL PROTECTED]:
I've just started to get my hands wet with Maven 2, and I must
With my understanding, one project can be set up to build any projects
it wants--those project don't have to list the one project as a parent.
Here's an example. Say I have three projects (A, B, and C) that each
build some jar. I have a parent project (called Parent) that is a POM
project, and
For a newcomer to Maven, is there a recommended methodology for
determining the correct groupId/artifactId/version for a particular
dependency one might need? For Maven 1, what I would do is browse the
repository on ibiblio trying to find the jar file I was looking for,
then once I found it I'd
What do you see when you run cvs -version from the command line? If you're
running some version of CVSNT, then doing a cvs login from the command line
won't create the necessary ~/.cvspass file that the Maven SCM operations will
need. (Because CVSNT stores the passwords in the registry
In m2, you just turn filtering on for resources in your pom. Assuming
you've put the files being filtered in the default place
(src/main/resources), you may not have anything about resources in your
pom already, so you'll need to add everything about this resource
directory:
project
...
build
It's customary to have a root pom also contain module elements
indicating the subprojects so one can build them all at once. I would
like to separate the two, so I have a root pom that produces only the
pom that others will inherit, and a separate project that defines the
module elements for
value of nothing.
..David..
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Jorg Heymans
Sent: Monday, October 24, 2005 9:32 AM
To: users@maven.apache.org
Subject: Re: [m2] Project that doesn't create a package
David Jackman wrote:
It's customary to have a root pom
. At least, under
the current incarnation of Maven 2.
- -john
David Jackman wrote:
| Well, I'm using pom as the packaging value now, but it isn't really
| what I want. I'd rather not install anything to my repository that
| has no value. Just don't want it cluttered up.
|
| Is there a way to do
The POM reference is a good start, but there's still a lot missing or
left unexplained.
How is the maven-model/maven.html file generated? Is it possible to
make changes to improve the documentation and submit patches?
..David..
-Original Message-
From: Jason van Zyl [mailto:[EMAIL
http://maven.apache.org/guides/introduction/introduction-to-plugins.html
http://maven.apache.org/guides/introduction/introduction-to-plugins.htm
l has bad links in the Resources section (all three links are bad).
Is this the right place to mention this, or is it better to file a JIRA
(with a
According to
http://maven.apache.org/guides/mini/guide-configuring-plugins.html (at
the bottom), you can use setters for the Mojo parameters so your private
field can use a different naming convention. However, when I tried to
do this, it didn't work. Am I doing something wrong? Here's my Mojo
Is it possible for a Mojo to specify that some other goal for some other
plugin needs to happen before my Mojo can execute? In my specific case,
my plugin does some post-processing of the Javadocs generated by the
javadoc:javadoc (or javadoc:jar) goals. Is there a way for me to ensure
this has
/
You can build it and take a look at some doc.
-Dan
On 11/1/05, David Jackman
[EMAIL PROTECTED] wrote:
I've just found out that I'm going to need to expand
our Maven
build process to include several C++ project (which I
believe are built
How does the maven-native plugin compare with the FreeHEP plugin Mark
Donszelmann talks about (http://java.freehep.org/freehep-nar-plugin for
the Maven1 version, Maven2 version in the works)?
Can we combine efforts to make a single native plugin faster (and
better), or are there really multiple
You can also do a Google search using the syntax site:www.ibiblio.org
maven2 jarname to find artifacts by name, but it is less than ideal.
-Original Message-
From: Doug Douglass [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 03, 2005 8:01 AM
To: Maven Users List
Subject: Re: Could
maven.xml is not supported in Maven 2. You need a Maven 2 plugin that
will do what you want. I believe there is a Maven 2 antrun plugin that
will execute an Ant script.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 03, 2005 9:37 AM
To:
Here's what I'd like to do: For our product, we have a number of Maven
projects, most of which are simple Java jar projects, but others are
not. For these jar projects, I'd like the javadoc:jar and source:jar
goals to execute as well. I'd like this to be as automatic as possible
for projects
I've created a Mojo that generates a Javadoc-like documentation set, and
my plugin does things similar to the javadoc plugin in that it archives
all of the docs into a jar file and attaches the artifact to the list.
In looking at the artifact code, however, it looks like it's trying to
find an
say that the javadoc:jar mojo needs to detect its environment just
as the javadoc:javadoc mojo does. That's a bug IMO.
FWIW,
john
David Jackman wrote:
| Here's what I'd like to do: For our product, we have a number of
| Maven projects, most of which are simple Java jar projects, but others
Whoa. What form is deprecated? @parameter
expression=${someExpression}?
That's what the Mojo API Specification doc says to use. There's nothing
about @component on that page at all.
-Original Message-
From: Brett Porter [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 08, 2005
for
examples)
- when using the plugin, set extensionstrue/extensions to make the
type available.
On 11/9/05, David Jackman [EMAIL PROTECTED] wrote:
I've created a Mojo that generates a Javadoc-like documentation set,
and my plugin does things similar to the javadoc plugin in that it
archives all
at all).
..David..
-Original Message-
From: David Jackman [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 09, 2005 9:42 AM
To: Maven Users List
Subject: RE: [m2] Custom artifact types (and the handlers who love them)
So, if I understand correctly, I want to put a components.xml file
One of my projects needs to create two different Javadoc artifacts, each
one using different configuration parameters. Two questions: 1) Does
Maven allow me to list a plugin to be called twice with different
parameters? 2) Would the Javadoc let me do this and have the resulting
artifact have a
Would it be possible to set up a parent pom to contain all of the plugin
information necessary so a subproject would only have to specify
packagingmsm/packaging (or whatever other type it creates) and
everything would work? Would that go in a pluginManagement section or
the plugins section? If
Is there a reference document for the components.xml file somewhere?
-Original Message-
From: Wim Deblauwe [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 10, 2005 3:33 AM
To: Maven Users List
Subject: Re: [m2] building non-jar projects
Ah, yes, now I see it under Specifying a New
According to the docs
(http://maven.apache.org/guides/introduction/introduction-to-the-lifecyc
le.html):
When multiple executions are given that match a particular phase, they
are executed in the order specified in the POM, with inherited
executions running first.
This much seems to be true.
the entries by the natural ordering
of the keys. Since at the end of the merge process we take the values
list, this will be completely arbitrary. I wrote a bug on this
(MNG-1499).
..David..
-Original Message-
From: David Jackman [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 10, 2005 9:33
is reflected when iterating over the sorted map's collection
views (returned by the entrySet, keySet and values methods).
This means that the values retrieved ARE in the order defined by the
keys.
-Original Message-
From: David Jackman [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 10
I believe it's specified by the siteDirectory property for the
maven-site-plugin plugin.
-Original Message-
From: Alexandre Bairos [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 10, 2005 12:46 PM
To: users@maven.apache.org
Subject: [m2]Site directory
Is there an available
will then get a surprise.
- Brett
On 11/16/05, David Jackman [EMAIL PROTECTED] wrote:
Just wondering if anyone has done this successfully and can recommend
some best practices. In an effort to make our build process around M2
as automatic as possible with regards to our internal standards
-archetype-plugin
requires a groupId, although it will always be the same for our
projects.
I'd love to be able to specify the groupId by default for all cases.
Eric
On 11/15/05, David Jackman [EMAIL PROTECTED] wrote:
I don't want to modify the existing plugins. I just want to run the
existing
PROTECTED] wrote:
archetype is for creating projects... there is not yet a POM to
inherity from. ;)
On 11/15/05, David Jackman [EMAIL PROTECTED] wrote:
Well, since it's the same value for all projects, you can just
specify it in the parent POM (assuming you have one), then all child
projects
I'm interested in repeatable release builds, but not really interested
in repeatable snapshot builds. It would be great to specify for a
parent (or a dependency in some cases) to use the latest available
release or snapshot version while my project is under development (i.e.
in snapshot mode).
In our current Maven 1.0.2 environment, we have a few Python projects,
and I wrote a Python plugin to handle compiling the Python code as well
as running unit tests. It's been so long now (and I'm not really a
Python person myself) that I don't think I can give a lot of help
without doing a lot
I have a Java project that I want to build using Maven 2. This
particular project doesn't really produce a jar as its main artifact,
but instead needs to produce a zip file containing all of the runtime
dependencies along with a batch file that users use to run the utility.
Before I try to
This looks like good information (though I haven't tried it yet). Why
is it in a page that looks like it's about the Maven plugin for Eclipse
(seeing how it's in the Maven Plugins section of the hierarchy)
instead of the Building Eclipse RCP and RCP-based Applications page
(which already exists)?
Our team is producing a number of artifacts, some of which are
considered official and others unofficial. We want to have a
separate repository for each. What I'd like to do is define both
repositories in the parent pom, then each project will deploy to the
correct repository based on a property
I've searched the mail archives, and this question seems to be asked a
lot and answered never.
Are profiles inherited from parent poms? The scant (and confusing) docs
seem to imply that they are, but doing a help:active-profiles command
does not agree with this.
Please someone explain how
Does notepad++ utilize the xmlns attributes to provide additional assistance
with the POM format (beyond just generic XML syntax support)? Are there any
other standalone editors that do this?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday,
According to the release plugin's web page, the code for the plugin is
available from SVN at
http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-release-plugin
. However, there is no such directory under trunk. Does anyone know
where it really is?
..David..
FASTforward '07
The
According to the documentation at http://maven.apache.org/settings.html:
Any profile id defined as an activeProfile will be active,
reguardless of any environment settings. If no matching profile is found
nothing will happen. For example, if env-test is an activeProfile, a
profile in a pom.xml
that are defined in
the parent pom.
Stéphane
On 1/27/07, Eric Redmond [EMAIL PROTECTED] wrote:
Profiles should be activated in this way.
Try: mvn help:active-profiles
See if your profile is active.
Eric
On 1/26/07, David Jackman [EMAIL PROTECTED] wrote:
According to the documentation
external profiles listed in the activeProfiles section will be
affected. Profiles in the POM are not included in that group.
-j
On 1/30/07, Eric Redmond [EMAIL PROTECTED] wrote:
What version of Maven are you using?
On 1/30/07, David Jackman [EMAIL PROTECTED] wrote:
In my case
profiles listed in the activeProfiles section will be
affected. Profiles in the POM are not included in that group.
-j
On 1/30/07, Eric Redmond [EMAIL PROTECTED] wrote:
What version of Maven are you using?
On 1/30/07, David Jackman [EMAIL PROTECTED] wrote:
In my case, there was no parent pom
I would like to execute a goal like scm:update for all the projects in
my multiproject pom. It seems like the --reactor switch on mvn command
line should do this, but it doesn't (Cannot execute mojo: update. It
requires a project with an existing pom.xml, but the build is not using
one.).
Am
I'm trying to write a mojo that accesses the properties section of the
project pom. I declared a member variable like this
/**
* Project properties.
*
* @parameter default-value=${project.properties}
* @required
* @readonly
*/
private Properties properties;
);
}
}
From: Jason van Zyl [mailto:[EMAIL PROTECTED]
Sent: Fri 2/16/2007 8:38 PM
To: Maven Users List
Subject: Re: Mojo accessing project properties
What's the rest of your mojo look like?
Are you using @execute phase=something?
Jason.
On 16 Feb 07, at 4:43 PM 16 Feb 07, David Jackman
Have you set extensionstrue/extensions for the plugin execution (in
the pom)? I'm not sure if this even applies for the case of a new
packaging. I'm interested in how to get this sort of thing to work,
though, since I think I'll be writing a custom packaging plugin before
too long myself.
It seems project.properties will always be empty (I've been working on
that issue in the Mojo accessing project properties thread in this
forum).
However, what you want isn't in the properties anyway. What you want is
the project.scm value. Declare your plugin field like this:
/**
*
the
@requiresDependencyResolution.
Hope this helps.
On 2/17/07, David Jackman [EMAIL PROTECTED] wrote:
At this point, it's a simple mojo that I'm executing via the command
line (trying to figure out how I can get at this information and what
form it comes in since no docs explain this). This mojo
In researching why project.properties was coming up empty for my plugin,
I found that the problem was in Plexus code
(plexus-container-default-1.0-alpha-9.jar to be exact). Looking up that
project, it seems the latest release is 1.0-alpha-17, but if I try to
have Maven use that instead, Maven
${project.license} to get a License object from model?
Is that functionality documented anywhere?
David Jackman wrote:
It seems project.properties will always be empty (I've been working on
that issue in the Mojo accessing project properties thread in this
forum).
However, what you want isn't
That works great--the perfect solution for right now as I wait until
this fix is available with Maven 2.0.6.
Thanks!
..David..
-Original Message-
From: Marcos Silva Pereira [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 22, 2007 11:38 AM
To: Maven Users List
Subject: Re: Mojo
Subject: Re: Mojo accessing project properties
On 22 Feb 07, at 3:11 PM 22 Feb 07, David Jackman wrote:
That works great--the perfect solution for right now as I wait until
this fix is available with Maven 2.0.6.
Once in JIRA you can watch it and use a snapshot build once it's fixed.
Jason
:04 PM
To: Maven Users List
Subject: Re: Bug in Plexus code -- Maven 2.0.5 not using latest version?
On 22 Feb 07, at 1:16 PM 22 Feb 07, David Jackman wrote:
In researching why project.properties was coming up empty for my
plugin, I found that the problem was in Plexus code
(plexus-container
The greeting field should be declared inside the class.
Interesting, I would have expected a Java compile error instead of a
qdox exception.
..David..
-Original Message-
From: Kiruba Suthan [mailto:[EMAIL PROTECTED]
Sent: Friday, February 23, 2007 12:26 AM
To: users@maven.apache.org
We're also using Perforce, and apparently Perforce support wasn't added
to the release plugin until after the current (beta 4) release. I
haven't seen anything about when beta 5 will release to fix this
problem, but I was able to get the release plugin code and build it
myself and releases work
I've created a settings.xml that lists all of our internal repositories
(some Maven 1, some Maven 2). One of these repositories contains the
parent POM for the project I'm trying to build. However, Maven reports
that it can't locate resource in repository and lists all of the
repositories in
I've put together a group of projects as a multiproject (so the parent
pom.xml references the others as modules). They all build just fine as
snapshots.
I'm now trying to do a release:prepare on the group as a whole (running
from the parent pom directory). There are interdependencies within
I thought I'd read somewhere that when compiling an aggregated group of
projects (using the modules element in the aggregator project), Maven
will use the target directories of the previously compiled projects when
looking for dependencies.
For example, say I have a project that aggregates
I believe you have to specify your repository as a plugin repository
(using the pluginRepository element) if you want Maven to look there for
plugins.
profiles
profile
idprovider-profile/id
pluginRepositories
repository
idprovider-repository/id
Of course, you are right. I forgot to change the repository tag to
pluginRepository. I knew I should have looked at my own settings.xml
file to be sure.
..David..
-Original Message-
From: Marcos Silva Pereira [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 07, 2007 1:26 PM
To:
I had no problem getting the sources and building it myself a couple of
days ago.
I can zip up the results and email it to you if you still can't get it
to work. Let me know.
-Original Message-
From: Marziou, Gael [mailto:[EMAIL PROTECTED]
Sent: Friday, March 09, 2007 10:12 AM
To:
Maven won't deploy to more than one repository at all, let alone having
some artifacts go to one repository and a different set go to another.
I've created a pom with two profiles indicating a different
distributionManagement section and activated both, but the artifact was
only deployed to the
Are you sure this is true? I just finished writing an EMMA plugin
(based on the Cobertura code), and I only needed the node in the
reporting section for it to work (when running mvn site from the
command line). I found I could even provide configuration properties
for the instrumentation mojo in
For a particular project I have, I need to add a parameter to the JVM
when running the tests (using the argLine configuration property for
surefire, I assume) that includes the full path of a particular
dependency jar. Is there some kind of property notation that I can use
that Maven will resolve
Franz gave me the same on top of my head advice when I pretty much
asked the same question earlier this week. I did some looking around,
and it appears he's right--that's the only way to do it.
This page shows the usage to make this work:
To run my tests, I have to put in place an instrumentation jar using the
-javaagent commandline argument. I added this using the argLine
property of the surefire configuration. However, the instrumentation
jar has its own dependencies that aren't present in the surefire booter
classpath. Adding
I'm trying to do almost exactly the same thing (different agent jar,
though). Rather than trying to have the agent point to the repo, I used
the dependency plugin to copy the jar from the repository to a location
under the build directory, then reference it there.
That much is working okay.
never done exactly this myself, but I'd be curious about your
configuration assuming you get it working... And I'm sure other people
would find this useful, too.
Wayne
On 4/4/07, David Jackman [EMAIL PROTECTED] wrote:
To run my tests, I have to put in place an instrumentation jar using
1 - 100 of 204 matches
Mail list logo