I might have to try the assembly plugin method. Personally, I use a
jar task in an antrun plugin execution to create the jars, then use
the buildhelper plugin to attach them to the project.
Chris
-Original Message-
From: Stefano Bagnara [mailto:[EMAIL PROTECTED]
Sent: Thursday, 10 May,
I think you're looking for the rhino:js artifacts.
http://www.mvnrepository.com/artifact/rhino/js
Chris
-Original Message-
From: mateamargo [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 17 April, 2007 15:52
To: users@maven.apache.org
Subject: org.mozilla.javascript repo?
I'm
I don't think you need to add tools.jar as a dependency on Mac. See
http://maven.apache.org/general.html#tools-jar-dependency
Chris
-Original Message-
From: Ryan Cuprak [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 06 March, 2007 13:19
To: Maven Users List
Subject: Tools.jar Apple
Here's the dependencies we use for regexp in antrun:
dependency
groupIdant/groupId
artifactIdant-apache-regexp/artifactId
version1.6.5/version
/dependency
dependency
groupIdjakarta-regexp/groupId
=^(.*?)-(.*).jar$$ to=\1.jar
classpathref=maven.compile.classpath/
/copy
/target
/project
Thanks
-Jagan
-Original Message-
From: Chris Hilton [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 31, 2007 11:39 AM
To: Maven Users List
Subject: RE: Maven-antrun-plugin
?
-Original Message-
From: Chris Hilton [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 31, 2007 12:01 PM
To: Maven Users List
Subject: RE: Maven-antrun-plugin regexp
You probably want the classpathref to be maven.plugin.classpath.
-Original Message-
From: Jagan Padmanabha Pillai
We do something similar here with a profile:
profile
idtest-name/id
build
plugins
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-surefire-plugin/artifactId
configuration
includes
Vote for MNGECLIPSE-232.
http://jira.codehaus.org/browse/MNGECLIPSE-232
As a workaround, you can use the just released m2eclipse 0.0.10 and copy
the settings.xml to your user-level settings (~/.m2/settings.xml)
(resolved by MNGECLIPSE-29).
Chris
-Original Message-
From: Morgovsky,
I'm not sure if you can influence the main artifact like that, but you
can use the antrun plugin to create a secondary jar artifact like you
want, then use the build-helper-maven-plugin to attach it to the project
with a classifier. When you use it as a dependendency, you'll have to be
careful to
If you mean you're using the m2eclipse plugin, you should vote for
MNGECLIPSE-232. Reading the user-level settings.xml file is fixed
(MNGECLIPSE-29) but unreleased; you'll have to check the plugin out and
build it if you want to use that.
http://jira.codehaus.org/browse/MNGECLIPSE-232
Chris
Perhaps I'm not following, but how is the my.compile.dependency.fileset
different from what you want? Unless you really wanted a path reference,
in which case you replace filesetId with pathId. Or you want that in a
property? Then add:
property name=my.compile.dependency.fileset
management in ant
That seems to be working!
Thank you so much for this!
How was one to know that pathId existed?
-Original Message-
From: Chris Hilton [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 09, 2007 11:16 AM
To: Maven Users List
Subject: RE: maven version management in ant
That's not working in 0.0.9, but has been fixed for 0.0.10, soon to be
released (hopefully).
http://jira.codehaus.org/browse/MNGECLIPSE-29
That fix will pick up your settings from the user home directory. Please
vote for the following issue to add the ability to have m2eclipse pick
up a global
Javier, can you do me a favor and tell what the contents of the
following directory in your repository is? Hopefully you can do this
before the -U Wayne asked for.
repository\org\apache\maven\plugins\maven-install-plugin
Specifically, I'm wondering if it is just a metadata file, probably
Sorry to interrupt, but I've seen something similar and think I now even
have a reproducible test case. I can do the following:
1. Remove the maven-clean-plugin directory from my local repository.
2. Run 'mvn -o clean'. Obviously this fails because we need to download
the clean plugin and we're
it. And respond back with the JIRA Id so I
can go vote and watch it.
Wayne
On 1/9/07, Chris Hilton [EMAIL PROTECTED] wrote:
Sorry to interrupt, but I've seen something similar and think I now
even have a reproducible test case. I can do the following:
1. Remove the maven-clean-plugin directory
My guess would be that your tests were working with Ant's junit task
which uses a forkmode of 'pertest' by default, but they are now failing
because Maven's surefire plugin uses a default of 'once' by default. You
can change the setting for the surefire plugin by adding a configuration
something
You need to add the following dependency:
dependency
groupIdant/groupId
artifactIdant-junit/artifactId
version1.6.5/version
/dependency
Chris
-Original Message-
From: shinjan sen [mailto:[EMAIL PROTECTED]
Sent: Saturday, 06
Does anyone know if there is a bug filed for this? I'm assuming this is
similar to a problem we're seeing where a plugin download seems to
result in only metadata in the local repository and further attempts to
build just get the does not exist or no valid version could be found
message. We've
Have you tried this?
version1.0-20061023.215122-6/version
Chris
-Original Message-
From: spamsucks [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 28 November, 2006 11:05
To: users@maven.apache.org
Subject: Use older/specific version of snapshot?
Sorry for the newbie question, but I
It looks like your problem may be related to bug MNGECLIPSE-188:
http://jira.codehaus.org/browse/MNGECLIPSE-188
That one couldn't be resolved because of the incomplete description, but
it does have good advice in making sure that Eclipse is running in a JDK
JRE, not a plain JRE. You can verify
project.
Thanks again.
Julien
- Message d'origine
De : Chris Hilton [EMAIL PROTECTED] À : Maven Users
List users@maven.apache.org Envoyé le : Jeudi, 16 Novembre
2006, 18h36mn 05s Objet : RE: Generate source code with a
JavaCC parser.
To my eyes (and how I've done it before
To my eyes (and how I've done it before), this would be two projects. One
project to create the Parser and jar it. Then the second project would use that
jar as a dependency and execute the appropriate class during the
generate-sources phase.
Or you could get a little fancy and have the first
Some thoughts:
1. You might try experimenting with the forkMode setting for Surefire.
Ant's junit task defaults to perTest, but the default for Surefire is
once. Poorly written tests sometimes rely on the perTest behavior,
but well-written tests should be able to run with once (IMHO). For
that
You need to add the jar as a dependency to the antrun plugin, something
like:
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-antrun-plugin/artifactId
executions
...
/executions
dependencies
dependency
task in a certain order?
Greetings,
Xavier.
Chris Hilton wrote:
There's an emma-maven-plugin in the Codehaus sandbox and
available at
the Codehaus snapshots repository you might want to use.
http://mojo.codehaus.org/using-sandbox-plugins.html
You'll need to specify something
There's an emma-maven-plugin in the Codehaus sandbox and available at
the Codehaus snapshots repository you might want to use.
http://mojo.codehaus.org/using-sandbox-plugins.html
You'll need to specify something like this for the build configuration:
build
plugins
plugin
I've been doing the same thing a lot so here's some steps I recommend:
- Inspect the manifest file in the jar. Sometimes you'll find the
version number has helpfully been stowed away in there.
- Look at the version history for the jar in your repository. Sometimes
developers (even yourself!)
mvn site -Dmaven.test.failure.ignore=true
I think that will do the trick.
Chris
-Original Message-
From: Zeitlin, Michael (ATL) [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 04 October, 2006 11:00
To: users@maven.apache.org
Subject: Build fails when unit tests fail
I am
You need a dependency like:
dependency
groupIdant/groupId
artifactIdant-junit/artifactId
version1.6.5/version
/dependency
Chris
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Paul Galbraith
Sent: Monday,
Have you tried mvn clean process-classes? process-classes being the phase
you bound the antrun plugin to and occurs after compile.
Chris
-Original Message-
From: Borut Bolčina [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 06 September, 2006 16:30
To: Maven Users List
Subject: Re:
I do it all the time. It's allowed us to start migrating our Ant build
project-by-project to Maven without retraining our dev monkeys during
the transition ;-). Projects that have been converted to Maven now have
bare-bones build.xml files for per-project customization, but the
majority of
this jar is included in the package later?
thanks,
Attila
Subject: RE: maven2: ant taskdef
Date: Mon, 28 Aug 2006 16:16:29 -0500
From: Chris Hilton [EMAIL PROTECTED]
To: Maven Users List users@maven.apache.org
Ah, if you need that jar for compilation also, you should probably
.
Chris
-Original Message-
From: Binod Gupta [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 29 August, 2006 18:09
To: Chris Hilton
Subject: Need help on the Emma plugin
Hi Chris,
I downloaded the Emma plugin from
http://sourceforge.net/tracker/index.php?
func=detailaid
-Original Message-
From: Douglas Ferguson [mailto:[EMAIL PROTECTED]
Sent: Friday, 25 August, 2006 17:53
To: Maven Users List
Subject: m2eclipse eclipse:eclipse
I have a few questsion about m2eclipse:
1) When configuring the external tool how do you specify a profile?
There is not as yet an official plugin, but you can download one that's
been submitted to the Emma team here:
http://sourceforge.net/tracker/index.php?func=detailaid=1481440group_i
d=108932atid=651899
You'll have to build it yourself, but I've been using it for over a
month without problem. I've
Something like this might do the trick:
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-antrun-plugin/artifactId
executions
execution
idxmlbean/id
phasepackage/phase
configuration
tasks
a solution to me. Any ideas?
thanks again,
Attila
Subject: RE: maven2: ant taskdef
Date: Mon, 28 Aug 2006 14:49:14 -0500
From: Chris Hilton [EMAIL PROTECTED]
To: Maven Users List users@maven.apache.org
Something like this might do the trick:
plugin
You probably realize this, but to expand on the answer below, you'll probably
want two copies of Proximity running. One copy on your declass network you will
use to download dependencies from external repositories and create a repository
with the particular subset of dependencies you need. Burn
I believe this feature is added in the 2.1 version of maven-jar-plugin,
which hasn't been released yet. In the meantime, you can check it out of
SVN, build it, and install it to your repository.
Chris
-Original Message-
From: Sharma, Jaikumar [mailto:[EMAIL PROTECTED]
Sent: Sunday,
Pardon me asking the obvious, but has the maven nature been added to the
modules?
Chris
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Kent Tong
Sent: Saturday, 19 August, 2006 07:37
To: users@maven.apache.org
Subject: Re: Does maven2 eclipse plugin suppor
I'm not a dev on it so can't speak officially, but I'm a watcher on
several bugs for it and know it is still being actively developed. I
think there's a bit of a hold-up due to some changes in the way artifact
resolution is being done to better integrate with Eclipse, which is hard
enough on its
Not that I recommend it, but if you do something like this, don't just move the
files. Be sure to *copy* the rcs files on the filesystem to their new locations
and then use cvs to remove the old files from the old locations. You'll
preserve the history of the files in their new locations, but
Use the Maven tasks for Ant.
http://maven.apache.org/ant-tasks.html
Chris
-Original Message-
From: Olexandr Zakordonskyy [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 16 August, 2006 15:59
To: users@maven.apache.org
Subject: Getting Project Artifact with Antlib
Hello.
Are
This is different than the way you want to do it, but generally I use
antrun invocations to build my secondary artifacts (also influenced by
the fact we're migrating from Ant, anyway, so it's easy to copy over).
For you, it might look something like:
plugin
Then you probably want to become familiar with the wonderful world of
profiles.
http://maven.apache.org/guides/introduction/introduction-to-profiles.htm
l
Chris
-Original Message-
From: Douglas Ferguson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 09 August, 2006 17:25
To: 'Maven
You can probably check out the entire core Maven project and then run
mvn site in the root directory to generate documentation for all of
the core plugins.
Chris Hilton
-Original Message-
From: Paul Michael Reilly [mailto:[EMAIL PROTECTED]
Sent: Monday, 07 August, 2006 12:24
There is a source jar for an apt plugin at:
http://www.mvnrepository.com/artifact/org.apache.myfaces.tobago/maven-ap
t-plugin/1.0.7
No idea if that works, but might be worth investigating. As far as the
antrun option goes, you'll need to specify the ant-apt.jar as a
dependency within the antrun
I also ran into this issue and found this page with a workaround:
http://www.jroller.com/page/gridhaus?entry=maven2_testing_madness
Basically, just configure Surefire to exclude the problem classes, like
this worked for me:
plugin
artifactIdmaven-surefire-plugin/artifactId
I'm far from an expert, but I think you have to put your exclude
elements in a separate excludes element, like:
includes
include/
/includes
excludes
exclude/
/excludes
-Original Message-
From: Abhijit Diwan [mailto:[EMAIL PROTECTED]
Sent: Thursday, 27 July, 2006 00:28
To:
1. Are you sure you need to disable jar:jar? Or just modify it such that
it builds one of your desired jars? I also needed to generate multiple
jars for a project; you can read about my particular solution here:
http://www.nabble.com/-maven2--Generating-several-artifacts-per-project-
the jar:jar goal to
create a big jar containing all classes. you see what I mean?
by the way, your answer is really appreciated.
I did not know the build-helper-maven-plugin up until now.
Regards,
Alexis
On 7/27/06, Chris Hilton [EMAIL PROTECTED] wrote:
1. Are you sure you need
://jira.codehaus.org/browse/MJAR-30. Until then, I guess you will
have to create one big jar with everything and all of your custom jars
will be secondary artifacts.
Chris
-Original Message-
From: Chris Hilton
Sent: Thursday, 27 July, 2006 12:19
To: 'Maven Users List'
Subject: RE: 1 Module - N output
Another option is to build your subset jars and attach them as artifacts
with the build-helper plugin. See:
http://www.nabble.com/-maven2--Generating-several-artifacts-per-project-
--tf1689630.html#a4630045
Chris Hilton
-Original Message-
From: Denis Cabasson [mailto:[EMAIL PROTECTED
tasks for Maven to copy the files from the repository and
rename them for local use.
Chris Hilton
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Trent Albright
Sent: Tuesday, 25 July, 2006 13:43
To: Maven Users List
Subject: Re: deploying jars
Wasn't your original problem with grabbing compilation errors from the
output? You should probably take a look at the following message:
http://www.nabble.com/forum/ViewPost.jtp?post=4125504framed=y
It should be as easy as modifying your emacs setup.
Chris
-Original Message-
From:
No, you're not the only one; there's already a JIRA bug for it.
http://jira.codehaus.org/browse/MNG-1408
Since there's no telling when the bug will be officially fixed, my
solution has been to check out maven, apply the patch at the link, and
build a new maven-artifact-ant jar (the command you
okay, you should have no
problem getting to this one.
Chris Hilton
-Original Message-
From: Doug Douglass [mailto:[EMAIL PROTECTED]
Sent: Thursday, 08 June, 2006 14:37
To: Maven Users List
Subject: working with custom-built org.apache.maven.plugins
I'm struggling with an issue
as another artifact with a
classifier to distinguish it from the primary artifact. You'll also need that
classifier when referring to the secondary artifact as a dependency.
Chris Hilton
-Original Message-
From: sol myr [mailto:[EMAIL PROTECTED]
Sent: Friday, 26 May, 2006 17:50
To: users
://maven.apache.org/maven-settings/settings.html
Chris Hilton
-Original Message-
From: Dave Hoffer [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 10 May, 2006 10:15
To: Maven Users List
Subject: RE: Why can't continuum find my local m2 repositories?
The problem is that the continuum build
60 matches
Mail list logo