Eliminate twirl execution from mdsal-binding2-generator-impl 60/68760/2
authorRobert Varga <robert.varga@pantheon.tech>
Mon, 26 Feb 2018 00:04:00 +0000 (01:04 +0100)
committerRobert Varga <nite@hq.sk>
Thu, 22 Mar 2018 19:09:41 +0000 (19:09 +0000)
We do not have any templates left, speed up compilation by eliminating
unneeded plugin invocations. Also fixe project import in default Eclipse.

Change-Id: I3416f2cd5ed50e4a914817a205a5ca56a85091da
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
binding2/mdsal-binding2-generator-impl/pom.xml

index 25a7fe47d6f766405a771e3eb26748cbfc69c2f3..628a01fb53eb4f757970e2152b1a26e95b1bc66a 100644 (file)
             <groupId>com.google.guava</groupId>
             <artifactId>guava</artifactId>
         </dependency>
-        <dependency>
-            <groupId>com.typesafe.play</groupId>
-            <artifactId>twirl-api_2.12</artifactId>
-            <version>1.3.13</version>
-        </dependency>
     </dependencies>
 
     <build>
                     </instructions>
                 </configuration>
             </plugin>
-
-            <!-- Twirl -> compile Twirl files to Scala without Play framework dependencies needed -->
-            <plugin>
-                <groupId>com.jakewharton.twirl</groupId>
-                <artifactId>twirl-maven-plugin</artifactId>
-                <version>1.1.0</version>
-                <executions>
-                    <execution>
-                        <id>twirl-to-scala-first</id>
-                        <phase>generate-sources</phase>
-                        <goals>
-                            <goal>compile</goal>
-                        </goals>
-                    </execution>
-                </executions>
-            </plugin>
-
-            <!-- Scala -> compile Scala files generated from Twirl -->
-            <plugin>
-                <groupId>net.alchim31.maven</groupId>
-                <artifactId>scala-maven-plugin</artifactId>
-                <version>3.3.1</version>
-                <executions>
-                    <execution>
-                        <id>scala-compile-second</id>
-                        <phase>process-resources</phase>
-                        <goals>
-                            <goal>add-source</goal>
-                            <goal>compile</goal>
-                        </goals>
-                    </execution>
-                </executions>
-            </plugin>
-
         </plugins>
     </build>
-
-
-  <!--
-      Maven Site Configuration
-
-      The following configuration is necessary for maven-site-plugin to
-      correctly identify the correct deployment path for OpenDaylight Maven
-      sites.
-  -->
-  <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
-
-  <distributionManagement>
-    <site>
-      <id>opendaylight-site</id>
-      <url>${nexus.site.url}/${project.artifactId}/</url>
-    </site>
-  </distributionManagement>
-
 </project>