I want to call some ant tasks when I run maven.
I have read all about the maven antrun plugin and found some
examples, but the documentation is a wee bit hard
for me to understand, and does not lead me to what I wish to accomplish.
I want all my ant tasks in a build.xml file (not in the
thanks, I'm still lost. This section did not make much sense to me.
David M. Karr wrote:
CheapLisa wrote:
I want to call some ant tasks when I run maven.
I have read all about the maven antrun plugin and found some
examples, but the documentation is a wee bit hard
for me
I have a project directory like:
C:\home\projects\myproject
In myproject there is myproject\pom.xml
This pom is a top level pom (for many modules and those modules have
sub-modules)
and the packageing is set to pom.
What I want is to build one super jar that includes all jars
already read this twice.
Maybe also have a look here:
http://maven.apache.org/plugins/maven-assembly-plugin/examples/multimodule/module-binary-inclusion-simple.html.
From what you describe, it might be what you need.
Cheers
2009/1/4 CheapLisa l...@purpleblade.net
I have a project
What I want to do is to include all jars from all modules/sub-modules that
are built from the top level when I do mvn compile install.
in the top level C:\projects\myproject\pom.xml
there is no /src/main/java directory to build. It is a top level
project/container only for submodules and the
, Mentoring Agile Consulting
p. (866) BLiNC-411: (254-6241-1)
f. (415) 685-4233
Website: http://baselogic.com
Linked IN: http://linkedin.com/in/mickknutson
Vacation Rental: http://tahoe.baselogic.com
---
On Tue, Dec 16, 2008 at 3:54 PM, CheapLisa l...@purpleblade.net wrote:
I am
I am using an open source product that requires a jar to be built for every
single .java
file.
The java files are all in the same directory like so:
src/main/java/com/acme/product/Name1.java
src/main/java/com/acme/product/Name2.java
Before the build takes place, I need to create a directory /target/somedir
and then copy some files from /src/main/resources/* to there.
How do I do this with maven?
thanks
cl
--
View this message in context:
-plugin/examples/copy-resources.html
2008/12/12 CheapLisa l...@purpleblade.net:
Before the build takes place, I need to create a directory
/target/somedir
and then copy some files from /src/main/resources/* to there.
How do I do this with maven?
thanks
cl
--
View this message in context
great. Do you remember the name of the plugin and have an example?
thanks
L
Wei Tan wrote:
there is a maven plug-in that can run ant tasks, I remember
On Fri, Dec 12, 2008 at 2:25 PM, CheapLisa l...@purpleblade.net wrote:
Before the build takes place, I need to create
yea, I already googled. I already to that before posting. Nothing came up.
What does modicum mean?
thanks
Wayne Fay wrote:
Somebody made me discover that recently: http://tinyurl.com/62f6ku ...
No offense, week-end is coming :-).
Cheers
So long as CheapLisa continues sending
(DefaultMaven.java:126)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:282)
Stephen Connolly-2 wrote:
In theory, yes, though I have not tried it myself
2008/12/11 CheapLisa l...@purpleblade.net
so I could make a module for it say logging/pom.xml and then put a
dependency
desired
behavior.
-Josh
On Thu, Dec 11, 2008 at 6:39 PM, CheapLisa l...@purpleblade.net wrote:
I do not believe this has anything to do with it and I don't understand
what
you are saying.
L
mgainty wrote:
place the groupId/artifactId/version in the dependencies
with another version of JUnit and using an earlier version that
I'm
not aware of?
How do I force the surefire plugin to use JUnit 4.5?
thanks
L
John Stoneham wrote:
On Wed, Dec 10, 2008 at 12:16 AM, CheapLisa l...@purpleblade.net
wrote:
I have JUnit 4.5 as a dependency in my
I am getting this error message:
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: The plugin
'org.apache.maven.plugins:maven-i
zpack-plugin' does not exist or no valid version could be found
at
wrote:
On Wed, Dec 10, 2008 at 12:16 AM, CheapLisa l...@purpleblade.net
wrote:
I have JUnit 4.5 as a dependency in my maven pom
and I have imported annotations into my test case but
it is not recognizing the @Test and @Ignore annotations.
I still have to preface the method name
to all the projects that need it
Sent from my iPod
On 10 Dec 2008, at 20:35, CheapLisa l...@purpleblade.net wrote:
I have a project with many modules (over 30) and some are nested 2-3
deep.
With Maven / Log4J I have to put two log4j.xml files in every module:
src/main/resources
I should not have to name it anything but put an annotation there like @Test.
This is OK with JUnit 4.x.
Josh Suereth wrote:
I believe the name of the class still matters. Try calling it
Test*.java
On Wed, Dec 10, 2008 at 12:16 AM, CheapLisa [EMAIL PROTECTED] wrote:
I have JUnit
I have a project with many modules (over 30) and some are nested 2-3 deep.
With Maven / Log4J I have to put two log4j.xml files in every module:
src/main/resources/log4j.xml
src/test/resources/log4j.xml
This is usually the same file over and over again.
I'm not sure I understand. I don't have the surefire plugin in any of my
pom's. It's in the superpom so I can use it from there.
I have a multi-module project.
L
Jörg Schaible-2 wrote:
CheapLisa wrote at Mittwoch, 10. Dezember 2008 17:16:
I should not have to name it anything
version that I'm
not aware of?
How do I force the surefire plugin to use JUnit 4.5?
thanks
L
John Stoneham wrote:
On Wed, Dec 10, 2008 at 12:16 AM, CheapLisa [EMAIL PROTECTED]
wrote:
I have JUnit 4.5 as a dependency in my maven pom
and I have imported annotations into my test case
calling it
Test*.java
On Wed, Dec 10, 2008 at 12:16 AM, CheapLisa [EMAIL PROTECTED] wrote:
I have JUnit 4.5 as a dependency in my maven pom
and I have imported annotations into my test case but
it is not recognizing the @Test and @Ignore annotations.
I still have to preface the method
What is the name of your test?
L
Anders Hammar wrote:
Hi,
Just tried it and it works for me, both in Eclipse and from command
prompt.
How are you executing?
/Anders
CheapLisa wrote:
I have JUnit 4.5 as a dependency in my maven pom
and I have imported annotations into my
, 2008 at 12:16 AM, CheapLisa [EMAIL PROTECTED] wrote:
I have JUnit 4.5 as a dependency in my maven pom
and I have imported annotations into my test case but
it is not recognizing the @Test and @Ignore annotations.
I still have to preface the method name with test
and the @Ignore tests get
I did this and only see a reference to maven-surefire-reports in the
reporting section but not elsewhere.
My objective is to clean up my pom's and not repeat what is not really
needed. It seams like having a reference to surefire in a build section in
every module pom is tedious to include and
2008/12/10 CheapLisa [EMAIL PROTECTED]
thanks, so there is absolutely no way to rid every single pom.xml with
some
reference to junit for example?
Lisa
Wayne Fay wrote:
I do not want this plugin section in every pom.xml in
every sub-module
(some 5 deep
I searched for a maven jaxb plugin and found xjc-maven-plugin but it is not
documented.
Does anyone have an example of generating an xsd from xml and then the java
objects from xsd?
Does anyone know why this plugin is not documented?
--
View this message in context:
-Original Message-
From: CheapLisa [mailto:[EMAIL PROTECTED]
Sent: 09 December 2008 16:33
To: users@maven.apache.org
Subject: Maven Jaxb plugin?
I searched for a maven jaxb plugin and found xjc-maven-plugin but it is
not
documented.
Does anyone have an example of generating
-Original Message-
From: CheapLisa [mailto:[EMAIL PROTECTED]
Sent: 09 December 2008 16:33
To: users@maven.apache.org
Subject: Maven Jaxb plugin?
I searched for a maven jaxb plugin and found xjc-maven-plugin but it is
not
documented.
Does anyone have an example of generating an xsd from
I want to run JUnit tests in every module and sub-module (some 5 deep),
but I do not want to put a reference to the surefire plugin
in every pom.xml in every module and sub-module (some 5 deep).
How do I make this work?
--- More Info
I have a top level pom for all modules and use the parent
I have JUnit 4.5 as a dependency in my maven pom
and I have imported annotations into my test case but
it is not recognizing the @Test and @Ignore annotations.
I still have to preface the method name with test
and the @Ignore tests get executed.
Is something broken? What do I need to do to get
thanks, so there is absolutely no way to rid every single pom.xml with some
reference to junit for example?
Lisa
Wayne Fay wrote:
I do not want this plugin section in every pom.xml in
every sub-module
(some 5 deep)
How do I do this to make it go?
wrote:
On Wed, Nov 26, 2008 at 10:22 AM, CheapLisa [EMAIL PROTECTED] wrote:
Does anyone have an *end-to-end* example (with files you can send or
attach)
that will allow me to create a single jar with all dependencies using
maven?
This is more than just the assembly.
Setting the MANIFEST.MF
. It was probably not tried first before going to
press.
Lisa
John Stoneham wrote:
On Wed, Nov 26, 2008 at 10:22 AM, CheapLisa [EMAIL PROTECTED] wrote:
Does anyone have an *end-to-end* example (with files you can send or
attach)
that will allow me to create a single jar with all
Does anyone have an *end-to-end* example (with files you can send or attach)
that will allow me to create a single jar with all dependencies using maven?
In the end I want to be able to:
$cd dist
$java -jar patch-main.jar
and have it run the public static void main(String[] args) method in
35 matches
Mail list logo