Remove all/target/src and all/target/classes after building the all-in-one JAR and Xref
.. so that IDEA does not add all/target/src and all/target/classes to the source and class path.
This commit is contained in:
parent
17b91f416d
commit
0f80aad929
18
all/pom.xml
18
all/pom.xml
@ -347,6 +347,24 @@
|
||||
<locale>en_US</locale>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-antrun-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>clean-source-directory</id>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>run</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
<configuration>
|
||||
<target>
|
||||
<delete dir="${project.build.directory}/src" quiet="true"/>
|
||||
<delete dir="${project.build.directory}/classes" quiet="true"/>
|
||||
</target>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
||||
|
Loading…
Reference in New Issue
Block a user