You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Christophe Hamerling - EBM WebSourcing <ch...@ebmwebsourcing.com> on 2007/03/05 15:32:50 UTC

Release plugin : SCM URL construction

Hi all,

I have a project with multiple modules. The modules have not the same 
value as the artifact ones, for example:
I have a module named module1 but the module1 pom defines an artifactId 
myapp-module1.
When preparing the release with the release plugin, the generated 
release.properties file contains:


scm.url=scm\:svn\:svn+ssh\://login@svn.forge.corpo/svnroot/myproject/trunk/myapp-module1

But I want to have

scm.url=scm\:svn\:svn+ssh\://login@svn.forge.corpo/svnroot/myproject/trunk/module1

Is it a bug in the maven plugin? Could I configure the plugin with some 
options?
Do I have to override SCM values for all my modules (~20) ? (Not really 
clean)
Or simply, do I have to change the directory names to match with the 
artifactId?

Thanks

Christophe Hamerling


Re: Release plugin : SCM URL construction

Posted by Dan Tran <da...@gmail.com>.
It is a known limitation of maven-scm, the work around is

  1. configure SCM element in your sub module

  or

  2. your module and artifactId to be the same.


-D

On 3/5/07, Christophe Hamerling - EBM WebSourcing <
christophe.hamerling@ebmwebsourcing.com> wrote:
>
> Hi all,
>
> I have a project with multiple modules. The modules have not the same
> value as the artifact ones, for example:
> I have a module named module1 but the module1 pom defines an artifactId
> myapp-module1.
> When preparing the release with the release plugin, the generated
> release.properties file contains:
>
>
> scm.url=scm\:svn\:svn+ssh\://login@svn.forge.corpo
> /svnroot/myproject/trunk/myapp-module1
>
> But I want to have
>
> scm.url=scm\:svn\:svn+ssh\://login@svn.forge.corpo
> /svnroot/myproject/trunk/module1
>
> Is it a bug in the maven plugin? Could I configure the plugin with some
> options?
> Do I have to override SCM values for all my modules (~20) ? (Not really
> clean)
> Or simply, do I have to change the directory names to match with the
> artifactId?
>
> Thanks
>
> Christophe Hamerling
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>

RE: site and ms word

Posted by Ti...@swisscom.com.
yes I meant this, it would be nicer to have the docs as html...

-----Original Message-----
From: Wendy Smoak [mailto:wsmoak@gmail.com] 
Sent: Monday, March 05, 2007 4:15 PM
To: Maven Users List
Subject: Re: site and ms word

On 3/5/07, Tilman.Rossmy@swisscom.com <Ti...@swisscom.com>
wrote:

> How does one handle ms word documents with the site goal?

I generally put them (and other binary formats like pdf) under
src/site/resources so they will be copied over to the generated site,
then link to them from an apt or xdoc page.

> Can I use the word2html plugin with maven2?
> How?

This?
http://maven-plugins.sourceforge.net/maven-word2html-plugin/goals.html

--
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: site and ms word

Posted by Wendy Smoak <ws...@gmail.com>.
On 3/5/07, Tilman.Rossmy@swisscom.com <Ti...@swisscom.com> wrote:

> How does one handle ms word documents with the site goal?

I generally put them (and other binary formats like pdf) under
src/site/resources so they will be copied over to the generated site,
then link to them from an apt or xdoc page.

> Can I use the word2html plugin with maven2?
> How?

This?  http://maven-plugins.sourceforge.net/maven-word2html-plugin/goals.html

-- 
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


site and ms word

Posted by Ti...@swisscom.com.
How does one handle ms word documents with the site goal?
Can I use the word2html plugin with maven2?
How?
Thanx
Tilman

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org