You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by br...@apache.org on 2017/12/22 09:16:58 UTC
[incubator-plc4x] 04/07: Configure build to run Scala compilation
This is an automated email from the ASF dual-hosted git repository.
britter pushed a commit to branch PLC4X-12
in repository https://gitbox.apache.org/repos/asf/incubator-plc4x.git
commit f316703235053c0441f81aa6cabec3a3a5245c7a
Author: Benedikt Ritter <be...@codecentric.de>
AuthorDate: Sun Nov 19 17:57:15 2017 +0100
Configure build to run Scala compilation
---
plc4s/pom.xml | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/plc4s/pom.xml b/plc4s/pom.xml
index 08235bf..2a9b115 100644
--- a/plc4s/pom.xml
+++ b/plc4s/pom.xml
@@ -53,6 +53,29 @@
</plugin>
</plugins>
</pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>net.alchim31.maven</groupId>
+ <artifactId>scala-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>scala-compile-first</id>
+ <phase>process-resources</phase>
+ <goals>
+ <goal>add-source</goal>
+ <goal>compile</goal>
+ </goals>
+ </execution>
+ <execution>
+ <id>scala-test-compile</id>
+ <phase>process-test-resources</phase>
+ <goals>
+ <goal>testCompile</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
</build>
<dependencyManagement>
--
To stop receiving notification emails like this one, please contact
"commits@plc4x.apache.org" <co...@plc4x.apache.org>.