nmcl/JavaSim

maven issue

Closed this issue · 1 comments

nmcl commented

[WARNING]
[WARNING] Some problems were encountered while building the effective model for javasim:javasim:jar:2.1.CR1
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 11, column 15
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]

nmcl commented

Add a 'version' element after the 'plugin' 'artifactId' in the example's pom.xml file:

        <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-compiler-plugin</artifactId>
            <version>3.6.0</version>
            <configuration>
                <source>1.8</source>
                <target>1.8</target>
            </configuration>
        </plugin>