Re: How to deal with dependencies that need more info

2013-06-10 Thread Jörg Schaible
Cristiano Gavião wrote: Hi Wayne, Let me explain a bit what I'm trying to achieve. I've created a plugin where I've defined a new packaging type. it uses the declared dependencies to create a kind of manifest file called Subsystem manifest. A subsystem can be composed by one ore more

consuming maven repository indexes

2013-06-10 Thread Nathan Coast
Classification: Public Hi, Internally, we have hundreds of individual repositories and we are interested in reporting upon the contents of these repositories. We can see nexus has already created the relevant indexes, we would like to use this data. I understand maven-indexer is used to

Re: consuming maven repository indexes

2013-06-10 Thread Olivier Lamy
Have a look at a sample here http://svn.apache.org/repos/asf/maven/sandbox/trunk/central-indexer-test/src/test/java/org/apache/maven/indexer/test/SearchFromRemoteIndexDownloadTest.java This sample download the index from central repository and do some search. HTH 2013/6/10 Nathan Coast

Re: consuming maven repository indexes

2013-06-10 Thread Tamás Cservenák
Take a peek here, this is a standalone example doing (I guess) exactly what you need: https://github.com/cstamas/maven-indexer-examples/tree/master/indexer-example-01 Note: on nexus end, you probably want to enable publish indexes to make Nx publish those for downstream consumption. Thanks, ~t~

Re: consuming maven repository indexes [I]

2013-06-10 Thread Nathan Coast
Classification: For internal use only Thanks Tamas, Olivier, Your code examples look excellent for my requirements. From your code, the indexer pulls the remote index into a local cache and the queries are performed against the local cache. Is this correct? thanks again, Nathan From:

Re: consuming maven repository indexes [I]

2013-06-10 Thread Olivier Lamy
2013/6/10 Nathan Coast nathan.co...@db.com: Classification: For internal use only Thanks Tamas, Olivier, Your code examples look excellent for my requirements. From your code, the indexer pulls the remote index into a local cache and the queries are performed against the local cache. Is

Re: How to deal with dependencies that need more info

2013-06-10 Thread Cristiano Gavião
Hi Jörg, I got the point now. thanks for the suggestion. regards, Cristiano 2013/6/10 Jörg Schaible joerg.schai...@scalaris.com Cristiano Gavião wrote: Hi Wayne, Let me explain a bit what I'm trying to achieve. I've created a plugin where I've defined a new packaging type. it uses

RE: Release not creating source and javadoc jars

2013-06-10 Thread Timothy I. McGinnis
I am working on trying the release from the command line. My pom does not configure either the maven-source-plugin or the maven-javadoc-plugin. I thought they were automatically included when the release plugin was used. Is this correct? Or do I need to configure them? Tim McGinnis Sr.

Re: Release not creating source and javadoc jars

2013-06-10 Thread Anders Hammar
My pom does not configure either the maven-source-plugin or the maven-javadoc-plugin. I thought they were automatically included when the release plugin was used. Is this correct? Or do I need to configure them? They a re bound through a profile in the super-pom. That profile is normally

Re: Could not initialize class org.sonatype.guice.bean.reflect.Logs

2013-06-10 Thread Stuart McCulloch
I'm still unable to recreate this locally, even when using a project with exactly the same layout/hierarchy as the one from that gist. Does this happen when building from the command-line, or is there another step involved? Such as building from an IDE or from CI? On 30 May 2013 08:50, Simone

Re: Compile errors that make no sense

2013-06-10 Thread Lee Meador
Compile plugin has both set to 1.6. Using 'java version 1.6.0_35' according to java -version when I do mvn package I gave in and added a dependency to xmlbeans 1.0 and it compiled and built my jar. Still don't know why and that makes me nervous. Perhaps I'll have to kill a chicken on my monitor

Newbie trying to understand how to use some plugins

2013-06-10 Thread RICHARD DOUST
Hi, I'm new to Maven. I'm migrating an EAR that contains 2 war files and an EJB jar file from JBoss 4.2.2 to JBoss AS 7. In the process, I'm moving to Maven, as it seems to manage dependencies quite a lot better than Ant. So far, I've created a multi-module POM with 5 sub-modules. I've gotten

Re: Newbie trying to understand how to use some plugins

2013-06-10 Thread Wayne Fay
Anyway, I'm running into issues at deployment time (just starting with the EJB jar as a standalone deployment) because the EJB jar depends on a 3rd party jar that is not available on the server. If you **really** need to make the EJB jar work in standalone deployment (which is not

Re: Newbie trying to understand how to use some plugins

2013-06-10 Thread Ron Wheeler
Is this a problem that an installer solves in a much more flexible way? Clearly assembly and shade can do a lot but sometimes it appears that linking to an existing installer with a Maven plug-in (izpack for example) might do it in a more simple and flexible way and allow a lot more pieces to

[ANN] Mojo's Tidy Maven Plugin 1.0-alpha-1 Released

2013-06-10 Thread Stephen Connolly
Hi, The Mojo team is pleased to announce the release of Mojo's Tidy Maven Plugin version 1.0-alpha-1. The Tidy Plugin is used when you want to sort the sections of a pom.xml into the canonical order. http://mojo.codehaus.org/tidy-maven-plugin/ To get this update, simply specify the version in

[ANN] Maven Surefire Plugin 2.15 Released

2013-06-10 Thread Andreas Gudian
The Maven team is pleased to announce the release of the Maven Surefire Plugin, version 2.15 This is the first release that does not support JVM versions prior 1.5 to be forked. You should specify the version in your project's plugin configuration: plugin

how to deploy multiple wars using the tomcat plugin in maven

2013-06-10 Thread tonyelaltaico
From the forums that I followed I tried some ways to find a way to deploy mutliple wars using tomcat plugin in maven but I could not succeed. I created a third project and used three projects in order to deploy them but I have not done it. Could you please tell me way to do it ? Best Regards

Re: how to deploy multiple wars using the tomcat plugin in maven

2013-06-10 Thread Baptiste Mathus
What command have you tried and what was the error? Le 11 juin 2013 01:15, tonyelaltaico alperko...@gmail.com a écrit : From the forums that I followed I tried some ways to find a way to deploy mutliple wars using tomcat plugin in maven but I could not succeed. I created a third project and