blob: 47c26e9926da2e031093887c8b8006d88c888b97 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<document xmlns="http://maven.apache.org/XDOC/2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 http://maven.apache.org/xsd/xdoc-2.0.xsd">
<properties>
<title>sop-addMissingLicense2JavaFile</title>
</properties>
<body>
<section name="Context">
<p>Sometimes your gerrit failed due to missing license header files. This has been detected thanks to the com.mycila.license-maven-plugin plugin</p>
</section>
<section name="How to add license in batch mode?">
<source>mvn license:format -Dlicense.header=/home/flefevre/gitNeon/org.eclipse.papyrus.tools/components/org.eclipse.papyrus.components.parent/src/etc/epl.header.cea.txt</source>
</section>
<section name="Run mvn from any pom directory and enable license check">
<p>Add the following property to reference the root directory of the sysml project</p>
<source>-Dcomponent.root=</source>
</section>
</body>
</document>