Remove project local Xtend dependencyManagement and Maven plugin 40/41740/4
authorMichael Vorburger <vorburger@redhat.com>
Tue, 12 Jul 2016 23:45:08 +0000 (01:45 +0200)
committerRobert Varga <nite@hq.sk>
Mon, 18 Jul 2016 12:39:34 +0000 (12:39 +0000)
Because we now have this available in odl-parent.  Note that the
configuration there is slightly different and uses
target/generated-source instead of src.  Therefore the clean is no
longer needed.  Also add-source does not seem to be required; I've found
that the Xtend Maven plugin and the Xtend IDE M2E support already cover
this correctly by themselves.

Change-Id: Ic878b7c3d63c06595e61c42f0b729bf3d50861cf
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
common/parent/pom.xml

index 399074e243486a0007237351de61b07a4779e52f..d32dbdf06d759ec1d3b609762ff953db73d31f0a 100644 (file)
                 <artifactId>maven-plugin-api</artifactId>
                 <version>3.3.3</version>
             </dependency>
-            <dependency>
-                <groupId>org.eclipse.xtend</groupId>
-                <artifactId>org.eclipse.xtend.lib</artifactId>
-                <version>2.9.2</version>
-            </dependency>
-            <dependency>
-                <groupId>org.eclipse.xtend</groupId>
-                <artifactId>org.eclipse.xtend.lib.macro</artifactId>
-                <version>2.9.2</version>
-            </dependency>
-            <dependency>
-                <groupId>org.eclipse.xtext</groupId>
-                <artifactId>org.eclipse.xtext.xbase.lib</artifactId>
-                <version>2.9.2</version>
-            </dependency>
-
             <dependency>
                 <groupId>org.glassfish.jersey.ext</groupId>
                 <artifactId>jersey-proxy-client</artifactId>
                                 <sources>
                                     <source>target/generated-sources/parser</source>
                                     <source>${salGeneratorPath}</source>
-                                    <source>${basedir}/src/main/xtend-gen</source>
                                 </sources>
                             </configuration>
                         </execution>
                     </executions>
                 </plugin>
-                <plugin>
-                    <groupId>org.eclipse.xtend</groupId>
-                    <artifactId>xtend-maven-plugin</artifactId>
-                    <version>2.9.2</version>
-                    <executions>
-                        <execution>
-                            <goals>
-                                <goal>compile</goal>
-                            </goals>
-                            <configuration>
-                                <outputDirectory>${basedir}/src/main/xtend-gen</outputDirectory>
-                            </configuration>
-                        </execution>
-                    </executions>
-                </plugin>
                 <plugin>
                     <groupId>org.apache.servicemix.tooling</groupId>
                     <artifactId>depends-maven-plugin</artifactId>
                 </executions>
                 -->
             </plugin>
-
-            <plugin>
-                <artifactId>maven-clean-plugin</artifactId>
-                <configuration>
-                    <filesets>
-                        <fileset>
-                            <directory>${basedir}/src/main/xtend-gen</directory>
-                            <includes>
-                                <include>**</include>
-                            </includes>
-                        </fileset>
-                    </filesets>
-                </configuration>
-            </plugin>
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-jar-plugin</artifactId>