Re: alternative deploy strategy

2012-08-28 Thread Anders Hammar
If you want to bypass the Repo manager (normally what happens if you don't deploy through HTTP) you will also bypass authentication, authorization, and other good stuff that a repo manager helps you with. Don't do that! /Anders On Wed, Aug 29, 2012 at 6:17 AM, Max Spring wrote: > I do use Nexus

Re: alternative deploy strategy

2012-08-28 Thread Manfred Moser
Hm.. if you are using Nexus Pro with the 2.1 release and the nexus staging maven plugin you get local creation of a staging bundle in the target folder and atomic upload to the repo .. which only happens after successful build including on multi module projects. I think this does what you want..

Re: alternative deploy strategy

2012-08-28 Thread Max Spring
I do use Nexus for the group repositories. Using Nexus also locally defeats the purpose. The deploy to a file://... repo gives me the performance I'm looking for. Nexus Pro's staging feature would give me what I want, but I'd still have to transport via HTTP. -Max On 08/28/2012 09:05 PM, Manf

Re: local repository

2012-08-28 Thread Russ Tremain
simplist way is to build it with maven, i.e. "mvn install". then your other projects can pick it up from your local build repository, which is %HOME%\.m2\repository by default. if you want to publish it to an internal web server, so that everyone can use it, then explore "mvn deploy". At 10:38

Re: alternative deploy strategy

2012-08-28 Thread Manfred Moser
On Tue, August 28, 2012 4:26 pm, Max Spring wrote: > To speed up my large Maven build I'm thinking of using a "local-remote" > repository sitting on the local file system. > > 1) build would start with a wiped local-remote repository > 2) build's deploys into the local-remote repository > 3) if bui

Re: local repository

2012-08-28 Thread Wayne Fay
> I have a library that I have developed locally, and I need to reference > this library from another project. How can I store it locally on my > computer so maven picks up the dependancy? I also want to be able to store > multiple versions if possible. Ask Google about "maven install third part

alternative deploy strategy

2012-08-28 Thread Max Spring
To speed up my large Maven build I'm thinking of using a "local-remote" repository sitting on the local file system. 1) build would start with a wiped local-remote repository 2) build's deploys into the local-remote repository 3) if build finished successfully, artifacts in the local-remote repo

Re: compiler plugin excludes that don't exclude

2012-08-28 Thread Benson Margulies
On Tue, Aug 28, 2012 at 6:48 PM, Russell Gold wrote: > Hi Benson, > > Javac compiles not only the files you specify, but also any classes that they > reference. The only way to keep the dependencies from compiling is to remove > them from the directory (and get a compile error) or modify the sou

Re: compiler plugin excludes that don't exclude

2012-08-28 Thread Russell Gold
Hi Benson, Javac compiles not only the files you specify, but also any classes that they reference. The only way to keep the dependencies from compiling is to remove them from the directory (and get a compile error) or modify the source code so that they are no longer referenced. On Aug 28, 2

compiler plugin excludes that don't exclude

2012-08-28 Thread Benson Margulies
Using the current compiler plugin, I've got a case where I specify an exclude, and the -X log does not show a particular file, but javac tries to compile it anyway. Anybody have any ideas? - To unsubscribe, e-mail: users-unsubscr.

[ANN] Maven Surefire Plugin 2.12.3 Released

2012-08-28 Thread Kristian Rosenvold
The Maven team is pleased to announce the release of the Maven Surefire Plugin, version 2.12.3. This release includes the maven-surefire-plugin, which executes the unit tests of an application, the maven-surefire-report-plugin, which parses surefire/failsafe test results and renders them to DOXIA

Re: Use of Profiles

2012-08-28 Thread Curtis Rueden
Hi John, > I imagine that most of the pain people experience come from different > artifacts being built with the same ids. Yep, one huge advantage of a well-structured Maven project is a repeatable build, even across multiple platforms. Anything that violates that is generally frowned upon. This

How To Publish/Depend On Generated WSDL as Artifact?

2012-08-28 Thread Dan Rollo
Hi, We have a maven project that produces both a .war file and a WSDL file. The WSDL is auto-generated by the project. Right now we are publishing the WSDL as an attachment (to the packaged 'war' file) with a custom type="wsdl". This allows us to use the WSDL artifact as a dependency in othe

Use of Profiles

2012-08-28 Thread John Kramer
Hello to all, I am not exactly new to maven, but I haven't had any formal training and am certainly not as experienced as many in this audience. I have been on this mailing list for a few weeks and have noticed a lot of talk about profiles and why they should not be used. I wanted to share wit

Re: access password in settings.xml

2012-08-28 Thread Manfred Moser
On Mon, August 27, 2012 1:11 pm, Mirko Friedenhagen wrote: > /** Imports */ > import java.util.List; > import org.apache.maven.plugin.AbstractMojo; > import org.apache.maven.plugin.MojoExecutionException; > import org.apache.maven.plugin.MojoFailureException; > import org.apache.maven.plugins.annot

Build number incremented twice

2012-08-28 Thread Prashant
Hi I am using the buildnumber-maven-plugin to increment the version no. and my POM looks below. the version no. is incremented twice. I am calling the maven tasks in this way each time i build "mvn validate" do i need to pass any parameters? org.codehaus.mojo buildnumber-maven

maven compiler plugin reports warnings as error

2012-08-28 Thread Sascha Vogt
Hi all, with the maven compiler plugin (version 2.5.1) and Maven 3.0.3 / 3.0.4 I have the the strange effect, that if I have one real build error all warnings are reported as errors as well. Settings for the compiler plugin are (copied from the effective pom): -Xlint:all true true 1.6