Re: Build RCP application with Maven

2009-02-13 Thread Konstantin Domoratskyy
Hi, it works with Tycho. But Tycho configuration isn't trivial. E.g. all dependencies should be declared in MANIFEST-file not in "pom". See more in http://docs.codehaus.org/display/M2ECLIPSE/Tycho+project+overview Best regards, Konstantin --- > Hi all, > > I would like to know if

Re: executing maven-exec-plugin twice doesn't seem to work

2009-02-13 Thread klimane
Yes, I had read that before. I guess I was hoping that something had changed since then. For now it looks like we can bind the first one to an earlier phase to guarantee the order. Also, my other question has been resolved. The plugin was running properly - there was some funny stuff happening

Re: 3rd Party Library reporting

2009-02-13 Thread Kalle Korhonen
Yes, the dependency report of the latest project-info-reports plugin does this.. see example of the plugin's own dependency report: http://maven.apache.org/plugins/maven-project-info-reports-plugin/dependencies.html(the sample they have up is old) Kalle On Fri, Feb 13, 2009 at 1:57 PM, Peter Kahn

3rd Party Library reporting

2009-02-13 Thread Peter Kahn
Can maven produce a licensing report for the site with license and version info for all dependencies (direct and indirect) of a complex project? Every year I need to capture the dependency information and license types for all jars included with our product. Right now, it means looking into all o

Re: Diffrend behavior mvn clean site between M 2.0.9 and M 2.1-SNAPSHOT

2009-02-13 Thread Wayne Fay
> when i run mvn clean site with M 2.0.9 everything goes well as expected. > However when i do the same with M 2.1-SNAPSHOT it cant find a dependency on > the maven repository. I looked it up my self and the dependency is there. As I said in my other response to you, 2.1-SNAPSHOT is pretty much th

Re: slightly [ot] Help setting up a MAC for Maven

2009-02-13 Thread Trevor Harmon
On Feb 12, 2009, at 5:31 PM, Mick Knutson wrote: I am used to configuring Windows and Linux as a developer machine. But want to setup a mac now. And I am finding it tough to add maven 2.0.9 along with MAVEN_HOME, as well as a newer JDK 6 and JAVA_HOME so I can run command line builds on a

Re: slightly [ot] Help setting up a MAC for Maven

2009-02-13 Thread Trevor Harmon
On Feb 12, 2009, at 5:50 PM, David C. Hicks wrote: As far as I know, there is no Java6 for Mac, yet. There is, but the Apple-provided one is only for 64-bit Intel machines running Leopard. An alternative is SoyLatte: http://landonf.bikemonkey.org/static/soylatte/ Trevor

Re: executing maven-exec-plugin twice doesn't seem to work

2009-02-13 Thread Trevor Harmon
On Feb 12, 2009, at 3:42 PM, klimane wrote: I am trying to get a maven-exec-plugin to run two different main programs in a particular order within the same build. Have you looked at this? http://article.gmane.org/gmane.comp.java.maven-plugins.mojo.user/1307 Trevor ---

Multi module site deploy using file

2009-02-13 Thread Randall Fidler
Hello, I have a multi-module project that seemed to deploy fine with SCP but not with FILE. Inside settings.xml I've got a var which points to the local directory where the site files should be deployed to and things work fine for the parent but not the child. Parent (1.0_SNAPS

Re: Axis2 wsdl2code Plugin Help!

2009-02-13 Thread Stephen Connolly
when you invoke a phase, maven invokes all the phases, in the lifecycle to which the phase belongs, up to and including the phase you specified you are invoking the clean phase, which is part of the clean lifecycle, so maven will invoke all the mojos attached to the pre- clean phase, and t

Re: Who can explain me this warning ?

2009-02-13 Thread Wayne Fay
> when i execute mvn clean site (with 2.1-SNAPSHOT) i get this warning (i > don't get it with 2.0.9): You're running a "bleeding edge" version of Maven. Expect to see some errors... This warning means that the MPIR plugin needs some adjusting before Maven 2.1 is released as final. Wayne ---

RE: Axis2 wsdl2code Plugin Help!

2009-02-13 Thread Kevin Witten
From the maven documentation http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html#Lifecycle_Reference My understanding of the maven clean lifecycle is that the following phases will be run in order when you perform a "mvn clean" pre-clean clean po

Re: src/main/resources and hardcoded paths

2009-02-13 Thread Stephen Connolly
load the resources through the classloader Sent from my [rhymes with myPod] ;-) On 13 Feb 2009, at 17:30, Costin Caraivan wrote: Hello, This will be a newbie question, regarding resource relocation at build time. It goes like this: I code something, that maybe loads some .properties and

Re: src/main/resources and hardcoded paths

2009-02-13 Thread Costin Caraivan
Mick Knutson-4 wrote: > > You mean like: > > classpath:someresource.properties > --- > Thank You… > > Mick Knutson, President > > On Fri, Feb 13, 2009 at 12:30 PM, Costin Caraivan > wrote: >> Hello, >> >> This will be a newbie question, regarding resource relocation at build >> time. >> It go

Re: src/main/resources and hardcoded paths

2009-02-13 Thread Mick Knutson
You mean like: classpath:someresource.properties --- Thank You… Mick Knutson, President 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

src/main/resources and hardcoded paths

2009-02-13 Thread Costin Caraivan
Hello, This will be a newbie question, regarding resource relocation at build time. It goes like this: I code something, that maybe loads some .properties and some images. I need the paths to those files, so I hardcode them. Maybe I even use another .properties file to load these paths at runtime

Build RCP application with Maven

2009-02-13 Thread Julien HENRY
Hi all, I would like to know if someone already build an Eclipse RCP application with Maven. Thanks for your feedbacks. Julien __ Ne pleurez pas si votre Webmail ferme ! Récupérez votre his

Re: Velocity chokes on ${not empty user}

2009-02-13 Thread Blake Martin
Ah, I used $dollar instead of ${dollar}. It works now. Thank you, Wendy! On Fri, Feb 13, 2009 at 9:57 AM, Wendy Smoak wrote: > On Fri, Feb 13, 2009 at 7:42 AM, Blake Martin > wrote: > > I'm attempting to create an archetype. > > One of my JSP's contains the following el expression: ${not empty

Re: Velocity chokes on ${not empty user}

2009-02-13 Thread Blake Martin
OK, my el expression in my JSP now looks like: $dollar{not empty user} And for the first line of pom.xml in archetype-resources, I have: #set($dollar = '$') The process blows up with the same exact error message. On Fri, Feb 13, 2009 at 9:57 AM, Wendy Smoak wrote: > On Fri, Feb 13, 2009 at 7:4

Who can explain me this warning ?

2009-02-13 Thread kukudas
hi, when i execute mvn clean site (with 2.1-SNAPSHOT) i get this warning (i don't get it with 2.0.9): DEPRECATED: Binding aggregator mojos to lifecycle phases in the POM is considered dangerous. This feature has been deprecated. Please adjust your POM files accordingly. Offending mojo: org.apa

Re: Velocity chokes on ${not empty user}

2009-02-13 Thread Wendy Smoak
On Fri, Feb 13, 2009 at 7:42 AM, Blake Martin wrote: > I'm attempting to create an archetype. > One of my JSP's contains the following el expression: ${not empty user} > I tried escaping the $, but Velocity chokes anyways. > Any ideas? There's a HOWTO about escaping variables in archetype templat

Velocity chokes on ${not empty user}

2009-02-13 Thread Blake Martin
I'm attempting to create an archetype. One of my JSP's contains the following el expression: ${not empty user} I tried escaping the $, but Velocity chokes anyways. Any ideas?

Re: Prototype file name in archtype

2009-02-13 Thread jmaxwell
Just did this on a project yesterday You can find details in this issue: http://jira.codehaus.org/browse/ARCHETYPE-191?focusedCommentId=152337&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_152337 rina_ wrote: > > Hello, > > I'm trying to create a template for m

mvn jetty home?

2009-02-13 Thread Lee Goddard
Could someone please point me to the Maven Jetty home and/or help me istall it? http://mojo.codehaus.org/jetty-maven-plugin/index.html says little, but when I follow those few instructions, I get the below error. Also,it refers to the deprecated "m2" command - is Jetty alive and well or should I

RE: Tomcat, Ant and Maven (Was POM Best Practice? Tomcat, svn wc, and dists)

2009-02-13 Thread Lee Goddard
> have a look at the jetty:run and tomcat:run mojos... these > will package up the war files into a directory, start a jetty > or tomcat container respectively and serve the webapp in > place, The jetty one supports scanning of the source files > and automatic reloading of the webapp... I th

Re: mvn eclipse:eclipse not adding source directories

2009-02-13 Thread Josh Suereth
Thanks for the answer! I'll notify the users. Anyway to integrate the eclipse + scala plugins directly? On Fri, Feb 13, 2009 at 4:44 AM, Dirk Olmes wrote: > Josh Suereth wrote: > > Hey guys, > > > > I'm trying to better integrate the maven-eclipse-plugin with the > > maven-scala-plugin. Is t

Maven-plugin-plugin reports...

2009-02-13 Thread Marvin Froeder
Hi Folks, I'm playing a bit with maven-plugin-plugin report (org.apache.maven.plugin.plugin.PluginReport). I was able to adapt it to produce goals overview page into confluence format. Now, I wanna do the same with the page containing the goal configuration. But, I was not able to figure out wh

Re: Uneditable parameter: filters upgrading to 2.1-SNAPSHOT

2009-02-13 Thread Milos Kleint
use netbeans 6.5 and use the command line execution within netbeans. The embedded builds are broken on many levels and since 6.5 they are only used as backup if no maven binaries are found on your PATH. Milos On Thu, Feb 12, 2009 at 10:50 AM, Madeye wrote: > > I have a Maven project (pom.xml bel

Diffrend behavior mvn clean site between M 2.0.9 and M 2.1-SNAPSHOT

2009-02-13 Thread kukudas
hi, when i run mvn clean site with M 2.0.9 everything goes well as expected. However when i do the same with M 2.1-SNAPSHOT it cant find a dependency on the maven repository. I looked it up my self and the dependency is there. Somebody expierinced anything alike? thx kukudas -- View this messa

how to Maven configure with oracle ESB and BEPL

2009-02-13 Thread SRINIVASA RAO
Hi All,   I am facing on problem with Maven. I need to configure the Maven with oracle ESB and BEPL projects. If any body have experience/ any articles  with them ,please give me .  It will be very good help to me   regards, Srinivas

Re: Tomcat, Ant and Maven (Was POM Best Practice? Tomcat, svn wc, and dists)

2009-02-13 Thread Stephen Connolly
have a look at the jetty:run and tomcat:run mojos... these will package up the war files into a directory, start a jetty or tomcat container respectively and serve the webapp in place, The jetty one supports scanning of the source files and automatic reloading of the webapp... I think the tomcat o

Re: Need Help From Maven Integration

2009-02-13 Thread N D
yeah...i think there is also a pdf download available for it.. On Fri, Feb 13, 2009 at 1:17 PM, David C. Hicks wrote: > This is your best starting point for learning about Maven... > http://www.sonatype.com/books/maven-book/reference/ > > > SRINIVASA RAO wrote: > >> Hi All, I am new to Maven and

Re: mvn eclipse:eclipse not adding source directories

2009-02-13 Thread Dirk Olmes
Josh Suereth wrote: > Hey guys, > > I'm trying to better integrate the maven-eclipse-plugin with the > maven-scala-plugin. Is there anyway I can notify the eclipse:eclipse goal > to add extra source directories when creating the eclipse project files? Use the build-helper plugin from Codehaus [

How to filter META-INF/context.xml

2009-02-13 Thread Alessandro Novarini
Hello list, After some weeks of lurking, trying to catch all the hidden secrets of maven, I need your help. I looked for some hints on the net also, but probably I'm a bad web surfer and I couldn't find anything useful. So, here's the problem: I have a maven web project imported into eclip

Tomcat, Ant and Maven (Was POM Best Practice? Tomcat, svn wc, and dists)

2009-02-13 Thread Lee Goddard
> I think it is the case that most people who use Maven will be > using a Java IDE of some sort. These take care of ensuring > that the right files are seen by the web server at the right time. I feared as much. > Generally, though it's fairly normal (when outside of an IDE) > to package the