How to set Exclude option using maven-net-plugin

2009-03-09 Thread SRINIVASA RAO
Hi All,   I am generating dll files for .Net code using maven scripts (ie, maven-net-plugin). Before running mvn install command , i have deleted some .cs files manually, then it is working fine.   But, Now i want to do(either delete those files or exclude them) this task automatic.   Could you

Questions about using Maven in a multi-module environment

2009-03-09 Thread Matthias Dorfner
Hi everybody, I have a multi-moduled project that looks like this: -parent --submodule1 --submodule2 --submodule3 My questions are now: 1. How can I retrieve the name of the compiled jar from submodule2 3 in the parent's pom? (I think it's the finalname of submodule2 3) Maybe

Re: Questions about using Maven in a multi-module environment

2009-03-09 Thread Stephen Connolly
2009/3/9 Matthias Dorfner matthias.dorf...@psylock.com Hi everybody, I have a multi-moduled project that looks like this: -parent --submodule1 --submodule2 --submodule3 My questions are now: 1. How can I retrieve the name of the compiled jar from submodule2 3 in the

AW: Questions about using Maven in a multi-module environment

2009-03-09 Thread Matthias Dorfner
Thanks for your help, I'm indeed new to Maven ;-) I'll try it with the dependencies plugin, that solutions sounds good! What would you suggest for my second concern? Is there a possibility to deny deploying on a submodules' level? Thank you! MD -Ursprüngliche Nachricht- Von: Stephen

Re: Questions about using Maven in a multi-module environment

2009-03-09 Thread Stephen Connolly
I would forget your second concern... Once you are using the copy-dependencies goal of the maven-dependency-plugin you will actually *need* the sub-modules to deploy when running as far as ehe deploy phase of the maven lifecycle... By the way, the deploy phase does not do what you think it

AW: Questions about using Maven in a multi-module environment

2009-03-09 Thread Matthias Dorfner
Thank you very much for your detailed answer, I think it helps a lot! MD -Ursprüngliche Nachricht- Von: Stephen Connolly [mailto:stephen.alan.conno...@gmail.com] Gesendet: Montag, 9. März 2009 10:15 An: Maven Users List Betreff: Re: Questions about using Maven in a multi-module

RE: maven changlog plugin producing empty change log

2009-03-09 Thread lguk
Thanks Todd This could well be it, our author field looks far from standard lgdeveloper -- View this message in context: http://www.nabble.com/maven-changlog-plugin-producing-empty-change-log-tp22372214p22410099.html Sent from the Maven - Users mailing list archive at Nabble.com.

How to get permission to Jira?

2009-03-09 Thread Lewis, Eric
Hi This may be a stupid question, but I didn't find any help online. I'd like to enter a Maven issue (for the site plugin). I set up an account in Jira and got access. According to the Jira help, I should see a 'Create new issue' link if I have the permission - but I don't see it, so obviously I

How do I package (and then re-unpackage) SQL files as an artifact?

2009-03-09 Thread djeddyg
Hi, I have created a 'database' pom which uses exec-maven-plugin to automatically build our Database, my SQL files all reside under pomroot/src/main/resources/db so exec-maven-plugin looks to this location when executing sqlplus e.g. sqlplus user/passw...@schema

Deploying Fake Releases

2009-03-09 Thread Henrique Prange
Hello there, Is there a way to deploy fake releases of a project into a repository? I need to make releases based on the SCM revision periodically. Something like my-project-1.0-r. But I can't make real releases because I don't have privilege to write to the SCM. I tried the

The Future of OSGi Maven

2009-03-09 Thread Jason van Zyl
The Tycho toolchain which is by far the most advanced set of tools for dealing with OSGi natively has a new mailing list and there's a blog entry describing some of the things we're working on. The demo that we planned for Eclipse is mostly working and we should have it fully worked out

RE: Eclipse and maven

2009-03-09 Thread Edelson, Justin
BTW, where do I put things that define ${maven.java.version}? In properties inside the pom. properties maven.java.version1.5/maven.java.version /properties You could also specify them in a profile in settings.xml, but in this particular case, that doesn't make sense (at least to me).

Re: Deploying Fake Releases

2009-03-09 Thread Henrique Prange
Hi Kalle, This is valid if I can't found another solution. I want to have daily builds of this project producing SNAPSHOT versions. However, I don't want to store every SNAPSHOT produced. That is why I want to make those fake releases monthly or weekly. I want to store only fake releases

RE: Deploying Fake Releases

2009-03-09 Thread Todd Thiessen
You could change the POM to point to an SCM you do have access to and cut a real release. --- Todd Thiessen -Original Message- From: Henrique Prange [mailto:hpra...@gmail.com] Sent: Monday, March 09, 2009 2:55 PM To: Maven Users List Subject: Re: Deploying Fake Releases Hi

Not deploy certain files

2009-03-09 Thread solo1970
Hello All, Anyone can explain to me how to not deploy certain files? Example: I have a few POMs that produce jar files and then I have one POM that packages everything in a, let's say, zip file. When I do my mvn clean deploy I only want the zip file to go to my global reppository. How

Re: Not deploy certain files

2009-03-09 Thread Wendy Smoak
On Mon, Mar 9, 2009 at 12:33 PM, solo1970 sonia.lodoviche...@ericsson.com wrote: Anyone can explain to me how to not deploy certain files? Example:  I have a few POMs that produce jar files and then I have one POM that packages everything in a, let's say, zip file.  When I do my mvn clean

Re: Not deploy certain files

2009-03-09 Thread Christoph
Hi Sonia, the deploy goal has a skip property that can be set to true for particular sub-modules, see http://maven.apache.org/plugins/maven-deploy-plugin/faq.html http://maven.apache.org/plugins/maven-deploy-plugin/faq.html for an example. Regards, Christoph. solo1970 wrote: Hello All,

mvn compile issue

2009-03-09 Thread huser
Hi, I am new to Maven. I wanted to compile a list of sources using Maven. I get the following error. The compilation with ANT is fine. What is wrong here ? C:\workspace\sip\SIPProxy\src\main\java\com\atxg\SIPProxy\SIPProxyMsgHandler\E91 1CallHistory.java:[10,15] generics are not supported in

Re: mvn compile issue

2009-03-09 Thread Kamlesh Sangani
You need to configure maven-compiler-plugin. put the following in pom.xml build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId configuration source1.5/source

Trouble getting mvn gram:gram to work

2009-03-09 Thread Frans Slothouber
Hi I am new to maven and trying to get the openwire code generation in activemq to work. For this the gram plugin is needed. However I can't manage to get it to work. Followed the following steps: (This is with an empty ~/.m2 directory) svn co

Re: mvn compile issue

2009-03-09 Thread Wayne Fay
1CallHistory.java:[10,15] generics are not supported in -source 1.3 (use -source 5 or higher to enable generics) Google is your friend. Take 60 seconds to search -- it took longer for you to write this email than it will take to find your answer... Wayne

Re: Deploying Fake Releases

2009-03-09 Thread Henrique Prange
Hi Todd, The more I think about the problem, the more I believe I should negotiate a way to straighten the release process of the project, instead of warping Maven configuration. Thank you for your answer. Cheers, Henrique Todd Thiessen wrote: You could change the POM to point to an SCM

Re: Trouble getting mvn gram:gram to work

2009-03-09 Thread Wayne Fay
  mvn gram:gram But I just build and installed the thing! Must be doing something wrong. What am I missing here? What leads you to believe this should work? There may be an error in the ActiveMQ documentation. Knowing that this plugin is a product of the ActiveMQ team, why aren't you asking

Re: Trouble getting mvn gram:gram to work

2009-03-09 Thread Frans Slothouber
2009/3/10 Wayne Fay wayne...@gmail.com:   mvn gram:gram But I just build and installed the thing! Must be doing something wrong. What am I missing here? What leads you to believe this should work? There may be an error in the ActiveMQ documentation. On the activemq mailinglist there are

Re: Trouble getting mvn gram:gram to work

2009-03-09 Thread Wendy Smoak
On Mon, Mar 9, 2009 at 3:34 PM, Frans Slothouber frans.slothou...@gmail.com wrote: [INFO] Installing /home/tester/Sandbox3/maven-gram-plugin/maven-gram-plugin/target/maven-gram-plugin-4.x-incubator-SNAPSHOT.jar to

[ANN] Maven Database Migration Plugin v0.9.1

2009-03-09 Thread Christian Nelson
Maven Users: The db-migration-maven-plugin http://code.google.com/p/c5-db-migration/provides support for managing project database structure changes over time (a la rails migrations). Each change is captured as a discrete migration (implemented in SQL or Groovy). A history of which migrations