Re: Generating Incorrect fat jar using maven-assembly-plugin in maven 2 with war packaging

2014-04-15 Thread Baptiste Mathus
Hi, Which version of the war plugin are you using? BTW, you say it's OK with maven 3. Can't you just upgrade? Maven 2 is many years old and has already been officially end of lifed ( http://maven.apache.org/maven-2.x-eol.html). And about what you're doing: I'm unsure about why you seem to unneces

Perforce Maven Integration ??

2014-04-15 Thread Dan Tran
Hello, I am currently not able to get Perforce with SSL connection working. My guess here is both currently built-in perforce provider at maven scm, and the one from Perforce ( p4maven) are not support this new feature yet which is available around 2012. ( also the last p4maven release is aroun

Generating Incorrect fat jar using maven-assembly-plugin in maven 2 with war packaging

2014-04-15 Thread Narayanan Krishnamoorthy
Hi all, I have a default pom file in our codebase that has "war" packaging. We wanted to also generate a normal jar file (lean) and a fat jar with dependencies along with the war file in our build using the same pom.xml. $ mvn -version Apache Maven 2.2.1 (r801777; 2009-08-06 12:16:01-0700) Java

Re: Alter default .war file location

2014-04-15 Thread Randal Kamradt
There’s probably a way to hoodwink Maven into putting the war file somewhere special, but my preference would be to create an explicit step via, say, the ant plugin that copied it from target (where it is expected) to where ever you would like it to go. IMHO this is a clearer way of going about

Re: [nexus-user] Why are alternate repositories so hard to configure

2014-04-15 Thread Peter Lynch
Hello, On Tue, Apr 15, 2014 at 12:14 AM, Eric Kolotyluk wrote: > I have the following > > > > sonatype > Sonatype Maven OSS Repository > > true > > > true > > h

Alter default .war file location

2014-04-15 Thread Leandro Prado
Hi, I configuring a pom.xml in my project and configured to generate a .war file ... war ... The .war is generated in the target/project.war directory My question is, how to configure the target location on generated the .war file? For example

Re: [nexus-user] Why are alternate repositories so hard to configure

2014-04-15 Thread Eric Kolotyluk
Hello back :-) On 4/15/2014 6:50 AM, Peter Lynch wrote: Hello, On Tue, Apr 15, 2014 at 12:14 AM, Eric Kolotyluk mailto:eric.koloty...@gmail.com>> wrote: I have the following sonatype Sonatype Maven OSS Repository true true https://oss.so

Re: sshd - async interface

2014-04-15 Thread Benson Margulies
Why did you send this to the maven mailing list? On Mon, Apr 14, 2014 at 8:09 PM, Alon Bar-Lev wrote: > Hi, > > Are there any plans to support async interface for the sshd package? > > Enable single/multi threaded implementation based on nio, in which > selector is left within the program main? >

Re: [nexus-user] Why are alternate repositories so hard to configure

2014-04-15 Thread Eric Kolotyluk
Thanks Frank, I added what you suggested to my settings.xml, but the problem turned out to be that I forgot to add sonatype-oss to the public group. I have been caught by that problem in the past, as I recall, and a better UI would ask you if you wanted to add a newly created remote repo to p

Re: Why Is Maven Ignoring My Local Repo?

2014-04-15 Thread Eric Kolotyluk
Thanks Ben: I have not read the references yet, but plan to. Normally I have only been removing _maven.repositories in the affected directory, but I did as you suggested and removed all _maven.repositories in my , but the problem still exists: Could not find artifact net.trajano.wagon:wagon-g

how implement aether into osgi project?

2014-04-15 Thread e92-330cd
Hello, I have to implement eclipse Aether into exesting osgi project build with Maven. The idea is: Replace current OBR with Maven repo. But I cant find any good examples, steps how to configure, implement embeded Maven Repo (Aether) into some application. Any ideas? Thanks

RE: [nexus-user] Why are alternate repositories so hard to configure

2014-04-15 Thread Frank Mueller
Do you have anonymous access enabled in you Nexus instance? You did not have any credentials in your (I assume) settings.xml. The problem with the apache.org repo might be caused by missing the Pluginrepo configuration. Maybe try something like the following: -[snip]

Re: Why Is Maven Ignoring My Local Repo?

2014-04-15 Thread Ben Caradoc-Davies
Ah, my favourite Maven 3 unfeature, a response to the war between repos that deliver broken artifacts and those that have artifacts that legitimately migrate from one repo to another. I do not like the solution because it gives Maven an opaque memory of artifact source, so your build depends on

Re: Why Is Maven Ignoring My Local Repo?

2014-04-15 Thread Jörg Schaible
Stephen Connolly wrote: > It's not a local repository. It is a local repository cache. > > There are files there that record where the artifacts were cached *from*. > > If the artifact is there but the cache file is not or indicates a > different source from the allowed sources for your build, t

Re: Why Is Maven Ignoring My Local Repo?

2014-04-15 Thread Stephen Connolly
It's not a local repository. It is a local repository cache. There are files there that record where the artifacts were cached *from*. If the artifact is there but the cache file is not or indicates a different source from the allowed sources for your build, then Maven will ignore the artifact in