davidB / scala-archetype-simple

a simple maven archetype for project in scala
Creative Commons Zero v1.0 Universal
109 stars 95 forks source link

scalac error: bad option: '-make:transitive' #21

Closed polentino closed 6 years ago

polentino commented 8 years ago

On a completely new maven project, running mvn compile will produce the following error:

[ERROR] scalac error: bad option: '-make:transitive'

Thus, the line <arg>-make:transitive</arg> shoul be removed from the pom file.

libasoles commented 7 years ago

That was treated here: https://github.com/davidB/scala-archetype-simple/issues/8 And merged here: https://github.com/davidB/scala-archetype-simple/pull/11

See, the line is not there anymore: https://github.com/davidB/scala-archetype-simple/blob/master/src/main/resources/archetype-resources/pom.xml

However, I'm facing the same problem than you. Now sure why!. See, I'm using the archetype like this:

mvn archetype:generate -B -DarchetypeGroupId=net.alchim31.maven -DarchetypeArtifactId=scala-archetype-simple -DarchetypeVersion=1.6 -DgroupId=com.dada -DartifactId=scala-dada -Dversion=0.1-SNAPSHOT

That's the latest version, 1.6, so what's wrong?

Did you already solve this @polentino ?

polentino commented 7 years ago

@libasoles sorry for the late reply. Of course we're both facing this problem: #11 was merged on Dec 5, 2015 but the latest version of the archetype, 1.6, dates back to June 07, 2015.

@davidB , are there any plans for an updated version of the archetype?

M3ssman commented 6 years ago

Anything new regarding this issue? I'm too facing same problem using V1.6?

davidB commented 6 years ago

I had issue to sign with gpg + maven on my current computer. I should be able restore my old computer next week-end and to release a new version.

Sorry for delay.

davidB commented 6 years ago

Should be fixed with 1.7