Re: Using maven to modify a vendor supplied war/ear

2011-12-08 Thread Jörg Schaible
Bruce Albrecht wrote: Our company has several projects where we have received a war or ear from a vendor, and we need to insert jars or configuration files into the vendor artifact before deploying them. Is there an existing maven plugin that can handle this? If there is such a plugin, can

Re: APT: How to add relative links with special symbols?

2011-12-08 Thread Tsz-Wo Nicholas Sze
Hi Lukas, Thanks a lot for the reply.  So there is no way to do it due to DOXIA-397. I got a second question: Is it possible to add links in verbatim text?  The following does not work. +--- A link: {{{http://host/foo}foo}}

Re: APT: How to add relative links with special symbols?

2011-12-08 Thread Lukas Theussl
Tsz-Wo Nicholas Sze wrote: Hi Lukas, Thanks a lot for the reply. So there is no way to do it due to DOXIA-397. As noted there, a workaround is to use absolute links. I got a second question: Is it possible to add links in verbatim text? The following does not work. No, as documented

Re: APT: How to add relative links with special symbols?

2011-12-08 Thread Tsz-Wo Nicholas Sze
Hi Lukas, I have read the apt doc but I wonder if you may have some trick to do it.  :) Thanks again. Nicholas From: Lukas Theussl ltheu...@apache.org To: Maven Users List users@maven.apache.org Sent: Thursday, December 8, 2011 12:44 AM Subject: Re: APT:

Re: APT: How to add relative links with special symbols?

2011-12-08 Thread Lukas Theussl
Use xdoc for anything serious, that's my trick! :) -Lukas Tsz-Wo Nicholas Sze wrote: Hi Lukas, I have read the apt doc but I wonder if you may have some trick to do it. :) Thanks again. Nicholas From: Lukas Theusslltheu...@apache.org To: Maven Users

Re: Maven site documentation problem

2011-12-08 Thread Kathryn Huxtable
Let's hear it for version control. Also undelete. -K On Dec 7, 2011, at 9:58 AM, Jim McCaskey wrote: Hello all, As a sort of public service announcement I would like to point out a problem with the docs here:

web-app version in all app screens

2011-12-08 Thread Prashant Neginahal
Hi, There is requirement to display the webapp.war version in all application screens. How does maven help on this? Many Thanks. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail:

Re: web-app version in all app screens

2011-12-08 Thread Stephen Connolly
It doesn't. You can use Maven to help get the application version into a property file on the classpath of the webapp. (Just as you can use other build tools... but it is trivially easy with Maven (as it does this by default /META-INF/maven/groupId/artifactId/pom.properties there is a property

How to merge the manifest.mf

2011-12-08 Thread pluto.bing.liu
Hi, I use my own manifest.mf in the POM.xml like this: plugin artifactIdmaven-jar-plugin/artifactId version2.3.2/version configuration archive manifestFileMETA-INF/MANIFEST.MF/manifestFile manifestEntries Bundle-Version${project.version}/Bundle-Version

Re: APT: How to add relative links with special symbols?

2011-12-08 Thread Tsz Wo Sze
Hi Lukas, I have read the apt doc but I wonder if you may have some trick to do it.  :) Thanks again. Nicholas From: Lukas Theussl ltheu...@apache.org To: Maven Users List users@maven.apache.org Sent: Thursday, December 8, 2011 12:44 AM Subject: Re: APT:

Re: Using maven to modify a vendor supplied war/ear

2011-12-08 Thread Manfred Moser
On 11-12-08 12:09 AM, Jörg Schaible wrote: Bruce Albrecht wrote: Our company has several projects where we have received a war or ear from a vendor, and we need to insert jars or configuration files into the vendor artifact before deploying them. Is there an existing maven plugin that can

Re: Migrating from Maestro to Apache Maven - Archiva

2011-12-08 Thread Brett Porter
Hi Alex, For Maven, you're essentially using Maven 2.0.4. The transition to Maven 3 should not be too painful from there. You should double-check your dependency resolution is still what you expect (that underwent some changes in Maven 2.0.6, but was largely unchanged after that). You should

Re: How to merge the manifest.mf

2011-12-08 Thread Wayne Fay
But, when the operation completed, the manifest.mf is not changed.How to merge?Thanks First off, the usual location for this file is src/main/resources/META-INF/MANIFEST.MF. So my first try would be to move the file there and change the configuration to see if that does anything. Then I would

versions-maven-plugin: specfify to update only dependencies from a special, inhouse repository only

2011-12-08 Thread Mirko Friedenhagen
Hello, I would like to update the versions in the dependencyManagement section for our inhouse artifacts only, which are specified in our global parent pom. Is there a way to specify dependencies by groupId:artifactId which should (or should not) be updated automatically? Regards Mirko --

Re: versions-maven-plugin: specfify to update only dependencies from a special, inhouse repository only

2011-12-08 Thread Mirko Friedenhagen
I found the answer, should have looked at http://mojo.codehaus.org/versions-maven-plugin/examples/advancing-dependency-versions.html beforehand :-). Sorry for the noise. Regards Mirko On Thu, Dec 8, 2011 at 21:24, Mirko Friedenhagen mfriedenha...@gmail.com wrote: Hello, I would like to update

counting tests in maven-invoker-plugin

2011-12-08 Thread Andrew Eisenberg
Hi all, I am using the maven-invoker-plugin to test a maven plugin of mine. Things are generally working well for this. The test projects are being compiled, tested and packaged. What I need to do now is verify the number of tests run for each test project. To be more specific, for each of my

Re: writing a maven plugin that transparently adds a new source folder

2011-12-08 Thread Andrew Eisenberg
Just an update on this in case there is anyone else who is interested. I found an answer to this on stackoverflow: http://stackoverflow.com/questions/8389825/creating-a-maven-mojo-that-automatically-adds-new-source-folders-to-the-build On Wed, Nov 30, 2011 at 3:07 PM, Stephen Connolly

Re: How to merge the manifest.mf

2011-12-08 Thread pluto.bing.liu
Thank you very much. -- View this message in context: http://maven.40175.n5.nabble.com/How-to-merge-the-manifest-mf-tp5058051p5060817.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe,

Re: How to merge the manifest.mf

2011-12-08 Thread pluto.bing.liu
Hi, I try it, but the result is not my expected.My Directory like this: --- -src -main -java -‘sources’ -resources -‘other resource files’ -META-INF -MANIFEST.MF -spring -‘some