jaxb2-maven-plugin
jaxb2-maven-plugin copied to clipboard
xjc deleted project
Settings were:
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>jaxb2-maven-plugin</artifactId>
<version>2.5.0</version>
<executions>
<execution>
<id>xjc</id>
<goals>
<goal>xjc</goal>
</goals>
</execution>
</executions>
<configuration>
<packageName>com.example.myschema</packageName>
<outputDirectory>${basedir}</outputDirectory>
<sources>
<source>${basedir}/src/main/resources/schemas</source>
</sources>
</configuration>
</plugin>
Execution lead to deleting everything inclusive `.git/. It's my fault for setting the output Dir to the basdir. But should not there something to prevent me shooting my own foot?