Add pom.xml to scala component#174
Conversation
This requires moving the examples into src/test/scala/examples By using pom-scijava as a parent POM, we can easily deploy to Maven Central or to maven.imagej.net in the future.
|
Thanks! I'll review the PR shortly, but note that maven is an unusual choice for a build tool for Scala (sbt is typical), so I'm likely to take the details and port them to sbt instead to avoid requiring people to use multiple sets of tools to accomplish what can be done with one tool. (On the other hand, getting sbt to publish successfully is a bit of work; if the maven thing is substantially easier, maybe that's the way to go.) |
|
I chose maven just because I'm not so familiar with sbt and scala, but re-using the maven setup from |
|
@imagejan - However we handle the logistics, having an artifact published on Maven would be great. I'll try to get it up this week. (I usually end up struggling with Sonatype for a good while before I get anything published, though.) |
|
this seems harmless enough, after 8 years perhaps we could just merge this. @pgleeson |
This PR add a
pom.xmlto be able to build the scala component with maven. It would make it possible to easily deploy to a Maven repository, where other Maven-based projects can use it.(this required moving the examples into
src/test/scala/examples)If this is acceptable, let me know if I should update the
<developers>and<contributors>section according to the team role definitions.