You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 .
The text was updated successfully, but these errors were encountered:
Moved from the wiki
Update link to 'contributing' help
This is not in the standard place (CONTRIBUTING.md) not the wiki.
Fix Scala version to 2.10.1 to avoid confusing Gradle when it reads scalagen
Bump to 0.5.0 in next release
Add fork of scalagen that suffer artifact resolution problems
See timowest/scalagen#87
wigbam
pushed a commit
to wigbam/jsonschema2pojo
that referenced
this issue
Nov 25, 2017
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 .
The text was updated successfully, but these errors were encountered: