Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4
-
None
-
None
Description
Maven 3 has stricter pom parsing and an invalid character in the ftpserver-parent prevents it from being used when resolving the ftplet-api transitive dependency from ftpserver-core.
I've confirmed this affects all 1.0 versions. In the parent pom (for example https://repository.sonatype.org/service/local/repositories/central-proxy/content/org/apache/ftpserver/ftpserver-parent/1.0.0/ftpserver-parent-1.0.0.pom) see the see the 'r' between </groupId> and <artifactId>.
I've attached an example project that illustrates this. See the *-session.txt files for a comparison between Maven 2 and 3. A work around is to declare the ftplet-api dependency directly, as seen in a build with pom-with-transitive.xml .