<profile> <id>maven2.0</id> <activation> <activeByDefault>true</activeByDefault> </activation> <systemProperties> <property>
<name>JAVA_HOME</name> <value>${JAVA_HOME}</value> </property> <property> <name>M2_HOME</name> <value>${M2_HOME}</value> </property> </systemProperties> oder durch Umgebungsvariablen für das Einsteck wie <plugin> <artifactId>maven-surefire-plugin</artifactId> <configuration> <childDelegation>true</childDelegation> <excludes> <exclude>org/codehaus/plexus/util/FileBasedTestCase.java</exclude> <exclude>**/Test*.java</exclude> </excludes> <systemProperties> <property> <name>JAVA_HOME</name> <value>${JAVA_HOME}</value> </property> <property> <name>M2_HOME</name> <value>${M2_HOME}</value> </property> </systemProperties> </configuration> </plugin> tut diese Hilfe? Martin ______________________________________________ Disclaimer and Confidentiality/Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité This message is confidential. If you should not be the intended receiver, then we ask politely to report. Each unauthorized forwarding or manufacturing of a copy is inadmissible. This message serves only for the exchange of information and has no legal binding effect. Due to the easy manipulation of emails we cannot take responsibility over the the contents. Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen. Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > Date: Sat, 11 Apr 2009 10:36:42 +0200 > From: khmarba...@gmx.de > To: users@maven.apache.org > Subject: Multimodule Project and a configuration file for a plugin > > 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 > _________________________________________________________________ Quick access to your favorite MSN content and Windows Live with Internet Explorer 8. http://ie8.msn.com/microsoft/internet-explorer-8/en-us/ie8.aspx?ocid=B037MSN55C0701A