Commit 8670471c authored by Nikolay's avatar Nikolay

* Fixed the Java 8 and Maven integration problem (modules/cloudsim/pom.xml)

* Set the Java source version to 6 in the main pom.xml, for consistency
parent ec259845
......@@ -10,6 +10,28 @@
<artifactId>cloudsim</artifactId>
<name>cloudsim</name>
<!-- Switch OFF the docling in Java 8 -->
<profiles>
<profile>
<id>doclint-java8-disable</id>
<activation>
<jdk>[1.8,)</jdk>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<additionalparam>-Xdoclint:none</additionalparam>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<!-- ===================================== -->
<build>
<plugins>
<plugin>
......@@ -25,6 +47,22 @@
</goals>
</execution>
</executions>
<configuration>
<!-- failOnError>false</failOnError -->
<tags>
<tag>
<name>pre</name>
<placement>a</placement>
<head>Precondition:</head>
</tag>
<tag>
<name>post</name>
<placement>a</placement>
<head>Postcondition:</head>
</tag>
</tags>
</configuration>
</plugin>
</plugins>
</build>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment