random-maven / scalor-maven-plugin

Build integrator for Java, Scala, Scala.macro, Scala.js, Scala.native, Eclipse and Maven.
https://random-maven.github.io/scalor-maven-plugin/2.12/plugin-info.html
Other
50 stars 6 forks source link

Problems compiling twirl-templates #19

Open andreak opened 6 years ago

andreak commented 6 years ago

I use the twirl-maven-plugin (v.1.1) to generate Scala-sources from Twirl-templates. These sources are generated in target/generated-sources/twirl/ and it seems the Scalor-maven-plugin is unable to find these sources and I'm getting the following error compiling this line (InvoicePdfHelper.scala:38)

val xmlResult = com.visena.invoice.report.pdf.xml.InvoiceTimesheetGroupedOnInvoiceLinesPDF.render(invoicePrintDto, includePrices)
[ERROR] [compile-main] [FAIL] [Error] /home/andreak/dev/origo-branches/scalor-maven-plugin/core/src/main/scala/no/officenet/origo/core/domain/model/invoice/InvoicePdfHelper.scala:38: object visena is not a member of package com
Andrei-Pozolotin commented 6 years ago

I guess it has to do with phase/goal ordering. please publish minimal reproducible case project somewhere.