Re: Archetype:create broken?

2008-06-26 Thread nodje
IMHO the solution lies in controlling what gets into repo1. In my view, it's causing probably 50% of the pain anti-maven people complain about, if not more. -nodje dkernekins wrote: > > I have just run into *exactly* the same and did the same thing - tried new > lifecycle; tried deprecated; cl

client-config.wsdd not included in maven 1 build

2008-06-26 Thread kkmca
the war goal is not picking up the client-config.wsdd when running maven war - tried adding properties maven.war.classes.includes=**/*.properties,**/*.vm,**/*.class,**/*.wsdd maven.war.src.includes=**/*.wsdd and still no wsdd in WEB-INF classes directory it is the only file in org/apache/axis/

mvn release plugin and platform specific executable jars

2008-06-26 Thread Andrew Robinson
I am deploying a maven application with 4 different packages (4 assemblies). Each are the same except for one jar (SWT) that is native. I have had to resort to 4 different executions of maven to package them, one execution per profile. This is so that I can change the classpath per execution to pul

Re: blocking dependencies based on scope

2008-06-26 Thread Ishaaq Chandy
Does anyone have an answer to this query? 2008/6/26 Ishaaq Chandy <[EMAIL PROTECTED]>: > Hi all, > I am tasked with configuring our team's internal repository. As a team we > are allowed to use any 3rd party dependencies for build-related activity, so > for e.g. we may use JUnit/TestNG/EasyMock e

Re: set target directory for "mvn package"

2008-06-26 Thread Ishaaq Chandy
I think you'll find the relevant documentation here: http://maven.apache.org/pom.html#Directories also note the /project/build/directory in the super pom: http://maven.apache.org/pom.html#The_Super_POM However, your results may vary, I think a lot of plugins just assume that target is the directo

set target directory for "mvn package"

2008-06-26 Thread Todd Nguyen
Is there an easy way for me to set the target directory when running "mvn clean package" (war) so it overrides the default /target directory? Thanks Todd

Re: Sort dependencies

2008-06-26 Thread André Kelpe
Hi Marvin, I'm not sure if I understood you correctly, but maven 2.0.9 changed the ordering of dependencies. Please take a look here: http://maven.apache.org/release-notes.html HTH André - To unsubscribe, e-mail: [EMAIL PROTECT

Sort dependencies

2008-06-26 Thread Marvin Froeder
Hi, Is there any way to sort maven dependencies in other to get first the less dependent to most? Like this -> means depend Dep A Dep B Dep C -> Dep B and Dep A and Dep D Dep D -> Dep E Dep E -> Dep A sorted I wanna this: Dep A Dep B Dep E Dep D Dep C Something like that. Anyone knows??

Re: build fails

2008-06-26 Thread radiya sojitrawala
Hi De, We use Maven 1.1 in our project and are not plannng to switch to Maven 2.0 right now. I resolved this issue: made the maven.repo.remote point to http://repo1.maven.org/maven and http://www.ibiblio.org/maven/ thank you all for the help! Radiya On Wed, Jun 25, 2008 at 11:24 PM, De Smet R

Re: Reusable, in-line assemblies/user-level descriptorrefs

2008-06-26 Thread Julien Simon
I don't really understand why this is a problem... Maybe you could try to use the tag in your plugin configuration at the parent level like this; maven-assembly-plugin ... ${assembly.skip} ... and set a property in you

RE: Inheritance problem in maven

2008-06-26 Thread Ladislav Božek
ything has been working fine until I tried this. cheers, //mike __ Informacia od ESET Smart Security, verzia databazy 3221 (20080626) __ Tuto spravu preveril ESET Smart Security. http://www.eset.sk __ Informacia od ESET Smart Security, verzia databazy 3221

Re: Exclude module conditionally

2008-06-26 Thread Chris Lieb
I'm trying to figure this out, but I must be missing something. I created the profiles test and production in the POMs for swear, swear-core, and fish-tissue. I set up the modules how I want them in swear-core and fish-tissue. I set activeByDefault to true for the test profile in the POMs fo

Inheritance problem in maven

2008-06-26 Thread Mikael Petterson
Hi, We have been using maven 2 ( 2.0.8 )for a while with love and hate :-) And now we want to make our child pom.xml:s a bit cleaner in terms of dependencies. We have the following structure in Eclipse 3.3.0: src | |---services | | | |---alarm | | |

Inherit dependencies problem

2008-06-26 Thread Mikael Petterson
Hi, We have been using maven 2 ( 2.0.8 )for a while with love and hate :-) And now we want to make our child pom.xml:s a bit cleaner in terms of dependencies. We have the following structure in Eclipse 3.3.0: src | |---services | | | |---alarm | | |

Re: Archetype:create broken?

2008-06-26 Thread dkernekins
You have all probably solved this by now, but here is a link to the solution for the next poor soul that is trying to get people started with maven and the simplest thing dies. That this is not fixed in the common repos, I just do not understand why it is taking so long. Here is what I followed:

Maven, Release and properties interpolation

2008-06-26 Thread Jeudy, Guillaume
Hi, I'm trying to automate the copy of an archive to my application server and dynamically configure the server instance name on the command-line. If I do mvn install -Ddeploy.server=instance1 deploy.server value 'instance1' gets passed normally to plugin through maven pom file property int

Re: Reusable, in-line assemblies/user-level descriptorrefs

2008-06-26 Thread fiddleman
Julien, I have another, hopefully simple question on the same topic. Here is the situation. I have a POM that is the PARENT of about 130 other POMs. In this PARENT POM, I want to configure the maven-assembly-plugin for its 130 children. This works fine. My question has to do with who actually b

Re: Enforce Checkstyle using Maven?

2008-06-26 Thread Jeroen Verhagen
On Thu, Jun 26, 2008 at 2:07 PM, <[EMAIL PROTECTED]> wrote: > > I don't know why it did not fail. Are you sure, you're using the latest > version of the checkstyle plugin. Always version your plugins in your pom. > The latest is version 2.2. Apparently that was the reason! I had no version defi

Re: hibernate3-maven-plugin

2008-06-26 Thread kace
as well as the modules own hibernate.cfg.xml file when running the command hbm2ddl from the command line? Thanks. ..kace kace wrote: > > Is there a way of picking up hibernate.cfg.xml files from jar files to use > when running the hibernate maven plugin command hbm2ddl ? > > Thanks. > > Rega

Re: hibernate3-maven-plugin

2008-06-26 Thread kace
Is there a way of picking up hibernate.cfg.xml files from jar files to use when running the hibernate maven plugin commang hbm2ddl ? Thanks. Regards, ..kace -- View this message in context: http://www.nabble.com/hibernate3-maven-plugin-tp17980711p18132753.html Sent from the Maven - Users mai

Re: Archetype:create broken?

2008-06-26 Thread dkernekins
I have just run into *exactly* the same and did the same thing - tried new lifecycle; tried deprecated; cleared Artifactory cache, renamed and rebuild the entire local repository what a pain-in-the-U-Know-What. There is a thread at: http://www.nabble.com/Archetype-generate-error-tt16963766.ht

RE: Enforce Checkstyle using Maven?

2008-06-26 Thread nicklist
On your first point, that checkstyle did not run when you execute mvn package, that is completely true, since verify comes after package. I don't know why it did not fail. Are you sure, you're using the latest version of the checkstyle plugin. Always version your plugins in your pom. The latest

Re: deploy own artifacts to a remote Repo

2008-06-26 Thread Tim Kettler
[EMAIL PROTECTED] schrieb: Hi, Hi, we have an open-source developement, where you actually could download the latest releases from the website. It would be much more easier, if we were able to deploy the latest releases to an existing, remote Repo and just display the group/artifactId and t

deploy own artifacts to a remote Repo

2008-06-26 Thread torsten . reinhard
Hi, we have an open-source developement, where you actually could download the latest releases from the website. It would be much more easier, if we were able to deploy the latest releases to an existing, remote Repo and just display the group/artifactId and the URL of the repo at the website.

Re: Enforce Checkstyle using Maven?

2008-06-26 Thread Jeroen Verhagen
Thanks for your reply, On Thu, Jun 26, 2008 at 11:52 AM, <[EMAIL PROTECTED]> wrote: > Yes, that is possible with the checkstyle:check goal [1]. I tried to use the checkstyle plugin like this: org.apache.maven.plugins maven-checkstyle-plugin http://

RE: Enforce Checkstyle using Maven?

2008-06-26 Thread nicklist
Yes, that is possible with the checkstyle:check goal [1]. Hth, [1] http://maven.apache.org/plugins/maven-checkstyle-plugin/check-mojo.html Nick Stolwijk ~Java Developer~ Iprofs BV. Claus Sluterweg 125 2012 WS Haarlem www.iprofs.nl -Original Message- From: Jeroen Verhagen [mailto:[EMA

Enforce Checkstyle using Maven?

2008-06-26 Thread Jeroen Verhagen
Hi all, Is it possible to enforce coding standards using Checkstyles plugin? For example by letting a build fail like Surefire does when a unittest fails or by preventing a deploy to a repository when coding standards have not been met according to Checkstyle? -- regards, Jeroen ---

[ANN] Maven Repository Plugin 2.1 Released

2008-06-26 Thread Dennis Lundberg
The Maven team is pleased to announce the release of the Maven Repository Plugin, version 2.1 This plugin is used to create bundles of artifacts that can be uploaded to the central repository. http://maven.apache.org/plugins/maven-repository-plugin/ You can run mvn -up to get the latest version

Re: Assembly to include another assembly

2008-06-26 Thread Julien Simon
Hi Vijay, If you have your zip assembly installed in the repository, you can include the first assembly in another assembly. First of all, in the pom which will create the second assembly, you must declare your first zip assembly as a dependency.Then, in your assembly descriptor, you have to inclu