bmwcarit / barefoot

Java map matching library for integrating the map into software and services with state-of-the-art online and offline map matching that can be used stand-alone and in the cloud.
Apache License 2.0
665 stars 186 forks source link

mvn deploy duplicate upload #64

Closed jongiddy closed 7 years ago

jongiddy commented 7 years ago

mvn install creates two "with-dependencies" JARs: "matcher" and "tracker". Using the mvn deploy command (after setting a remote repository) uploads both of these using the same name: com/bmw-carit/barefoot/0.1.1/barefoot-0.1.1-jar-with-dependencies.jar. Depending on the remote repository configuration, the deploy either fails or silently overwrites the first JAR.

There are several solutions to this, and I'd be happy to propose a patch, but what behaviour is desired? Simple solutions include:

A more difficult solution is to upload the JARs with their additional tags, something like com/bmw-carit/barefoot/0.1.1/barefoot-0.1.1-matcher-jar-with-dependencies.jar.

jongiddy commented 7 years ago

Giving the JAR files different names wasn't as hard as I thought, so I have submitted #65 as a patch.