Re: Proper Project and Module Configuration

2015-10-21 Thread Glenn Brown
You would want your parent to be in the root directory of a tree with subdirectories,preferably named after your submodules, holding your module poms On Wed, Oct 21, 2015, 8:25 PM Scott Klein wrote: > I am not quite sure how to ask this to make it simple, but let's

Re: own target / goal after packaging

2015-10-17 Thread Glenn Brown
I think you misunderstand the maven lifecycle. Maven has a default lifecycle that is described here https://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html. You use plugins and define executions to hang off those phases. In your case I would use the maven exec plugin and

Re: Avoiding code duplication

2015-10-12 Thread Glenn Brown
The jcabi parent appears to be a sample maven parent pom with jcabi dependencies included On Mon, Oct 12, 2015, 12:47 AM Jagat Singh wrote: > Hi, > > We have set of projects which have few common dependencies and > configurations. > > How to best avoid code duplications ,

Re: Overriding Plugin Configuration of POM on Command Line

2014-07-04 Thread Glenn Brown
You can set the class as a property and override it On Jul 4, 2014 6:00 AM, ck_ conny.kue...@web.de wrote: Hi all, is it generally possible to override the plugin configuration of the pom.xml on the command line? Specifically, I have configured the exec-maven-plugin to execute some class:

Re: How to reference a multimodule project from a pom

2014-06-11 Thread Glenn Brown
I believe that you can do it if you add the submodules as dependencies to the multi pom On Jun 11, 2014 6:17 PM, kurt_cobain terryea...@mail.com wrote: Hi, I have a multimodule project, let's call it multi. it generates like 5 jar artifacts. I would like to simply reference multi from

Re: Maven repository management systems

2014-06-03 Thread Glenn Brown
I would not recommend Archiva. It's intended to be mainly a reference implementation of the repository and, personally, i find it's UI to be a bit clunky. Whats moving you off Nexus? On Tue, Jun 3, 2014 at 1:40 PM, Mehul Sanghvi mehul.sang...@gmail.com wrote: Hit the reply button too quickly

Re: Maven repository management systems

2014-06-03 Thread Glenn Brown
-for-2014/ Slides 2 and 19 manfred PS: I am part of the Nexus team.. but was not involved in that survey. Glenn Brown wrote on 03.06.2014 12:22: I would not recommend Archiva. It's intended to be mainly a reference implementation of the repository and, personally, i find it's UI

Re: running integration tests with maven

2014-05-16 Thread Glenn Brown
http://docs.codehaus.org/plugins/servlet/mobile#content/view/63286 On May 15, 2014 10:14 PM, Brendan Miller catph...@catphive.net wrote: I currently have some testng integration tests in a maven project. This is causing problems because the tests get picked up and run during the test phase,

Re: Netbeans maven project with invalid POM/classpath problem

2014-05-01 Thread Glenn Brown
You might want to blow away the file from your local maven repo and re-download it. Possible that you were firewalled away from your repo at some point? On Apr 30, 2014 6:32 PM, Mark mark@gmail.com wrote: Hi , I am new to Maven and Glassfish (and pretty new to Java and Netbeans!) and am

Re: Netbeans maven project with invalid POM/classpath problem

2014-05-01 Thread Glenn Brown
The reason I ask is because what maven is saying is the content of the pom for the Oracle jar in your local repo looks suspiciously like an HTML file. Like one from a corporate firewall On Apr 30, 2014 6:32 PM, Mark mark@gmail.com wrote: Hi , I am new to Maven and Glassfish (and pretty new