About Maven 1.0.2

2009-05-21 Thread Kerry Zhu
Hi, all. How to solve these problem? Could someone give me the reason? java:compile: [taskdef] [DEBUG] Finding class org.apache.avalon.meta.info.ant.MetaTask [taskdef] [VERBOSE] Ignoring Exception java.util.zip.ZipException: error in opening zip file reading resource

Negation of boolean property

2009-05-21 Thread rajks
Hi, Is it possible to negate a boolean property value. I tried it like this below and it did not work. Is there a different syntax for negation ?? properties executeUnitTestfalse/executeUnitTest /properties In surefire plugin skip!${executeUnitTest}/skip If not can this syntax be

RE: Negation of boolean property

2009-05-21 Thread Mohan KR
Not sure the intent. But you can always *override* by passing in the key as system property. mvn -DexecuteUnitTest=true ... Thanks, mohan kr -Original Message- From: rajks [mailto:ra...@hotmail.com] Sent: Thursday, May 21, 2009 2:06 AM To: users@maven.apache.org Subject: Negation of

Destroying process.. seems to fail in windows?

2009-05-21 Thread Roger Pack
Currently when I ctrl+c during a mvn test in windows, it displays Destroying 1 processes Destroying process.. Destroyed 1 processes however the process seems to still be alive. Thoughts? Thanks! -=r - To unsubscribe, e-mail:

Re: mvn install for ear project

2009-05-21 Thread fachhoch
I am using maven 2 my project contains subprojectsear , war , and jar. here my project pom.xml ?xml version=1.0 encoding=UTF-8? project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/POM/4.0.0

RE: Destroying process.. seems to fail in windows?

2009-05-21 Thread Martin Gainty
can you display your pom.xml to determine which processes are being spawned/exec'ed Martin __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger

maven-dependency-plugin odd behaviour

2009-05-21 Thread Adam Purkiss
I have the following setup in a POM file during a transition phase between a massive ANT based project and trying to mavenise it. When run using the install target from the command line with maven 2.1 I get the expected behaviour: [INFO] [dependency:copy {execution: copy}] [INFO] Configured

Re: maven-dependency-plugin odd behaviour

2009-05-21 Thread Roger Pack
Access is denied might mean run it again or make sure no other java processes are running that are related maybe eclipse has a hold on it? 2009/5/21 Adam Purkiss ajpurk...@hotmail.com: I have the following setup in a POM file during a transition phase between a massive ANT based project and

RE: maven-dependency-plugin odd behaviour

2009-05-21 Thread Mohan KR
Yup..seen that..be careful switching between CLI and m2eclipse..turn of Build Automatically when running CLI.. Thanks, mohan kr -Original Message- From: Adam Purkiss [mailto:ajpurk...@hotmail.com] Sent: Thursday, May 21, 2009 2:18 PM To: users@maven.apache.org Subject:

Re: About Maven 1.0.2

2009-05-21 Thread Arnaud HERITIER
You have probably a coorupted jar in your local repositoryYou can try to remove it. Arnaud On Thu, May 21, 2009 at 8:22 AM, Kerry Zhu houkun@gmail.com wrote: Hi, all. How to solve these problem? Could someone give me the reason? java:compile: [taskdef] [DEBUG] Finding class

Re: How to create many jars in package phase?

2009-05-21 Thread Oleg Taranenko
Jesfre, may be maven assembly plugin helps you? am Thursday, May 21, 2009 um 1:46 AM schrieben Sie: Hi everybody... I want to generate more than one .jar when executing mvn package in a module named common, this is necesary because many modules of the parent project use diferent packages

I18N of pom.xml description -- can it be done?

2009-05-21 Thread Trudy Cool
Hi I'm using -- mvn site --  to generate multilingual documentation of a project. The description tag in my pom.xml is used to supply the introductory text on the main page of the site, but it appears the same in the site_pt.xml and site_es.xml versions. Is there any way to override this and

How to create Hello World Projects using Maven for Spring, Hibernate, JPA, EJB, ActiveMQ?

2009-05-21 Thread siegfried
I'm using cygwin bash on XP. I'm trying to start a simple project as per the instructions at http://docs.codehaus.org/display/MAVENUSER/Archetypes+List. Did there used to be a lot longer list of archetypes? I have MAVEN_HOME defined correctly (I hope). This was pointing at my maven 1.0

maven antrun plugin issue with sending emails

2009-05-21 Thread Matt Milliss
I'm having problems getting the ant mail task working when running from the antrun plugin, the pom and ant build files I use to highlight this issue are below ?xml version=1.0 encoding=UTF-8? project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;

Re: I18N of pom.xml description -- can it be done?

2009-05-21 Thread Trudy Cool
Ignore the preceding please -- I just figured it out. I create an index.apt under an apt directory and it overrides the default.   - Original Message From: Trudy Cool trudy_c...@yahoo.com To: users@maven.apache.org Sent: Thursday, May 21, 2009 5:07:40 PM Subject: I18N of pom.xml

Re: mvn install for ear project

2009-05-21 Thread Wayne Fay
I am using maven 2 my project contains subprojectsear , war , and jar. here my project pom.xml I actually took your files and recreated your project (with no code obviously). I had to make an empty web.xml file in the WAR and tweak a dependency, but otherwise it all just worked. Here are

Re: maven antrun plugin issue with sending emails

2009-05-21 Thread Wayne Fay
If I run the ant script directly ie ant send-email-notification it works fine. I have the mail and activation jars in the ANT_HOME/lib directory. Maven does not use the Ant installed in ANT_HOME. Instead, it downloads its own copy of the Ant jars into the local repo cache under ~/.m2 and uses

Re: How to create Hello World Projects using Maven for Spring, Hibernate, JPA, EJB, ActiveMQ?

2009-05-21 Thread Wayne Fay
I found http://openejb.apache.org/examples.html and tried them and when they would not work, I posted in the ejb forum. But now that I see the results below, I'm wondering if it is a maven problem instead of a bad openejb example. 1. What results below? You didn't include anything in your

Re: maven-compiler-plugin unpacking dependencies into target/classes

2009-05-21 Thread Brian Fox
I would suspect the jdk compiler is doing this. On Wed, May 20, 2009 at 5:19 PM, Michael Guyver michael.guy...@gmail.comwrote: Hi Max, 2009/5/20 Max Bowsher m...@mxtelecom.com: Investigate the possibility that .java *source* files corresponding to those classes somehow exist in one of

RE: maven-dependency-plugin odd behaviour

2009-05-21 Thread Adam Purkiss
Thanks will give that a try. I tried a few things around that idea that did not seem to work but maybe that will address it. All else fails I will just CLI it anyway for doing builds. From: kmoh@gmail.com To: users@maven.apache.org Subject: RE:

Override dependency classes with another module's classes

2009-05-21 Thread Brendan Haverlock
Hi all, I've run into an issue with my dependencies in Maven: 1. I have a Module A that is overriding a few, but not all, classes from its Dependency C. 2. I have another Module B that is dependent on Module A, but also on the Dependency C. 3. Module B is getting compile errors because it is

How to Sync Specific Artifact from One Repository to Another

2009-05-21 Thread Rui Tang
Hello friends, I'm in trouble with the following problem: 1. In the ordinary software release, we always include our own jars and 3rd party jars in **lib** directory 2. After using maven, I have an idea that I want to release a tiny maven repository, containing self compiled jars and 3rd party

RE: How to create Hello World Projects using Maven for Spring, Hibernate, JPA, EJB, ActiveMQ?

2009-05-21 Thread siegfried
Ooops! Do I need to delete me repository? Sorry: here it is! bash-3.2$ mvn -e archetype:generate + Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'archetype'. [INFO]