stevedlawrence opened a new issue, #161: URL: https://github.com/apache/daffodil-sbt/issues/161
The plugin sets `crossPaths := false`, the intention is to avoid the scala binary version suffix in jars doesn't really provide any value. This is because non-plugin projects contain no code so will work with any scala version, and plugins add a daffodilXYZ classifier to indicate which verison of Daffodil it works with, and that implies a scala binary version since each daffodil version only works with a specific scala version. However, in some cases, like in tests or plugins, it is useful to have source directories that are scala version specific, often used for shim code to deal with API differences in different versions o Daffodil. SBT will add these directories automatically, but setting `crossPaths := false` disables this. One possible solution is to set `crossPaths := true`, which adds back those directories, but then set `crossVersion := CrossVersion.disabled`, which disables adding the cross version to artifact jars, which was the original intention. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
