Hi,

i have a multimodule setup and i'm using a plugin

<groupId>com.google.code.maven-license-plugin</groupId>
<artifactId>maven-license-plugin</artifactId>

but i have a little problem with the configuration of the plugin.

The plugin needs a file as a template as the license header.

But i would like to define only a single file so i have setup
it that way to use the file in the root module of my project...

So the root module uses

<configuration>
     <header>src/main/etc/header.txt</header>
....

But the submodules need to use a thing like this:

 <plugin>
    <groupId>com.google.code.maven-license-plugin</groupId>
    <artifactId>maven-license-plugin</artifactId>
    <version>${maven-license-plugin.version}</version>
    <configuration>
        <header>${basedir}/../src/main/etc/header.txt</header>
    </configuration>
 </plugin>

So this results in defining in every sub module such an entry...


Does there exist an opportunity to define a path to the root module within a multimodule setup so i need to define the path only at one
point...


If i don't make entries in the pom in the submodule the derived definition of the plugin is used with the defined path, but that would result in putting the file into every submodule...


So does someone has a better solution or a hint to improve this ?

Kind regards
Karl Heinz Marbaise
--
SoftwareEntwicklung Beratung Schulung    Tel.: +49 (0) 2405 / 415 893
Dipl.Ing.(FH) Karl Heinz Marbaise        ICQ#: 135949029
Hauptstrasse 177                         USt.IdNr: DE191347579
52146 Würselen                           http://www.soebes.de

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

Reply via email to