I think the problem here is the way the scalagen module users a property, defined by its own profiles to define the artifactid. So the artifact is resolved, but the scala-2.9.x profile defined in that same pom.xml and set as active by default then changes the id of the artifact itself. So you load scalagen_2.10.1 and it's contents changes it's own artifactid to scalagen_2.9.3.
I've tried various techniques, including:
seting scala.version explicitly in my own pom.xml;
disabling the scala-2.9.x profile
setting the scala-2.10.x profile active by default in my own pom.xml
but no matter what I try I get the same error. I don't believe it's possible to use this module without someone having to set -Pscala-2.10.x on all builds.
So I'm planning to fork this library and modify the artifactid to remove this property. I'll package a modified version of this library as a module of my own project, and .
I'm getting the following error trying to use the scalagen_2.10.1 module via gradle. When I add this dependency I see this error:
I think the problem here is the way the scalagen module users a property, defined by its own profiles to define the artifactid. So the artifact is resolved, but the
scala-2.9.x
profile defined in that same pom.xml and set as active by default then changes the id of the artifact itself. So you loadscalagen_2.10.1
and it's contents changes it's own artifactid toscalagen_2.9.3
.I've tried various techniques, including:
scala.version
explicitly in my own pom.xml;scala-2.9.x
profilescala-2.10.x
profile active by default in my own pom.xmlbut no matter what I try I get the same error. I don't believe it's possible to use this module without someone having to set
-Pscala-2.10.x
on all builds.So I'm planning to fork this library and modify the artifactid to remove this property. I'll package a modified version of this library as a module of my own project, and .