Re: release:prepare without user intervention

2006-11-18 Thread Dan Tran
mvn release:prepare -B On 11/17/06, Lara Brian <[EMAIL PROTECTED]> wrote: I am new to Maven and just started playing with the plugins. I have a question, right now when i run "mvn release:prepare" it asks for user input. Is it possible to run the same command and instead of waiting for me to an

Re: be sensitive to every change?

2006-11-18 Thread jiangshachina
Dear Wayne, > In general, you will find that Maven is not > entirely developer-time friendly, imo. In your opinion, JBoss can fulfil the requirement, but Maven blocks me something? a cup of Java, cheers! Sha Jiang Wayne Fay wrote: > > You haven't gotten any responses because its a complicated

Re: build war for jboss, exclude log4j

2006-11-18 Thread Chris Michiels
Hi Chris, Simple, just use : log4j log4j 1.2.9 provided Chris 2006/11/18, Christofer Jennings <[EMAIL PROTECTED]>: Hi All, How can I exclude log4j stuff from a war? The log4j stuff is conflicting with jboss. Thanks! ,chris -

integration-test triggering additional rebuild / reload

2006-11-18 Thread Nathan Coast
Hi, apologies but if this is a bit of a newbie question I have an aggregator project. ../i18n-model ../i18n-admin ../i18n-client-jar ../i18n-client ../i18n-struts-demo ../i18n-jstl-demo when running on unmodified projects: aggregat

Re: assembly permutations

2006-11-18 Thread flyboy
John, Thanks. The functionality of 2.2-SNAPSHOT appears to have what I could use: point the assembly plugin at a set of assembly descriptors, each containing a different assembly permutation. I guess this would generate a distinct assembly for each descriptor. Hopefully, this functionality is

How do I include base tests classes in main JAR

2006-11-18 Thread mraible
We're experiencing the following issue in AppFuse's migration to Maven 2: http://issues.appfuse.org/browse/APF-478 For each artifact we're creating, we'd like to include the BaseTestCase class from that project's test module. It looks like other folks are interested in doing this as well: http

Re: assembly permutations

2006-11-18 Thread flyboy
Lee, Thanks. OK. I see that the idea of using a command line parameter to specify the assembly-descriptor is not a 'best' or 'good' practice. Regards, John Lee Meador-3 wrote: > > A more "maveny" way IMHO would have a project for each thing you are > trying > to build. That would include

Re: Has anyone been able to get the java2wsdl plugin to work?

2006-11-18 Thread Jochen Wiedmann
On 11/18/06, Eric Helfrich <[EMAIL PROTECTED]> wrote: sorry - -stupid me -- the maven 2 axis 2 plugin. Serves me right for trying to get something real accomplished in an otherwise BS day If so, I am the one to respond. Could you please provide more details, preferrably by filing a bug at htt

Re: How do I include base tests classes in main JAR

2006-11-18 Thread Tom Huybrechts
You could add the test class to the main source, and make your junit dependency optional, so it should not be included in transitive dependencies. Or you could distribute a separate test-jar with your project, and have people depend on this if they need your base test classes. See http://maven.ap

Re: Sign a different jar using jar:sign

2006-11-18 Thread Tom Huybrechts
My guess: the jarpath allows you to specify the output jar. The input is always the project artifact. Without jarpath it is signed in place. Tom On 11/17/06, Wim Deblauwe <[EMAIL PROTECTED]> wrote: 2nd try 2006/11/15, Wim Deblauwe <[EMAIL PROTECTED]>: > > Hi, > > according to the documen

Re: How do I include base tests classes in main JAR

2006-11-18 Thread Wendy Smoak
On 11/18/06, mraible <[EMAIL PROTECTED]> wrote: The easiest way to do this seems to be to put the class in my "source" tree, but then I have to add JUnit as a "compile" dependency and JUnit will end up in any WARs that are created. Seems simple enough, but the extra JAR in the WAR seems ugly.

Re: Classifier documentation?

2006-11-18 Thread Tom Huybrechts
I can't find any documentation either, but it's not that complicated. Classifiers are used to attach additional artifacts to your project. The main artifact file is called artifactId-version.type, and attached artifacts are called artifactId-version-classifier.type Typical classifiers are sources,

Re: What's the easiest way to deploy an existing project to a different server?

2006-11-18 Thread Tom Huybrechts
Use an alternate deployment repository: mvn deploy -DaltDeploymentRepository=myrepo::default::myurl See http://maven.apache.org/plugins/maven-deploy-plugin/deploy-mojo.html On 11/17/06, Josh Long <[EMAIL PROTECTED]> wrote: I wuld like to deploy an open source project that publishes dependencie

Re: be sensitive to every change?

2006-11-18 Thread Wayne Fay
Maven likes source files in src/main/webapp (HTML, JSP, etc) and src/main/java (Java source). Then it compiles the Java and optionally compiles the JSP into target. So you can point JBoss at your target directory but then you'll need to run a mvn compile step prior to seeing the newly updated fil

Re: [m2] Maven 2 Intergration for Intellij IDEA

2006-11-18 Thread Adam Lewis
My coworker authored this plugin: http://plugins.intellij.net/plugin/?id=1223 It uses the pom to build the project classpath and such. It seems complimentary to the plugin linked earlier in this thread. Adam On 17/11/06, Mick Knutson <[EMAIL PROTECTED]> wrote: Awesome. But just go into your

Native libraries handling (SWT)

2006-11-18 Thread Roman Kalukiewicz
Hi! I am a newbie in maven world, so maybe my question is very simple, but after few days of searching a was unable to find an answer. In common maven repository there are SWT libraries. SWT uses JNI and needs native libraries to work. Unfortunately in common repository those libraries are not

Re: EJB Bundle workaround for Maven 2

2006-11-18 Thread diroussel
use the ear plugin? http://maven.apache.org/plugins/maven-ear-plugin/ Zeitlin, Michael wrote: > > I found out that the ejb plugin for maven 2 does not allow you to bundle > jars within the EJB like in maven 1. > > > > http://jira.codehaus.org/browse/MEJB-3 > > > > Does anyone know of a

Maven should complain about invalid scopes

2006-11-18 Thread Wendy Smoak
More than one person has been caught out by: optional (Optional isn't a scope, it's a separate element.) I tried it with 2.0.4, and the 2.0.5 and 2.1 snapshots. None of them reports the error, you just get compilation failures because the dependency doesn't make it into the classpath. Wit

Re: mevenide vs. m2eclipse?

2006-11-18 Thread Steinar Bang
> Andrés <[EMAIL PROTECTED]>: > Martin, which features will it have?, why do you think it'll be > better than m2eclipse? One thing I can think of, is a POM editor. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: mevenide vs. m2eclipse?

2006-11-18 Thread jiangshachina
Hi, I ever used m2eclipse, but it doesn't work well. And it sounds that mevenide doesn't support Mavan2. Then I don't use any Eclipse plugin for Maven currently. I just set mvn.bat as serveral Eclipse external tools. Each tool corresponds with some arguments(e.g. "compile", "clean package", "clea

Re: jboss:deploy Issue

2006-11-18 Thread jiangshachina
Hi guys, I wish any one can give me some responds about my problems. However, I can use harddeploy to deploy(exactly, copy war file to JBoss deploy directory) web application, but I wish to understand more about the plugin and goal jboss:deploy, parameter deployUrlPath. Thanks very much! a cup of

Re: Classifier documentation?

2006-11-18 Thread Wim Deblauwe
Yes, I know and also when a library has a 1.4 and a 1.5 java version (like TestNG). I justed wanted to point the Glazedlists developers to this possibility, but I couldn't find the documentation on that. Is there a JIRA for documentation issues? regards, Wim 2006/11/18, Tom Huybrechts <[EMAIL P