I might have to try the assembly plugin method. Personally, I use a
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, 200
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
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 & App
mbedded error: The following error occurred while executing
> this line:
> C:\MavenProject\ant-test\build.xml:19: Unable to find a javac
> compiler; com.sun.tools.javac.Main is not on the classpath.
> Perhaps JAVA_HOME does not point to the JDK
>
> Any idea?
>
>
&g
ant
> ant-apache-regexp
> 1.6.5
>
>
> jakarta-regexp
> jakarta-regexp
> 1.4
>
>
>
>
>
> Build.xml
>
>
>
>
>
> ECHO MESSAGE - $
Here's the dependencies we use for regexp in antrun:
ant
ant-apache-regexp
1.6.5
jakarta-regexp
jakarta-regexp
1.4
We also have this is in the plugin configuration:
We do something similar here with a profile:
test-name
org.apache.maven.plugins
maven-surefire-plugin
${test.name}.java
Then we
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 a
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
> -
und a matching bug,
> *please* do file 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
> >
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 in
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
maven-me
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 se
: maven version 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
> T
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:
Am I missing something here?
Chris
> -Original Message
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 li
You need to add the following dependency:
ant
ant-junit
1.6.5
Chris
> -Original Message-
> From: shinjan sen [mailto:[EMAIL PROTECTED]
> Sent: Saturday, 06 January, 2007 07:16
> To: Maven Users List
> Subject: Issue in calling a
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 be
Have you tried this?
1.0-20061023.215122-6
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 deployed a
r for continuum). With your
> solution, I need to build and install the parser first, then
> build my regular project.
>
> Thanks again.
>
> Julien
>
> - Message d'origine
> De : Chris Hilton <[EMAIL PROTECTED]> À : Maven Users
> List Envoyé le : Je
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 t
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 p
Some thoughts:
1. You might try experimenting with the 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 mat
You need to add the jar as a dependency to the antrun plugin, something
like:
org.apache.maven.plugins
maven-antrun-plugin
...
ant
ant-jmeter
1.0
Chris
> --
\---mycompany
> | \---app
> | App$FizzyDrink.class
> | App.class
>
> 4) content of emma.properties:
> coverage.out.file=D:\\tmp\\sandbox\\my-app\\target\\emma-class
> es\\coverage.ec
> coverage.out.merge=false
>
> 5) What i
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:
org.codehau
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!) unwi
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
>
>
>
>
You need a dependency like:
ant
ant-junit
1.6.5
Chris
> -Original Message-
> From: news [mailto:[EMAIL PROTECTED] On Behalf Of Paul Galbraith
> Sent: Monday, 18 September, 2006 01:51
> To: users@maven.apache.org
> Subject: antrun
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
> Subjec
Looks like MANTRUN-52.
http://jira.codehaus.org/browse/MANTRUN-52
Chris
> -Original Message-
> From: Alexey Kakunin [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, 05 September, 2006 14:34
> To: users@maven.apache.org
> Subject: M2, AntRun, Multi-Module Project and ant-classpath
>
> Hello!
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 function
ris
> -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.n
file="target/sxmltypes.jar"
>
> How can I do it so 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" <[
ain,
> Attila
>
> > Subject: RE: maven2: ant taskdef
> > Date: Mon, 28 Aug 2006 14:49:14 -0500
> > From: "Chris Hilton" <[EMAIL PROTECTED]>
> > To: "Maven Users List"
> >
> > Something like this might do the trick:
> >
> >
Something like this might do the trick:
org.apache.maven.plugins
maven-antrun-plugin
xmlbean
package
run
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=detail&aid=1481440&group_i
d=108932&atid=651899
You'll have to build it yourself, but I've been using it for over a
month without problem. I'
> -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
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
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 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
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 al
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 ow
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.
>
>
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:
org.apache.maven.plugins
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
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 e
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:
maven-surefire-plugin
e for
http://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 Us
ement, but if I
> generate several jars, I do not need 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
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-
--tf1689630.h
I'm far from an expert, but I think you have to put your
elements in a separate element, like:
> -Original Message-
> From: Abhijit Diwan [mailto:[EMAIL PROTECTED]
> Sent: Thursday, 27 July, 2006 00:28
> To: users@maven.apache.org
> Subject: How to deselect classes while cre
to
use the Ant 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
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:
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=4125504&framed=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 ne
itory 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&
you
just use the build-helper plugin to attach your jar 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
e.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
61 matches
Mail list logo