Configure license format
<maven.compiler.argument.source>${maven.compiler.source}</maven.compiler.argument.source>
<maven.compiler.argument.testTarget>${maven.compiler.testTarget}</maven.compiler.argument.testTarget>
<maven.compiler.argument.testSource>${maven.compiler.testSource}</maven.compiler.argument.testSource>
+
+ <mycila-license.version>3.0</mycila-license.version>
</properties>
<modules>
</pluginRepository>
</pluginRepositories>
+ <profiles>
+ <profile>
+ <id>license</id>
+ <build>
+ <defaultGoal>license:format</defaultGoal>
+ <plugins>
+ <plugin>
+ <groupId>com.mycila</groupId>
+ <artifactId>license-maven-plugin</artifactId>
+ <version>${mycila-license.version}</version>
+ <configuration>
+ <header>header.txt</header>
+ <excludes>
+ <exclude>KEYS</exclude>
+ <exclude>**/NOTICE</exclude>
+ <exclude>**/LICENSE</exclude>
+ <exclude>**/NOTICE.txt</exclude>
+ <exclude>**/LICENSE.txt</exclude>
+ <exclude>doap.rdf</exclude>
+ <exclude>**/README</exclude>
+ <exclude>**/*.adoc</exclude>
+ <exclude>**/node_modules/**</exclude>
+ <exclude>**/cacerts</exclude>
+ <exclude>**/*.p12</exclude>
+ <exclude>**/*.txt</exclude>
+ <exclude>.mvn/**</exclude>
+ <exclude>mvnw*</exclude>
+ <exclude>**/META-INF/persistence*.xsd</exclude>
+ <exclude>**/MyRoutesWithPackage.java</exclude>
+ </excludes>
+ <mapping>
+ <java>SLASHSTAR_STYLE</java>
+ <groovy>SLASHSTAR_STYLE</groovy>
+ <properties>CAMEL_PROPERTIES_STYLE</properties>
+ <spring.factories>CAMEL_PROPERTIES_STYLE</spring.factories>
+ <spring.provides>CAMEL_PROPERTIES_STYLE</spring.provides>
+ </mapping>
+ <headerDefinitions>
+ <headerDefinition>license-properties-headerdefinition.xml</headerDefinition>
+ </headerDefinitions>
+ </configuration>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.camel</groupId>
+ <artifactId>camel-buildtools</artifactId>
+ <!-- TODO not in M2 -->
+ <version>3.0.0-M3</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+
</project>
