Re: does maven support multiple parents (multiple inheritance) ?

2010-04-07 Thread Stephen Connolly
You do know that aggregation does not have to map with inheritance? You can have an aggregator pom that is not the parent of the projects it aggregates. -Stephen On 6 April 2010 18:45, Marshall Schor m...@schor.com wrote: On 4/3/2010 4:58 PM, Wayne Fay wrote: I see this doc [1] says there

Re: Project build error: Unknown packaging: eclipse-plugin

2010-04-07 Thread Barrie Treloar
On Wed, Apr 7, 2010 at 2:00 PM, Vijayan, Rohit rohit.vija...@sap.com wrote: Hi All I have installed maven plugin into eclipse and i have created a simple project(skip archetype selection) option and provided a GroupId, ArtifactId, version but gave the Packaging as `eclipse plug-in instead of

[ANN] Apache Continuum 1.3.6 (GA) Released

2010-04-07 Thread Deng Ching
The Apache Continuum team is pleased to announce the release of Apache Continuum 1.3.6 (GA). Apache Continuum is an enterprise-ready continuous integration server with features such as automated builds, release management, role-based security, and integration with popular build tools and source

Testing in complex project setup with maven and m2eclipse

2010-04-07 Thread franchan
Hello, I work on a complex project, having many modules. I added one module M inside the existing hierarchy A.B. This M makes use of different other modules at specific places in the project A hierarchy. (usually guided by eclipse editor assistance that certain classes are to be imported, or

Jar Signing eats up build time

2010-04-07 Thread fgfggf fgfggf
We have a legacy project that is pretty heinous in terms of build time and this is severely affecting delivery times. There are many pieces of refactoring to break this down into a more manageable build, that need to be done, but one quick win is to sort out the signing of dependencies and

project.build.sourceEncoding not being recognized

2010-04-07 Thread Steve Cohen
I am trying to build a project that requires the cp1252 encoding to be used by the compiler. There are Spanish literals in the source code as quoted strings and I prefer to leave it that way rather than decipher the unicode every time I look at it. I wouldn't mind using the unicode if I could

Re: project.build.sourceEncoding not being recognized

2010-04-07 Thread Steve Cohen
Steve Cohen wrote: I am trying to build a project that requires the cp1252 encoding to be used by the compiler. There are Spanish literals in the source code as quoted strings and I prefer to leave it that way rather than decipher the unicode every time I look at it. I wouldn't mind using

Documentation help

2010-04-07 Thread Lorenzo Thurman
I've looked at a couple of the docs at the website, Getting started in 5 minutes and Getting started in 10 minutes, but I'd like to find something a bit more comprehensive. For example, I was trying to build and test a simple project with only two files, MathFunctions.java and

Maven and Hudson

2010-04-07 Thread Lorenzo Thurman
I hope this question is suitable for the list, if not apologies. Can someone give me a comparison between Maven and Hudson? I'm in the process of testing both of these, but would like some opinions on the strengths/weaknesses of the product. Thanks My Break-Dancing days are over, but there's

RE: Maven and Hudson

2010-04-07 Thread Adam Purkiss
They are two different products that work well together rather then competing products. Why are you testing them? Hudson put simply is a CI server that you provide Maven/Ant/Shell scripts etc to and it does builds and you can generate reports about, Maven is a project comprehension tool

Re: Documentation help

2010-04-07 Thread Graham Leggett
On 07 Apr 2010, at 6:56 PM, Lorenzo Thurman wrote: I've looked at a couple of the docs at the website, Getting started in 5 minutes and Getting started in 10 minutes, but I'd like to find something a bit more comprehensive. For example, I was trying to build and test a simple project with

Re: Maven and Hudson

2010-04-07 Thread David Hoffer
+1 First do a web search for what these things are before you decide what to compare. -Dave On Wed, Apr 7, 2010 at 11:06 AM, Adam Purkiss ajpurk...@hotmail.com wrote:  They are two different products that work well together rather then competing products. Why are you testing them?

Re: Maven and Hudson

2010-04-07 Thread Timothy Orme
They aren't really comparable. Hudson is a Continuous Integration tool. Maven is a build tool. Hudson can use maven for its builds, but they aren't competing products. If you're looking for a build tool its usually between Maven and Ant. If you're looking for a continuous integration server,

Re: Documentation help

2010-04-07 Thread Lorenzo Thurman
On Apr 7, 2010, at 12:07 PM, Graham Leggett wrote: What you're encouraged to do is stick with default conventional behaviour wherever you can. In other words, if maven wants you to name a file a certain way, or look for a file in a certain directory, stick to the defaults. If you do, most

Re: Documentation help

2010-04-07 Thread Wayne Fay
I've looked at a couple of the docs at the website, Getting started in 5 minutes and Getting started in 10 minutes, but I'd like to find something a bit more comprehensive. http://maven.apache.org/articles.html Read the following: [older] Better Builds with Maven (Free PDF Download) and

Re: Documentation help

2010-04-07 Thread Lorenzo Thurman
Thanks On Apr 7, 2010, at 1:04 PM, Wayne Fay wrote: I've looked at a couple of the docs at the website, Getting started in 5 minutes and Getting started in 10 minutes, but I'd like to find something a bit more comprehensive. http://maven.apache.org/articles.html Read the following:

Re: Maven and Hudson

2010-04-07 Thread Lorenzo Thurman
I'm beginning to see this now. I was asked to look at a number of products that we may use on a large ATG/jsp project we'll be working on. Hudson, CruiseControl, Maven and Ant. I don't any of us knows much about them, but I have to sort out the differences in each. I think I'm leaning towards a

Re: Maven and Hudson

2010-04-07 Thread David Hoffer
The tool stack we use is SVN, Maven, TeamCity Artifactory. -Dave On Wed, Apr 7, 2010 at 12:17 PM, Lorenzo Thurman lore...@thethurmans.com wrote: I'm beginning to see this now. I was asked to look at a number of products that we may use on a large ATG/jsp project we'll be working on. Hudson,

Re: Maven and Hudson

2010-04-07 Thread Kathryn Huxtable
If you're using TeamCity, do you also use IDEA for your IDE? -K, who rather prefers Nexus to Artifactory, having used both. Artifactory is pretty good, though. On Apr 7, 2010, at 1:20 PM, David Hoffer wrote: The tool stack we use is SVN, Maven, TeamCity Artifactory. -Dave On Wed, Apr

Re: Maven and Hudson

2010-04-07 Thread Lorenzo Thurman
Ok, thanks. Two more things to look at now, TeamCity and Artifactory. On Apr 7, 2010, at 1:20 PM, David Hoffer wrote: The tool stack we use is SVN, Maven, TeamCity Artifactory. There are 10 types of people in this world: those who understand binary, those who don't --Unknown Lorenzo Thurman

Re: Maven and Hudson

2010-04-07 Thread David Hoffer
Personally yes I use IDEA but others use Eclipse, etc. (IDEA has very good maven integration.) -Dave On Wed, Apr 7, 2010 at 12:23 PM, Kathryn Huxtable kath...@kathrynhuxtable.org wrote: If you're using TeamCity, do you also use IDEA for your IDE? -K, who rather prefers Nexus to Artifactory,

Re: Maven and Hudson

2010-04-07 Thread Kathryn Huxtable
Yes, it does have good maven integration. I'm so used to Eclipse, though. I was just wondering, since TeamCity is a JetBrains product like IDEA. -K On Apr 7, 2010, at 1:27 PM, David Hoffer wrote: Personally yes I use IDEA but others use Eclipse, etc. (IDEA has very good maven integration.)

Re: Clearcase with maven release plugin

2010-04-07 Thread Jeroen Lankheet
Hi Anders, Anders Hammar wrote: However, it does only work on the 'main' branch. What do you mean by it only works on the 'main' branch? What are the limitations? Anders Hammar wrote: Some quick things: * Create $user.home/.scm/clearcase-settings.xml containing clearcase-settings

Re: Documentation help

2010-04-07 Thread Ron Wheeler
On 07/04/2010 12:56 PM, Lorenzo Thurman wrote: I've looked at a couple of the docs at the website, Getting started in 5 minutes and Getting started in 10 minutes, but I'd like to find something a bit more comprehensive. For example, I was trying to build and test a simple project with only two

Setting up Distribution Management inside of the pom.xml file

2010-04-07 Thread David Weintraub
When you do a mvn deploy, Maven looks for a distributionManagement section of your POM. I would like to be able to move this distributionManagement section out of each project's POM. My developers shouldn't have to worry about it. I'd like to be able to put this in my build user's settings.xml

packing in a jar

2010-04-07 Thread Cleiton Dos Santos Garcia
Hi, I need put some files in different packages and this files are .xml and .wsdl, I can't put it in the resources directory I need put a wsdl file in the same package as your relative class. Is it possible? In eclipse it is a default behavior in export- jar, packing all .class and xml, or

Re: Setting up Distribution Management inside of the pom.xml file

2010-04-07 Thread David Hoffer
We have put this and a few other mostly static things in our top level company wide pom which gets deployed to corporate maven server (Artifactory) so all can reference it. -Dave On Wed, Apr 7, 2010 at 11:49 AM, David Weintraub qazw...@gmail.com wrote: When you do a mvn deploy, Maven looks for

Re: packing in a jar

2010-04-07 Thread David Hoffer
Perhaps I don't understand. You can put whatever folder structure you want in resources, it will get included in jar just as you have it defined. -Dave On Wed, Apr 7, 2010 at 2:03 PM, Cleiton Dos Santos Garcia cleit...@weg.net wrote: Hi, I need put some files in different packages and this

Re: packing in a jar

2010-04-07 Thread Wayne Fay
I need put some files in different packages and this files are .xml and .wsdl, I can't put it in the resources directory I need put a wsdl file in the same package as your relative class. Is it possible? The correct approach is to build the same directory structure under resources, and put

Re: project.build.sourceEncoding not being recognized

2010-04-07 Thread Hervé BOUTEMY
Le mercredi 07 avril 2010, Steve Cohen a écrit : I can workaround this by adding encodingcp1252/encoding to the compiler plugin configuration but this appears to contradict http://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html which says The -encoding argument for the Java

RE: Setting up Distribution Management inside of the pom.xml file

2010-04-07 Thread Gorham-Engard, Frank
When you hear about a company super pom, some is mixing their references. Yes, the super pom is part of Maven and you wouldn't need to change it. What you want is a parent pom. We have a company parent pom and a program parent that refers to the company parent pom. Then each project refers to

Re: Maven and Hudson

2010-04-07 Thread Stephen Connolly
maven is a build tool, you would compare it with ANT, make, cmake, etc Hudson is a continuous integration server, you would compare it with cron, cruisecontrol, bamboo, etc ci servers such as Hudson use build tools such as maven to build your source code if you are trying to compare

Re: Maven and Hudson

2010-04-07 Thread Lorenzo Thurman
Yes, I see that now. I have a simple project running under Hudson using Maven to do the builds. Pretty sweet actually! --My break-dancing days are nover, but there's always the funky chicken The Full Monty On Apr 7, 2010, at 5:25 PM, Stephen Connolly stephen.alan.conno...@gmail.com

README.txt bundled with maven doesn't mention M2_HOME

2010-04-07 Thread Matthew McCullough
Team, The download page for Maven mentions the M2_HOME variable and setting it up. http://maven.apache.org/download.html However, the README.txt that ships with Maven binaries does not mention it in the setup instructions. A student today was puzzled at the disparity. Should we add it to the

Re: README.txt bundled with maven doesn't mention M2_HOME

2010-04-07 Thread Brett Porter
Sounds like making them consistent makes sense. Note that the env var is not required - it is mostly for people that wish to run multiple versions of Maven. - Brett On 08/04/2010, at 1:03 PM, Matthew McCullough wrote: Team, The download page for Maven mentions the M2_HOME variable and