scalameta / maven-scala-seed.g8

A Giter8 template for a sample Scala project using the Maven build tool!
1 stars 1 forks source link

Template generating wrong for scala 3 #18

Closed yadavan88 closed 2 months ago

yadavan88 commented 2 months ago

Hi, The g8 template doesn't generate correctly for scala3 as the scala-library artifact id is different from scala 2.

Expected:

<dependency>
      <groupId>org.scala-lang</groupId>
      <artifactId>scala3-library_3</artifactId>
      <version>3.3.3</version>
    </dependency>

Generated:

<dependency>
      <groupId>org.scala-lang</groupId>
      <artifactId>scala-library</artifactId>
      <version>3.3.3</version>
    </dependency>
tgodzik commented 2 months ago

Should be fixed, you don't have to add Scala library manually, so removed it from the template