Re: Maven as an installation tool

2012-03-01 Thread Anders Hammar
> Sonatype do some black magic for provision developer desktops, check > their website. > There was a demo I saw that pulled down your Eclipse binaries and > installing plugins and did some configuration stuff. > I believe that the bundling of the artifacts for provisioning live in > Nexus - not su

Re: site-deploy upload location

2012-03-01 Thread Lukas Theussl
Documented behavior: "If subprojects inherit the site URL from a parent POM, they will automatically append their to form their effective deployment location." This is the default behavior and currently cannot be switched off. If you want to change this, you have to explicitly set the url i

Re: Issue with running junit tests in parallel

2012-03-01 Thread akhilhingane
As you mentioned, the classes which are picked up twice are indeed present in two files under target/surefire Regards, Akhil -- View this message in context: http://maven.40175.n5.nabble.com/Issue-with-running-junit-tests-in-parallel-tp5524181p5530236.html Sent from the Maven - Users mailing lis

Re: using build profiles for WAR plugin [maven-eclipse-plugin]

2012-03-01 Thread Markku Saarela
Hi, Developing with Eclipse IDE and JavaEE server using maven-eclipse-plugin you have to use profiles, because Eclipse does not isolate test code and test resources. Only way to do it what i have figured out is to have two profiles one for running application in app server and another for un

Re: using build profiles for WAR plugin

2012-03-01 Thread offbyone
I am working on implementing your recommended layout. I am experiencing some problems. 1)I keep getting this error in reference to the generic-war project: 'packaging' with value 'war' is invalid. Aggregator projects require 'pom' as packaging. I tried to changing it to pom but that doesn

Re: Maven as an installation tool

2012-03-01 Thread Barrie Treloar
On Fri, Mar 2, 2012 at 2:02 PM, Eric Kolotyluk wrote: > Maybe this is too weird, but > > Has anyone ever used Maven as an installation tool? > > I've been thinking using Maven as a way to install and update software, and > before I actually go and experiment with the idea I was wondering if other

site-deploy upload location

2012-03-01 Thread David Kendall
Is there any way to control the exact upload location when doing a mvn site-deploy? I am working with a code base that has a number of parent pom files - different parents for different types of project. When i do a mvn site-deploy the site is uploaded to something like ${site.deploy.bas

Re: Is Maven the answer?

2012-03-01 Thread Terence Stephens
Thanks for all the replies. I'm tempted to use Maven just because I think it's the more valuable tool to learn, but I'll probably go with Ant for the first iteration. There have been a lot of other tools suggested as well. I'll do more research on those and will hopefully decide next week. thank

Maven as an installation tool

2012-03-01 Thread Eric Kolotyluk
Maybe this is too weird, but Has anyone ever used Maven as an installation tool? I've been thinking using Maven as a way to install and update software, and before I actually go and experiment with the idea I was wondering if other people have already thought of this. The idea would be that yo

Re: using build profiles for WAR plugin

2012-03-01 Thread Ron Wheeler
I am happy to contribute in the forum and I have some blog items at blog.artifact-software.com/tech that might help but you would be much better served by Wayne or Stephen as they are true experts. At http://maven.apache.org/team-list.html you get a list of the team members who work on Maven a

Re: using build profiles for WAR plugin

2012-03-01 Thread Wayne Fay
> I have my main project which is a package pom type.  It has dependencies, a > compiler plugin and a war plugin.  Essentially: This is most likely wrong. Your war projects should use package 'war". Here is how I would structure this: top-parent project, packaging pom module lib with its own pom,

Re: using build profiles for WAR plugin

2012-03-01 Thread offbyone
Ron- You interested in a couple hours of contract work. I would happily pay you to help me through this? -ryan On Thu, Mar 1, 2012 at 12:56 PM, Ron Wheeler [via Maven] < ml-node+s40175n552920...@n5.nabble.com> wrote: > On 01/03/2012 2:43 PM, offbyone wrote: > > > Ok so I should create a base po

Re: using build profiles for WAR plugin

2012-03-01 Thread offbyone
Really struggling here and could use some help with these overlays. I seem to be missing basic concepts or maybe I am just slow, sorry if these questions are pedestrian. So I am trying to produce an overlay to add the extra configuration for each of my server deployments. I have my main projec

RE: Configure pom for build

2012-03-01 Thread Lyons, Roy
if you are in a unix-like environment, for the logfile you can use 'tee' mvn clean install 2>&1 | tee log.file that will display it to the screen and put it into your logfile. -Original Message- From: Wayne Fay [mailto:wayne...@gmail.com] Sent: Thursday, March 01, 2012 4:34 PM To: Maven

Re: Configure pom for build

2012-03-01 Thread Wayne Fay
> 1)Log to a file the flow of steps from Maven execution.( Is there an > alternative to ant echo in Maven) >  I dont want to use  [* mvn clean install  > log.file* ] I am unaware of any way to do this and use "... > log.file" if I need to do this. > 2) Does Maven accept custom arguments from comm

Re: using build profiles for WAR plugin

2012-03-01 Thread Manfred Moser
On Thu, March 1, 2012 11:19 am, Wayne Fay wrote: >> There are many deployments of my application on different systems and >> each >> one has a different look and feel configuration file.  So, I was >> planning to >> have a different maven profile for each deployment and have the profile >> automat

Configure pom for build

2012-03-01 Thread Aditya
Hi All, I am a newbie to this forum and Maven would like your valuable advise mavenizing my companies projects. I am trying to accomplish the following and I am doing my home work. I would like to know an efficient way of doing them. I am using Maven 3.x 1)Log to a file the flow of steps

Re: using build profiles for WAR plugin

2012-03-01 Thread Ron Wheeler
On 01/03/2012 2:43 PM, offbyone wrote: Ok so I should create a base pom with a war configuration and then a separate pom for each site that depends on this with overlays to add the extra configuration file. I will try. If I am interpreting your comments correctly, profiles allow for a user to fl

Re: Issue with running junit tests in parallel

2012-03-01 Thread Kristian Rosenvold
Try; in this order: A) Use mvn help:effective-pom and analyze your surefire configuration and see if you have multiple executions B) Run mvn -X clean install cd target/surefire grep * The folder you are in contains all the specifications used to start the forks, if the same class has been run m

Re: Is Maven the answer?

2012-03-01 Thread John R. Todd
Hello, Long time maven user, new to the alias.. You could probably do all of this in Maven w/ plugins, ant, etc. but you may want to look at a small ensemble of tools to accomplish the work flow as you've layed out. I'm thinking Jenkins to build using the maven plugin and either the ant

Re: using build profiles for WAR plugin

2012-03-01 Thread offbyone
Ok so I should create a base pom with a war configuration and then a separate pom for each site that depends on this with overlays to add the extra configuration file. I will try. If I am interpreting your comments correctly, profiles allow for a user to flaten a maven build deployment, but this i

Re: using build profiles for WAR plugin

2012-03-01 Thread Ron Wheeler
This is not a unique situation. Many people here use Spring and most people have to generate different WAR files. One way is to have a set of maven JAR projects that contain all the code and a set of WAR projects that depend on your JARS and contain the Spring configuration files that are speci

Re: using build profiles for WAR plugin

2012-03-01 Thread Wayne Fay
> There are many deployments of my application on different systems and each > one has a different look and feel configuration file.  So, I was planning to > have a different maven profile for each deployment and have the profile > automatically push the correct LookAndFeel.xml into the war archive

Re: Is Maven the answer?

2012-03-01 Thread Karl Heinz Marbaise
Hi, I'm looking for a tool that will help me: Build Java Code Move Php code to a different location on my computer Create New Directories on the server and upload content to them (via FTP over SSL or maybe SSH) Download whole directories and then zip of the contents sounds like you need a thing

Re: using build profiles for WAR plugin

2012-03-01 Thread offbyone
Ok, I hear you, profiles are evil. BUT I still don't understand the alternative so let me give a specific and tangible example and maybe you can explain a specific alternative. I am currently deploying my product in a tomcat/linux environment as a war file. My webapp is driven by a set of spring

Re: using build profiles for WAR plugin

2012-03-01 Thread Wayne Fay
> I am new to maven, based on the documentation and the specification it seems > like profiles are used to create different versions of a deployment package. > Why would profiles be there if not for that purpose? Opinions have changed on this point through the years. Maven is opinionated software.

RE: Antwort: RE: offline not truly offline?

2012-03-01 Thread Mirko Friedenhagen
One good reason to always use . Or to hope for 2032 ;-) . Regards Mirko -- Sent from my phone On Feb 29, 2012 5:02 PM, "Matt Walsh" wrote: > Or it that 1 year old. Always get those yy/mm/dd vs dd/mm/yy confused. > :-( > > > -Original Message- > > From: Matt Walsh > > Sent: Wednesday

Re: using build profiles for WAR plugin

2012-03-01 Thread Ron Wheeler
Do not touch profiles until you have your build working without them. As near as I can tell from the traffic here, they are intrinsically evil and should only be used in very specific situations. They are not used for "normal" software projects. They are not suitable for new Maven users. They w

Re: using build profiles for WAR plugin

2012-03-01 Thread offbyone
I appreciate the feedback, but I am struggling to follow, clearly I don't understand "the maven way". I am new to maven, based on the documentation and the specification it seems like profiles are used to create different versions of a deployment package. Why would profiles be there if not for th

Re: Issue with running junit tests in parallel

2012-03-01 Thread akhilhingane
Hi Kristian, I read in some other thread, that you also fixed some concurrency issues with surefire-junit in 4.8.1. Could that be a reason for the same test class to be picked simultaneously by two forked test runners. Regards, Akhil -- View this message in context: http://maven.40175.n5.na

HOW TO SURE FIRE HTML REPORT

2012-03-01 Thread muaazster
gUYS , I WANT TO EDIT MY SURE FIRE HTML REPORT , I NEED TO INSERT SOME LOGO , AND NEED TO CHANGE THE COLOUR CHANGE PLEASE LET ME KNOW , tHANK YOU, -- View this message in context: http://maven.40175.n5.nabble.com/HOW-TO-SURE-FIRE-HTML-REPORT-tp5527453p5527453.html Sent from the Maven -