Logging and Cargo plugin

2014-04-15 Thread Thomas Scheffler
Hi, I use the cargo-maven2-plugin to start and test my webapp with various servlet containers (jetty 9, tomcat 7 and tomcat 8). One thing that disturbs me is that every log line the is printed out by the servlet container gets a [INFO] [talledLocalContainer] prefix. Is there a way to avoid

Re: Logging and Cargo plugin

2014-04-15 Thread Anders Hammar
There are mailing lists specific to Cargo where you are more likely to get an answer to your question: http://cargo.codehaus.org/Mailing+Lists /Anders On Tue, Apr 15, 2014 at 8:41 AM, Thomas Scheffler thomas.scheff...@uni-jena.de wrote: Hi, I use the cargo-maven2-plugin to start and test

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

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, then

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

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:

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: 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 localRepository, but the problem still exists: Could not find artifact

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

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 alon.bar...@gmail.com 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

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 eric.koloty...@gmail.com mailto:eric.koloty...@gmail.com wrote: I have the following repositories repository idsonatype/id nameSonatype Maven OSS

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 project ... packagingwar/packaging ... /project The .war is generated in the target/project.war directory My question is, how to configure the target location on

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 eric.koloty...@gmail.comwrote: I have the following repositories repository idsonatype/id nameSonatype Maven OSS Repository/name releases enabledtrue/enabled

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

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

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

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