Re: How can deploy artefacts without rebuilding project ?

2009-10-12 Thread boraldo
deploy:deploy-file deploys single file. I need to deploy all modules. MALICE wrote: > > This means that you have a non-standard packaging... I guess... > > Try deploy:deploy-file. Not the prefered solution (imo), but it should > work. > Oh, check the parameters it needs though! > > > On Mond

Maven meetup at the Swedish JUG

2009-10-12 Thread Anders Hammar
For any Swedes out there, there will be a Maven meetup on Nov 5 in Stockholm, Sweden. Jason van Zyl and Dennis Lundberg will be speaking: * Maven Reloaded (Jason) * Site creation with Maven (Dennis) * Next Generation Development Infrastructure (Jason) Detailed agenda and signing up: http://www.jav

How to display/transfer maven compilation errors/logs in Web page

2009-10-12 Thread harishsyndrome
Hello All Dignities, Is there any Api to show the compilation errors/warning in a web page. With MVC Architecture There is an Home page, a Controller, and a Service Method. The Service Method should return warnings/logs/errors thown my maven. Those errors should be displayed in a Web Page. An

Re: How to Invoke Maven inside Java Program

2009-10-12 Thread Jason van Zyl
An embedded form of Maven will not be ready for use until the 3.0 betas start. There is no ETA. Build from trunk if you want to try, it's not support until the betas so use at your own risk. On 2009-10-12, at 9:02 PM, harishsyndrome wrote: Hello LieGrue. Thanks for your Very timely reply.

Re: How to Invoke Maven inside Java Program

2009-10-12 Thread harishsyndrome
Hello LieGrue. Thanks for your Very timely reply. Am all set to work. But i cant find the Jar File for MavenExecutionResults. Even not found in maven repository. Some help again will be appreciated -- View this message in context: http://www.nabble.com/How-to-Invoke-Maven-inside-Java-Program

Re: How to Invoke Maven inside Java Program

2009-10-12 Thread harishsyndrome
Hello LieGrue. Thanks for your Very timely reply. Am all set to work. But i cant find the Jar File for MavenExecutionResults. Even not found in maven repository. Some help again will be appreciated -- View this message in context: http://www.nabble.com/How-to-Invoke-Maven-inside-Java-Program

release branch not working as expected

2009-10-12 Thread Matt Milliss
I'm having trouble getting the maven-release-plugin to work in a non-interactive way. I'm trying to create a branch with the version 09.20.01-SNAPSHOT from the trunk version 09.20.00-SNAPSHOT. I'm using the following command to branch manually, mvn release:branch -DbranchName=09.20.00_BRANCH -

Re: Surefire 2.5 release

2009-10-12 Thread Jason van Zyl
In this case it is not the mechanics of running the releases. With Surefire it's really a matter really taking a look at what's being tested. I know we try but incompatibilities have been known to slip in, or configuration changes. With unlocked plugin versions this potentially bites people

Re: Surefire 2.5 release

2009-10-12 Thread Stephen Connolly
I'll run a release if I can figure out how ;-) (I'm not sure if it is ready for a release, but I am a release early & often kind of guy... the only other thing I'd consider is merging the failsafe mojos into surefire) Sent from my [rhymes with tryPod] ;-) On 12 Oct 2009, at 23:52, Jason va

Re: Surefire 2.5 release

2009-10-12 Thread Jason van Zyl
That or just change the version and keep it in a repository not exposed to everyone else. We can easily make a repository for them in Nexus. On 2009-10-11, at 11:24 PM, Dan Tran wrote: Jason, I am not sure how Cayenne can cut its release with a private copy of surefire plugin. Checkin the

Re: maven goals and phases

2009-10-12 Thread Brett Porter
No, the phases are fixed so there's nothing POM-specific to question, and the goals are unlimited based on what plugins are available. As for which goals are mapped to the list of phases - that's more interesting, but not currently available to my knowledge. - Brett On 13/10/2009, at 9:31

maven goals and phases

2009-10-12 Thread 529pss
Hi all, Does anybody know if it is, somehow, possible to question maven for the available goals and phases for a given pom.xml? thanks - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mai

Re: Question on Building Applets

2009-10-12 Thread Brett Porter
http://maven.apache.org/plugins/maven-jarsigner-plugin/ On 13/10/2009, at 9:19 AM, anand sridhar wrote: Got it. !My next question was about how i can sign the jar created by shade. Do you have any suggestions. ? Thanks, Anand On Mon, Oct 12, 2009 at 2:57 PM, Brett Porter wrote: I presume

Re: Question on Building Applets

2009-10-12 Thread anand sridhar
I figured that using jar plugin can help sign the applet jar file. Thank you. On Mon, Oct 12, 2009 at 3:19 PM, anand sridhar wrote: > Got it. !My next question was about how i can sign the jar created by > shade. > Do you have any suggestions. ? > > Thanks, > Anand > > > On Mon, Oct 12, 2009 at 2

Re: Question on Building Applets

2009-10-12 Thread anand sridhar
Got it. !My next question was about how i can sign the jar created by shade. Do you have any suggestions. ? Thanks, Anand On Mon, Oct 12, 2009 at 2:57 PM, Brett Porter wrote: > I presume the applet is a subset of the code in your WAR, is that correct? > > If so, you should make it a separate mo

Re: Question on Building Applets

2009-10-12 Thread Brett Porter
I presume the applet is a subset of the code in your WAR, is that correct? If so, you should make it a separate module (Which is a JAR file) and include it in the web application. I'm guessing that will also remove the need for the shade plugin altogether. Here is an example: http://svn.a

Re: Question on Building Applets

2009-10-12 Thread anand sridhar
Hello Brett, It seems that the shade plugin just takes the packaging type of the pom.xml to create the shaded artifact. For eg, If i use the shade plugin in a pom that generates a war file, the shaded artifact is also a war file. Is there a way to specify I want a shaded jar file instead of a shade

Re: How can deploy artefacts without rebuilding project ?

2009-10-12 Thread Roland Asmann
This means that you have a non-standard packaging... I guess... Try deploy:deploy-file. Not the prefered solution (imo), but it should work. Oh, check the parameters it needs though! On Monday 12 October 2009 14:45, boraldo wrote: > deploy:deploy implies to > The packaging for this project did n

Maven mojo. Duplicated parameters.

2009-10-12 Thread Evgeny Morozov
Hi! I have ant script and want to write maven plugin, which could use this ant-logic. So, I've read tutorials, write some and I have now working maven plugin, which is doing what I need, but... If I need to add one more target to my ant script and one more mojo to maven I need to duplicate many o

Issue: Mvn changelog:changelog and changes:jira-report

2009-10-12 Thread MuraliHB
Hi, i have generate the subversion report using maven changelog:changelog and jira-report using maven changes:jira-report, i tried to send the subversion and jira-report separately but how can send the both generated report via mail, Second question like any possible way to send the attachment u

Re: How can deploy artefacts without rebuilding project ?

2009-10-12 Thread boraldo
deploy:deploy implies to The packaging for this project did not assign a file to the build artifact MALICE wrote: > > If the artifact still exists, try deploy:deploy. > > > On Monday 12 October 2009 12:54, boraldo wrote: >> I want to build in 2 steps. >> 1. install >> 2. deploy >> >> But if

Mevan problem with ubuntu

2009-10-12 Thread nani2ratna
HI Everybody, is there any body using maven in Ubuntu. I have installed maven it went fine. I have also installed m2eclipse plugin. But if I want to create a project from Nexus repository list, its not showing anything in the list. It showing the following error message. " No archetypes curren

Re: Slow maven compile after upgrading JDK from 1.5 to 1.6

2009-10-12 Thread Arnaud HERITIER
Yes I don't understand how we can find such a problem which isn't yet fix by SUN :-( Cheers, Arnaud # Arnaud Héritier # Software Factory Manager # eXo Platform # http://www.exoplatform.com # http://blog.aheritier.net On Mon, Oct 12, 2009 at 1:02 PM, j_ri wrote: > > > It's really sad that SU

Re: How to Invoke Maven inside Java Program

2009-10-12 Thread Mark Struberg
have you looked at the maven-embedder [1]? LieGrue, strub [1] http://maven.apache.org/guides/mini/guide-embedding-m2.html --- On Mon, 10/12/09, harishsyndrome wrote: > From: harishsyndrome > Subject: How to Invoke Maven inside Java Program > To: users@maven.apache.org > Date: Monday, Octobe

How to Invoke Maven inside Java Program

2009-10-12 Thread harishsyndrome
Is there any launcher or API kind of thing to invoke maven inside a java program. In Ant I can invoke ant task using Ant Launcher Launcher.main(String[]); Is there any thing similar to that for maven. I desperately need that. Thankyou. -- View this message in context: http://www.nabble.com

Re: How can deploy artefacts without rebuilding project ?

2009-10-12 Thread Roland Asmann
If the artifact still exists, try deploy:deploy. On Monday 12 October 2009 12:54, boraldo wrote: > I want to build in 2 steps. > 1. install > 2. deploy > > But if I execute mvn deploy, it executes install phase again. > If I execute mvn deploy:mvn deploy, error occurs: > > The packaging for this

Re: Slow maven compile after upgrading JDK from 1.5 to 1.6

2009-10-12 Thread j_ri
It's really sad that SUN hasn't fixed this yet;-( I wonder that there are not more people are affected by this issue. Actually everybody who uses build tools like Maven should have slower compile times. Our workaround is, that our build isn't generating the class-path entry in the manifest any

How can deploy artefacts without rebuilding project ?

2009-10-12 Thread boraldo
I want to build in 2 steps. 1. install 2. deploy But if I execute mvn deploy, it executes install phase again. If I execute mvn deploy:mvn deploy, error occurs: The packaging for this project did not assign a file to the build artifact How can I fix it ? -- View this message in context: http:

Re: Slow maven compile after upgrading JDK from 1.5 to 1.6

2009-10-12 Thread Arnaud HERITIER
We are facing the same issue actually ( https://jira.jboss.org/jira/browse/GTNPORTAL-27) and several months after the issues was reported to SUN it is not yet fixed in JDK :-( Please vote for it : http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6843751 Nobody found a workaround ? Arnaud On M

AW: Versions plugin and metadata

2009-10-12 Thread Lewis, Eric
It turns out that the metadata was wrong in Nexus and copied over to the local repo. Just if anyone else has this problem... Best regards, Eric > -Ursprüngliche Nachricht- > Von: Lewis, Eric [mailto:eric.le...@ipi.ch] > Gesendet: Mittwoch, 7. Oktober 2009 17:19 > An: Maven Users List >

Re: How to avoid multiple spring versions?

2009-10-12 Thread Wim Deblauwe
I know, but in this case, the artifactId is not exactly the same. We use 'spring' which includes everything and others might use 'spring-core' or 'spring-beans' or things like that. regards, Wim 2009/10/12 Jeff MAURY > This is normally handled by Maven. > If you pom has a dependency on spring

Re: How to avoid multiple spring versions?

2009-10-12 Thread Jeff MAURY
This is normally handled by Maven. If you pom has a dependency on spring 2.5.6 and another dependency that has a dependency on Spring 2.5.5, the Maven will use Spring 2.5.6 when building your pom. Jeff MAURY On Mon, Oct 12, 2009 at 10:35 AM, Wim Deblauwe wrote: > Hi, > > we are using the spring

How to avoid multiple spring versions?

2009-10-12 Thread Wim Deblauwe
Hi, we are using the spring framework ourselves and use the following dependency: org.springframework spring 2.5.6 Some of our dependencies also depend on the spring framework, but not the same version: [INFO] +- org.apac

Re: Excluding a directory with subdirectories in assembly plugin

2009-10-12 Thread Wim Deblauwe
Thanks, webapps/root/** is what I needed, I don't mind to have the root dir itself, since I need to place something else there anyway. regards, Wim 2009/10/9 Stephen Connolly > 2009/10/9 Wim Deblauwe > > > Hi, > > > > I have an assembly descriptor with the following: > > > > > > .. > >

Question on Building Applets

2009-10-12 Thread anand sridhar
Hi, Im pretty sure my issue is a common scenario across maven projects. Here is my scenario - I have a web maven project with a number of dependencies. My project demands the user of an applet that has a number of dependencies. So, In addition to building my project, I also need to build my applet