Re: copy\move plugin

2009-07-22 Thread Dan Tran
plugin is a plugin, as long as it can do the job. Doubt you can find another one to do that job. -D On Wed, Jul 22, 2009 at 11:31 PM, Alexander wrote: > Hello, > > I knew about that plugin, but thanks anyway. With that plugin I could > emulate so many maven plugins, you know.. But I'm trying to

Re: copy\move plugin

2009-07-22 Thread Alexander
Hello, I knew about that plugin, but thanks anyway. With that plugin I could emulate so many maven plugins, you know.. But I'm trying to move to maven from ant and wondering if I could use some maven kung-fu. 2009/7/23 Dan Tran > maven-antrun-plugin? > > > > On Wed, Jul 22, 2009 at 11:24 PM, Al

Re: copy\move plugin

2009-07-22 Thread Dan Tran
maven-antrun-plugin? On Wed, Jul 22, 2009 at 11:24 PM, Alexander wrote: > Hello all, > > Does maven have any plugin that provides simple task as copy\move files? > Sure, I could invoke ant task but really want to do all in *maven style. *I > need to juggle with files a little. * > * > -

copy\move plugin

2009-07-22 Thread Alexander
Hello all, Does maven have any plugin that provides simple task as copy\move files? Sure, I could invoke ant task but really want to do all in *maven style. *I need to juggle with files a little. * *

Re: maven scala plugin troubles -- scalac compiler plugin

2009-07-22 Thread Josh Suereth
It's used in several locations. Anyway, your fix is committed on the master. I'm working on adding support for transitive dependencies now. - Josh On Wed, Jul 22, 2009 at 10:49 PM, Nicholas Tung wrote: > On Wed, Jul 22, 2009 at 7:00 PM, Josh Suereth wrote: > >> Hey, I just go this email. I'l

Re: maven scala plugin troubles -- scalac compiler plugin

2009-07-22 Thread Nicholas Tung
On Wed, Jul 22, 2009 at 7:00 PM, Josh Suereth wrote: > Hey, I just go this email. I'll make the patch and commit shortly. Thanks > for the submission! > > There's still some mismatch since we re-built the scala-tools.org server, > so the maven-scala-plugin nightlies are not getting published. I

Re: quick question: set version for deploy

2009-07-22 Thread David Hoffer
Yeah, I too highly recommend the release plugin. It is ideal for going from snapshots to a final veresion. I can't amagine doing it all manually. Dave Hoffer - sent via G1 On Jul 22, 2009 8:06 PM, "David C. Hicks" wrote: The version is normally bumped by the maven-release-plugin. The typical

Re: quick question: set version for deploy

2009-07-22 Thread David C. Hicks
The version is normally bumped by the maven-release-plugin. The typical release process would look like: mvn release:prepare mvn release:perform In general, the whole process does several things: change the version from SNAPSHOT to a release form, build your code to make sure it will build and

Re: maven scala plugin troubles -- scalac compiler plugin

2009-07-22 Thread Josh Suereth
Hey, I just go this email. I'll make the patch and commit shortly. Thanks for the submission! There's still some mismatch since we re-built the scala-tools.org server, so the maven-scala-plugin nightlies are not getting published. I'm going to try to resolve that shortly. - Josh On Wed, Jul 2

quick question: set version for deploy

2009-07-22 Thread Nicholas Tung
Hi all, Is there a way to set the version for the "mvn deploy" command? I tried -Dversion=, and -Dproject.version=, and that didn't do anything. Alternately (maybe even better), is there a command line to bump [set] the version number in a project and all modules? I see there is the versions pl

quick question: remove .timestamp on "mvn clean"

2009-07-22 Thread Nicholas Tung
Hi all, Does anyone know how to remove the .timestamp on "mvn clean"? If I don't, it doesn't rebuild Scala files. thanks, Nicholas https://ntung.com

Re: Release-Plugin remote- Tagging

2009-07-22 Thread Stefan Hübner
OK, I wasn't aware of this new remoteTagging-Feature. sounds helpful, though. "Todd Thiessen" writes: > Your initial thoughts regarding what remoteTagging does is correct. ie: > the tag is created from the remote scm version, not from your checkout. > > --- > Todd Thiessen > > >> > >> > 2009/7

Re: Release-Plugin remote- Tagging

2009-07-22 Thread Danny Schimke
Ahh, ok! Thanks Todd! Thats what I wanted to know! Thanks to Stefan too! -Danny Schimke 2009/7/22 Todd Thiessen > Your initial thoughts regarding what remoteTagging does is correct. ie: > the tag is created from the remote scm version, not from your checkout. > > --- > Todd Thiessen > > > > > >

RE: Release-Plugin remote- Tagging

2009-07-22 Thread Todd Thiessen
Your initial thoughts regarding what remoteTagging does is correct. ie: the tag is created from the remote scm version, not from your checkout. --- Todd Thiessen > > > > 2009/7/16 Danny Schimke : > > > Does remote- Tagging meant, that the (SVN-) Trunk- > version is used > > > for prepare / pe

Re: Release-Plugin remote- Tagging

2009-07-22 Thread Danny Schimke
Hello Stefan! Yeah, I knew, that the release is based on the working copy, which have to be "clean". We've had a bugusing the release plugin (look at http://jira.codehaus.org/browse/SCM-406) On http://maven.apache.org/plugins/maven-release-plugin/prepare-mojo.htmlthere is a "remoteTagging" parramet

Re: maven scala plugin troubles -- scalac compiler plugin

2009-07-22 Thread Nicholas Tung
The problem is that my scala plugin project has additional dependencies. These are added to pluginClassPath, but then you only add the first element from pluginClassPath (why the first? this seems a bit arbitrary). If you wouldn't mind fixing this (in github master), I'd appreciate it very much. I

Issues with maven jar plugin and artifact naming

2009-07-22 Thread Larry Suto
- <#> Hi I am building a jar and a war in in the same pom and having some naming issues. I have a separate execution for the jar plugin so the jar is generated in addition to the war. When I run mvn install the produced jar gets renamed to IPEsvc-2.4-agent.jar. I would like it to actuall

Re: is there a way to run junit to display method names on success?

2009-07-22 Thread Roger Pack
> I'm kind of at a loss as to how to make junit a little more verbose > (sorry to ask a question not specifically maven related, but I hoped > someone might have a clue). i'm looking for an output like > running test a: success > running test b: success > that type of thing. Looks like System.out

Re: Source dependency problem between ejb-jar and gwt-war

2009-07-22 Thread nicolas de loof
The plugin has a resource goal that can detect the necessary gwt source code to include (based on gtw.xml module file), and avoid your jar to contain ALL server-side code 2009/7/22 Rutton >Hi, > > nicolas de loof wrote: > > A gwt lib MUST include the sources and a a gwt.xml module descriptor

Re: maven scala plugin troubles -- scalac compiler plugin

2009-07-22 Thread Josh Suereth
Does your scalac plugin depend on any other plugins? If you can point me towards a repository holding your scalac plugin, I can create an integration test for this use case. I'm adding it to the list of known issues. - Josh On Wed, Jul 22, 2009 at 2:43 AM, Nicholas Tung wrote: > Hi David and J

RE: Putting instrumented classes on the classpath

2009-07-22 Thread Mohan KR
np..I will have to reword that, it will redirect the project.build.outputDirectory from target/classes to target/generated-classes/cobertura. If the plugins are doing the correct thing when constructing the classpath, they should use the property "project.build.outputDirectory". Thanks, mohan kr

Re: Source dependency problem between ejb-jar and gwt-war

2009-07-22 Thread Rutton
Hi, nicolas de loof wrote: > A gwt lib MUST include the sources and a a gwt.xml module descriptor > Any hack of using some java sources from another project just for > convenience is ... just a hack ! > I am of course not just using the java sources. The generated jar-file *contains* the gw

Re: Source dependency problem between ejb-jar and gwt-war

2009-07-22 Thread nicolas de loof
A gwt lib MUST include the sources and a a gwt.xml module descriptor Any hack of using some java sources from another project just for convenience is ... just a hack ! 2009/7/22 Rutton >Hello, > I ran into a difficulty with compiling and/or packaging a > gwt/remoting/ejb application for jbo

Re: Define a special JDK for compilation

2009-07-22 Thread Roman Kournjaev
Thanks!! I forgot the compilation-plugin !! On Wed, Jul 22, 2009 at 4:42 PM, Jonathan Woods < jonathan.wo...@scintillance.com> wrote: > Assuming you mean you want to specify a particular javac for Maven to use > when compiling code... compilation is carried out (by default) by the Maven > compi

Source dependency problem between ejb-jar and gwt-war

2009-07-22 Thread Rutton
Hello, I ran into a difficulty with compiling and/or packaging a gwt/remoting/ejb application for jboss. What I have is the following: A main project (pom) - a subproject "jar" (java-server code packaged into an ejb-jar) - a subproject "war" (gwt-generated code, packaged into

RE: Define a special JDK for compilation

2009-07-22 Thread Jonathan Woods
Assuming you mean you want to specify a particular javac for Maven to use when compiling code... compilation is carried out (by default) by the Maven compiler plugin, so it's this you need to configure. Details on configuring it to use a specific JDK are given here: http://maven.apache.org/plugin

RE: Putting instrumented classes on the classpath

2009-07-22 Thread lvdpal
Thanks, this at least gives me a hint where to start looking. mkr wrote: > > You have to give more information? I have looked at the thread..but if > you > were using > the cobertura-maven-plugin and just have the "intstrument" goal, it *WILL* > put the > instrumented classes in the classpath

RE: Putting instrumented classes on the classpath

2009-07-22 Thread Mohan KR
You have to give more information? I have looked at the thread..but if you were using the cobertura-maven-plugin and just have the "intstrument" goal, it *WILL* put the instrumented classes in the classpath. (i.e. classes/* will be redirected to generated-classes/*). Since plugin ordering varies

Define a special JDK for compilation

2009-07-22 Thread Roman Kournjaev
Hi Guys Do you know where do i adjust the JDK for maven specially ? I know that maven takes the JAVA_HOME as a default, but i have a problem with that , i want it to take a special javac from some other JDK. Thanks Roman

Fwd: Application Period for Travel Assistance to ApacheCon US 2009 Opens Soon

2009-07-22 Thread Vincent Siveton
The Travel Assistance Committee is taking in applications for those wanting to attend ApacheCon US 2009 (Oakland) which takes place between the 2nd and 6th November 2009. The Travel Assistance Committee is looking for people who would like to be able to attend ApacheCon US 2009 who may need some f

Re: Excluding Build Resources Within POM File

2009-07-22 Thread Gadbury
Thank you Jon for the clarification. For reference, here's what I did to get it working (excludes three packages and a source file): myWebApp org.apache.maven.plugins

RE: Excluding Build Resources Within POM File

2009-07-22 Thread Jonathan Woods
This should do the trick: http://www.mailinglistarchive.com/users@maven.apache.org/msg21096.html In other words, you need to supply the Maven compiler plugin with the appropriate configuration. The build/resources node you configured corresponds to resources per se, i.e. not to Java sources. J

Excluding Build Resources Within POM File

2009-07-22 Thread Gadbury
Hi all, I am temporarily trying to exclude various packages and source files from my web-app's build process. I first tried in Eclipse: right click package/file > build path > exclude. That doesn't work. I then tried adding build resources excludes to my POM. Unfortunately, despite trying a c

RE: the nexus repositories only show .index and .meta

2009-07-22 Thread ykyuen
Jonathan Woods wrote: > > Perhaps you need to tell Maven how to get to your proxy: > > http://maven.apache.org/guides/mini/guide-proxies.html > > Jon > i did set it the proxy in the settings.xml too... both /etc/maven2/settings.xml and the /home/user/.m2/settings.xml Regards, Kit -- View

RE: the nexus repositories only show .index and .meta

2009-07-22 Thread Jonathan Woods
Perhaps you need to tell Maven how to get to your proxy: http://maven.apache.org/guides/mini/guide-proxies.html Jon > -Original Message- > From: ykyuen [mailto:yingkity...@gmail.com] > Sent: 22 July 2009 05:53 > To: users@maven.apache.org > Subject: RE: the nexus repositories only show

RE: Putting instrumented classes on the classpath

2009-07-22 Thread lvdpal
Because I'm still looking for a solution to this prolem. It's such a shame to use Sonar when having tests and not getting any code coverage. lvdpal wrote: > > Nobody else has any ideas? > -- View this message in context: http://www.nabble.com/Putting-instrumented-classes-on-the-classpath-tp

Re: help with maven-dependency-plugin

2009-07-22 Thread Thomas Scheffler
Am Mittwoch 22 Juli 2009 09:13:49 schrieb Nicholas Tung: > 2009/7/21 Thomas Scheffler > > > Hi, > > > > I am using the maven-dependency-plugin to build a big jar file out of > > direct > > dependencies (code below). If that big jar file is a dependency of > > another project all direct dependencie

Re: help with maven-dependency-plugin

2009-07-22 Thread Nicholas Tung
2009/7/21 Thomas Scheffler > Hi, > > I am using the maven-dependency-plugin to build a big jar file out of > direct > dependencies (code below). If that big jar file is a dependency of another > project all direct dependencies are also copied over. I just want to copy > the > transitive dependenc