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 docume
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 pom.xml)
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\\pom.xml
there is no /src/main/java directory to build. It is a top level
project/container only for submodules and the packagin
u why everything is unpacked (that's the default), but you
> surelyy 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 migh
I have a project directory like:
C:\home\projects\
In there is \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 in my project
and all jars
BASE Logic, Inc.
> Enterprise Architecture, Design, 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
> ---
&g
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
src/main/java/com/acme/product/Name3.jav
;>
>> how do I know that surefire is using my dependency of JUnit 4.5? Is
>> maven
>> bundled 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?
>>
>
re-plugin (This is the part of maven that
>> calls
>> into junit) for junit4 conventions, or you won't get your desired
>> behavior.
>>
>> -Josh
>>
>>
>> On Thu, Dec 11, 2008 at 6:39 PM, CheapLisa wrote:
>>
>>>
>>> I do not
:utils.logging
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:310)
at org.apache.maven.DefaultMaven.execute(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
>
> 2
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 :-).
>&
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 wrote:
>
>>
>> Before the build takes pl
apache.org/plugins/maven-resources-plugin/examples/copy-resources.html
>
> 2008/12/12 CheapLisa :
>>
>> Before the build takes place, I need to create a directory
>> /target/
>> and then copy some files from /src/main/resources/* to there.
>>
>> How do I do th
Before the build takes place, I need to create a directory /target/
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:
http://www.nabble.com/How-to-mkdir-and-move-files-as-part-of-build-tp20983063p20983063.html
o all the projects that need it
>
> Sent from my iPod
>
> On 10 Dec 2008, at 20:35, CheapLisa 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.x
t
>> 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, Chea
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
org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultL
!
>
> -Stephen
>
> 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 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 m
gt;>
>> 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 4.5 as a dependency in my maven pom
>&g
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 depe
gt; 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 4.5 as a
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
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:
>
>&g
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 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
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?
>
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 ge
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 tag in
jaxb2-maven-plugin
>
>
>
> xjc
>
>
>
>
> com.acme
>
>
>
> -Original Message-
> From: CheapLisa [mailto:[EMAIL PROTECTED]
> Sent:
jaxb2-maven-plugin
>
>
>
> xjc
>
>
>
>
> com.acme
>
>
>
> -Original Message-
> From: CheapLisa [mailto:[EMAIL PROTECTED]
> Sent:
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:
http://www.nabble.com/Maven
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 t
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?
>
>
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 o
35 matches
Mail list logo