Hello
I like the fact that Eclipse has a 'convert to maven project' feature.
Unfortunately, when I used this on an Eclipse plugin project, it did not convert the project to maven, but merely added a pom file.
The project has the following dependencies, which I would have expected these to be converted to maven dependencies.
.
After running the conversion project, this is the resulting maven pom file - notice no dependencies have been added:
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>my.company</groupId>
<artifactId>project</artifactId>
<version>0.0.1-SNAPSHOT</version>
<build>
<sourceDirectory>src-gen</sourceDirectory>
<resources>
<resource>
<directory>src</directory>
<excludes>
<exclude>**/*.java</exclude>
</excludes>
</resource>
</resources>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.6.1</version>
<configuration>
<source/>
<target/>
</configuration>
</plugin>
</plugins>
</build>
</project>
[Updated on: Sat, 12 August 2017 03:48] by Moderator