Updated pom files, added concepts component 54/1454/1
authorTony Tkacik <ttkacik@cisco.com>
Fri, 27 Sep 2013 11:38:22 +0000 (13:38 +0200)
committerTony Tkacik <ttkacik@cisco.com>
Fri, 27 Sep 2013 11:38:22 +0000 (13:38 +0200)
Change-Id: Id7e0b320b8edbe89c52220c13b1b0d70bf7d1e30
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
40 files changed:
code-generator/binding-generator-util/pom.xml
code-generator/pom.xml
concepts/pom.xml [new file with mode: 0644]
concepts/src/main/java/org/opendaylight/yangtools/concepts/Builder.java [new file with mode: 0644]
concepts/src/main/java/org/opendaylight/yangtools/concepts/Identifiable.java [new file with mode: 0644]
concepts/src/main/java/org/opendaylight/yangtools/concepts/Immutable.java [new file with mode: 0644]
concepts/src/main/java/org/opendaylight/yangtools/concepts/Mutable.java [new file with mode: 0644]
concepts/src/main/java/org/opendaylight/yangtools/concepts/MutationBehaviour.java [new file with mode: 0644]
concepts/src/main/java/org/opendaylight/yangtools/concepts/Namespace.java [new file with mode: 0644]
concepts/src/main/java/org/opendaylight/yangtools/concepts/OrderedSet.java [new file with mode: 0644]
model/iana/iana-afn-safi/pom.xml
model/iana/iana-if-type/pom.xml
model/ietf/ietf-inet-types/pom.xml
model/ietf/ietf-netconf/pom.xml [new file with mode: 0644]
model/ietf/ietf-ted/pom.xml
model/ietf/ietf-topology-isis/pom.xml
model/ietf/ietf-topology-l3-unicast-igp/pom.xml
model/ietf/ietf-topology-ospf/pom.xml
model/ietf/ietf-topology/pom.xml
model/ietf/ietf-yang-types/pom.xml
model/ietf/pom.xml
model/l2-types/pom.xml
model/pom.xml
model/yang-ext/pom.xml [moved from yang/yang-ext/pom.xml with 95% similarity]
model/yang-ext/src/main/yang/yang-ext.yang [moved from yang/yang-ext/src/main/yang/yang-ext.yang with 100% similarity]
pom.xml
third-party/pom.xml [new file with mode: 0644]
third-party/xtend-lib-osgi/pom.xml [new file with mode: 0644]
yang/pom.xml
yang/yang-binding/pom.xml
yang/yang-common/pom.xml
yang/yang-data-api/pom.xml
yang/yang-data-impl/pom.xml
yang/yang-data-util/pom.xml
yang/yang-maven-plugin-spi/pom.xml
yang/yang-maven-plugin/pom.xml
yang/yang-model-api/pom.xml
yang/yang-model-util/pom.xml
yang/yang-parser-api/pom.xml
yang/yang-parser-impl/pom.xml

index 33be499ffc1397224ef5cc98e7b52812278cb402..9d82149800016c2d5ef39dd6613feb15c3316b1b 100644 (file)
             <plugin>
                 <groupId>org.apache.felix</groupId>
                 <artifactId>maven-bundle-plugin</artifactId>
-                <extensions>true</extensions>
-                <configuration>
-                    <instructions>
-                        <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
-                    </instructions>
-                </configuration>
             </plugin>
         </plugins>
     </build>
index 834a326949939c21a6338bb7c6c4c665cb01e73e..0e18ee615ecf0b093adfa45f5a7b8e1507f9d7fc 100644 (file)
@@ -30,6 +30,7 @@
 
     <dependencyManagement>
         <dependencies>
+            <!-- Local Dependencies --> 
             <dependency>
                 <groupId>org.opendaylight.yangtools</groupId>
                 <artifactId>binding-model-api</artifactId>
@@ -65,6 +66,7 @@
                 <artifactId>maven-sal-api-gen-plugin</artifactId>
                 <version>${project.version}</version>
             </dependency>
+            <!-- YANG Utilities and Parser -->
             <dependency>
                 <groupId>org.opendaylight.yangtools</groupId>
                 <artifactId>yang-common</artifactId>
     </dependencyManagement>
 
     <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-compiler-plugin</artifactId>
-                <version>2.0</version>
-                <inherited>true</inherited>
-                <configuration>
-                    <source>1.7</source>
-                    <target>1.7</target>
-                </configuration>
-            </plugin>
-        </plugins>
         <pluginManagement>
-            <plugins>
-                <plugin>
-                    <groupId>org.apache.maven.plugins</groupId>
-                    <artifactId>maven-jar-plugin</artifactId>
-                    <version>${maven.jar.version}</version>
-                    <configuration>
-                        <archive>
-                            <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
-                        </archive>
-                    </configuration>
-                </plugin>
+            <plugins> 
                 <plugin>
                     <groupId>org.apache.felix</groupId>
                     <artifactId>maven-bundle-plugin</artifactId>
             </plugins>
         </pluginManagement>
     </build>
-
 </project>
diff --git a/concepts/pom.xml b/concepts/pom.xml
new file mode 100644 (file)
index 0000000..180d01d
--- /dev/null
@@ -0,0 +1,23 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+
+    <parent>
+        <groupId>org.opendaylight.yangtools</groupId>
+        <artifactId>yangtools</artifactId>
+        <version>0.5-SNAPSHOT</version>
+    </parent>
+    <packaging>bundle</packaging>
+    <modelVersion>4.0.0</modelVersion>
+    <artifactId>concepts</artifactId>
+    <name>Concepts</name>
+    <description>Java binding for YANG</description>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.felix</groupId>
+                <artifactId>maven-bundle-plugin</artifactId>
+            </plugin>
+        </plugins>
+    </build>
+</project>
diff --git a/concepts/src/main/java/org/opendaylight/yangtools/concepts/Builder.java b/concepts/src/main/java/org/opendaylight/yangtools/concepts/Builder.java
new file mode 100644 (file)
index 0000000..7cf2915
--- /dev/null
@@ -0,0 +1,19 @@
+/*
+ * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
+package org.opendaylight.yangtools.concepts;
+
+/**
+ * Builder of product.
+ * 
+ * @author ttkacik
+ *
+ * @param <P> Product of Build process
+ */
+public interface Builder<P> {
+    P toInstance();
+}
diff --git a/concepts/src/main/java/org/opendaylight/yangtools/concepts/Identifiable.java b/concepts/src/main/java/org/opendaylight/yangtools/concepts/Identifiable.java
new file mode 100644 (file)
index 0000000..aea084c
--- /dev/null
@@ -0,0 +1,12 @@
+/*
+ * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
+package org.opendaylight.yangtools.concepts;
+
+public interface Identifiable<T> {
+    T getIdentifier();
+}
diff --git a/concepts/src/main/java/org/opendaylight/yangtools/concepts/Immutable.java b/concepts/src/main/java/org/opendaylight/yangtools/concepts/Immutable.java
new file mode 100644 (file)
index 0000000..c263031
--- /dev/null
@@ -0,0 +1,24 @@
+/*\r
+ * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.\r
+ *\r
+ * This program and the accompanying materials are made available under the\r
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
+ * and is available at http://www.eclipse.org/legal/epl-v10.html\r
+ */\r
+package org.opendaylight.yangtools.concepts;\r
+\r
+/**\r
+ * Immutable Object - object does not change its state during lifecycle.\r
+ * \r
+ * Implementations of this interface must not change any public state during\r
+ * their whole lifecycle.\r
+ * \r
+ * This interface is mutually exclusive with {@link Mutable} and other\r
+ * {@link MutationBehaviour}s.\r
+ * \r
+ * @author Tony Tkacik <ttkacik@cisco.com>\r
+ * \r
+ */\r
+public interface Immutable extends MutationBehaviour<Immutable> {\r
+\r
+}\r
diff --git a/concepts/src/main/java/org/opendaylight/yangtools/concepts/Mutable.java b/concepts/src/main/java/org/opendaylight/yangtools/concepts/Mutable.java
new file mode 100644 (file)
index 0000000..60c1035
--- /dev/null
@@ -0,0 +1,21 @@
+/*
+ * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
+package org.opendaylight.yangtools.concepts;
+
+/**
+ * Mutable object - object may change it's state during lifecycle.
+ * 
+ * This interface is mutually exclusive with {@link Immutable}  and other
+ * {@link MutationBehaviour}s.
+ * 
+ * @author Tony Tkacik <ttkacik@cisco.com>
+ *
+ */
+public interface Mutable extends MutationBehaviour<Mutable>{
+    
+}
diff --git a/concepts/src/main/java/org/opendaylight/yangtools/concepts/MutationBehaviour.java b/concepts/src/main/java/org/opendaylight/yangtools/concepts/MutationBehaviour.java
new file mode 100644 (file)
index 0000000..95d844d
--- /dev/null
@@ -0,0 +1,22 @@
+/*\r
+ * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.\r
+ *\r
+ * This program and the accompanying materials are made available under the\r
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
+ * and is available at http://www.eclipse.org/legal/epl-v10.html\r
+ */\r
+package org.opendaylight.yangtools.concepts;\r
+\r
+/**\r
+ * Mutation behavior\r
+ * \r
+ * This interface is used to prevent same class extends multiple types of MutationBehaviour\r
+ * such as {@link Immutable} and {@link Mutable} which are mutually exclusive.\r
+ * \r
+ * @author Tony Tkacik <ttkacik@cisco.com>\r
+ *\r
+ * @param <T> Mutation Type\r
+ */\r
+public interface MutationBehaviour<T extends MutationBehaviour<T>> {\r
+\r
+}\r
diff --git a/concepts/src/main/java/org/opendaylight/yangtools/concepts/Namespace.java b/concepts/src/main/java/org/opendaylight/yangtools/concepts/Namespace.java
new file mode 100644 (file)
index 0000000..cb759c0
--- /dev/null
@@ -0,0 +1,12 @@
+package org.opendaylight.yangtools.concepts;
+
+import java.util.Set;
+
+public interface Namespace<K,V> {
+    
+    V get(K key);
+    
+    Namespace<K,V> getParent();
+    Set<Namespace<K,V>> getSubnamespaces();
+    Namespace<K,V> getSubnamespace(V key);
+}
diff --git a/concepts/src/main/java/org/opendaylight/yangtools/concepts/OrderedSet.java b/concepts/src/main/java/org/opendaylight/yangtools/concepts/OrderedSet.java
new file mode 100644 (file)
index 0000000..99745b2
--- /dev/null
@@ -0,0 +1,9 @@
+package org.opendaylight.yangtools.concepts;
+import java.util.List;
+import java.util.Set;
+
+
+public interface OrderedSet<E> extends Set<E>,List<E> {
+
+    
+}
index 407af961c6d9f8814d2b3cd532f1492d38141f84..279daac1d6c2c2fca2df87181faca4bc12d51a3b 100644 (file)
@@ -9,7 +9,7 @@
 
     <modelVersion>4.0.0</modelVersion>
     <artifactId>iana-afn-safi</artifactId>
-    <version>2013.07.04-SNAPSHOT</version>
+    <version>2013.07.04.0-SNAPSHOT</version>
 
     <build>
         <plugins>
index 29d8921d639d088478cace38a5fba8fcfaa9e7d2..2f74617ea7402c018acf9c7f0cf6588eb2c3d43d 100644 (file)
@@ -9,7 +9,7 @@
 
     <modelVersion>4.0.0</modelVersion>
     <artifactId>iana-if-type</artifactId>
-    <version>2013.07.04-SNAPSHOT</version>
+    <version>2013.07.04.0-SNAPSHOT</version>
 
     <build>
         <plugins>
index d206fdbc28f1947055548d70428368589d64b8f0..67ae5075aeb92e363b8e6704d373d83b9ff25ac4 100644 (file)
@@ -9,7 +9,7 @@
 
     <modelVersion>4.0.0</modelVersion>
     <artifactId>ietf-inet-types</artifactId>
-    <version>2010.09.24-SNAPSHOT</version>
+    <version>2010.09.24.0-SNAPSHOT</version>
     <name>${project.artifactId}</name>
     <description>${project.artifactId}</description>
 
diff --git a/model/ietf/ietf-netconf/pom.xml b/model/ietf/ietf-netconf/pom.xml
new file mode 100644 (file)
index 0000000..9b5af77
--- /dev/null
@@ -0,0 +1,30 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+
+    <parent>
+        <artifactId>model-ietf</artifactId>
+        <groupId>org.opendaylight.yangtools.model</groupId>
+        <version>0.5.8-SNAPSHOT</version>
+    </parent>
+
+    <modelVersion>4.0.0</modelVersion>
+    <artifactId>ietf-netconf</artifactId>
+    <version>1.0-SNAPSHOT</version>
+    <name>${project.artifactId}</name>
+    <description>${project.artifactId}</description>
+
+    <packaging>bundle</packaging>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.opendaylight.yangtools.model</groupId>
+            <artifactId>ietf-inet-types</artifactId>
+            <version>2010.09.24-SNAPSHOT</version>
+        </dependency>
+        <dependency>
+            <groupId>org.opendaylight.yangtools.model</groupId>
+            <artifactId>ietf-yang-types</artifactId>
+            <version>2010.09.24-SNAPSHOT</version>
+        </dependency>
+    </dependencies>
+</project>
index 42f9941ea376091a6a2ce0b2cfe46249b71ce462..7bc5b934e3407c092a211b87adde83b3b73c9508 100644 (file)
@@ -9,7 +9,7 @@
 
     <modelVersion>4.0.0</modelVersion>
     <artifactId>ietf-ted</artifactId>
-    <version>2013.07.12-SNAPSHOT</version>
+    <version>2013.07.12.0-SNAPSHOT</version>
     <name>${project.artifactId}</name>
     <description>${project.artifactId}</description>
 
index 8774e63ef5ca95854e8af1e7bd1d792f63174afd..56dc6b2b68ad1dd0453a650f4c72bacb418c054a 100644 (file)
@@ -9,7 +9,7 @@
 
     <modelVersion>4.0.0</modelVersion>
     <artifactId>ietf-topology-isis</artifactId>
-    <version>2013.07.12-SNAPSHOT</version>
+    <version>2013.07.12.0-SNAPSHOT</version>
     <name>${project.artifactId}</name>
     <description>${project.artifactId}</description>
 
index eac5382eac071ff612eb6abe5df02e9fa6f961d6..231e7673d2f11b8604f1741bf5c1a345d19a755f 100644 (file)
@@ -9,7 +9,7 @@
 
     <modelVersion>4.0.0</modelVersion>
     <artifactId>ietf-topology-l3-unicast-igp</artifactId>
-    <version>2013.07.12-SNAPSHOT</version>
+    <version>2013.07.12.0-SNAPSHOT</version>
     <name>${project.artifactId}</name>
     <description>${project.artifactId}</description>
 
index b81ffe19fe98b1ebc631ceb2081976f6ffd752f0..417c09080205e1af3d8387d2f5dbab14eb48b1ed 100644 (file)
@@ -9,7 +9,7 @@
 
     <modelVersion>4.0.0</modelVersion>
     <artifactId>ietf-topology-ospf</artifactId>
-    <version>2013.07.12-SNAPSHOT</version>
+    <version>2013.07.12.0-SNAPSHOT</version>
     <name>${project.artifactId}</name>
     <description>${project.artifactId}</description>
 
index 38f6f02c82d2f6d6cd4e043d0717a97556284e09..5abaff0407970728a37687afbc7d324062d339c0 100644 (file)
@@ -9,7 +9,7 @@
 
     <modelVersion>4.0.0</modelVersion>
     <artifactId>ietf-topology</artifactId>
-    <version>2013.07.12-SNAPSHOT</version>
+    <version>2013.07.12.0-SNAPSHOT</version>
     <name>${project.artifactId}</name>
     <description>${project.artifactId}</description>
 
         <dependency>
             <groupId>org.opendaylight.yangtools.model</groupId>
             <artifactId>ietf-inet-types</artifactId>
-            <version>2010.09.24-SNAPSHOT</version>
+            <version>2010.09.24.0-SNAPSHOT</version>
         </dependency>
         <dependency>
             <groupId>org.opendaylight.yangtools.model</groupId>
             <artifactId>ietf-yang-types</artifactId>
-            <version>2010.09.24-SNAPSHOT</version>
+            <version>2010.09.24.0-SNAPSHOT</version>
         </dependency>
     </dependencies>
 
index 7e5656b047f057ff949482bd5e2042720f34381e..0066ab7b01a0907635264f5791af3cf7fa2c8fca 100644 (file)
@@ -9,7 +9,7 @@
 
     <modelVersion>4.0.0</modelVersion>
     <artifactId>ietf-yang-types</artifactId>
-    <version>2010.09.24-SNAPSHOT</version>
+    <version>2010.09.24.0-SNAPSHOT</version>
     <name>${project.artifactId}</name>
     <description>${project.artifactId}</description>
 
index b05fdb1afae57f4b51ba00c7e85fdd142ccacb61..d9f61e63bd5cd4d7a5cfa60b9c5ac7ee63a2fb2b 100644 (file)
@@ -18,6 +18,7 @@
         <module>ietf-yang-types</module>
         <module>ietf-ted</module>
         <module>ietf-topology</module>
+        <!--module>ietf-netconf</module -->
         <!-- 
         <module>ietf-topology-l3-unicast-igp</module>
         <module>ietf-topology-isis</module>
index d0e65fbe7eeae5df607cf2aba6f69490cc87dd87..dfb535a1a900865a33e04a3501f6cd4fa1afddaf 100644 (file)
@@ -9,7 +9,7 @@
 
     <modelVersion>4.0.0</modelVersion>
     <artifactId>opendaylight-l2-types</artifactId>
-    <version>2013.08.27-SNAPSHOT</version>
+    <version>2013.08.27.0-SNAPSHOT</version>
 
     <build>
         <plugins>
index 9a9f755699c0864dd5802def97242dd007bdfb8a..81b813165a151a0be0d303e02b8bc1315151f23d 100644 (file)
@@ -21,6 +21,7 @@
     </properties>
 
     <modules>
+        <module>yang-ext</module>
         <module>iana</module>
         <module>ietf</module>
         <!-- <module>model-topology-bgp</module> -->
         </plugins>
         <pluginManagement>
             <plugins>
-                <plugin>
-                    <groupId>org.apache.maven.plugins</groupId>
-                    <artifactId>maven-jar-plugin</artifactId>
-                    <version>${maven.jar.version}</version>
-                    <configuration>
-                        <archive>
-                            <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
-                        </archive>
-                    </configuration>
-                </plugin>
-                <plugin>
-                    <groupId>org.apache.felix</groupId>
-                    <artifactId>maven-bundle-plugin</artifactId>
-                    <version>${maven.bundle.version}</version>
-                    <extensions>true</extensions>
-                    <executions>
-                        <execution>
-                            <id>bundle-manifest</id>
-                            <phase>process-classes</phase>
-                            <goals>
-                                <goal>manifest</goal>
-                            </goals>
-                        </execution>
-                    </executions>
-                </plugin>
                 <!--This plugin's configuration is used to store Eclipse 
                     m2e settings only. It has no influence on the Maven build itself. -->
                 <plugin>
similarity index 95%
rename from yang/yang-ext/pom.xml
rename to model/yang-ext/pom.xml
index 379ff8ec490dd1820a3abf82d7e2f8674b9e3013..4612d66adc4dad16c2e42b9bf8ccfa5f6c5b7117 100644 (file)
@@ -2,14 +2,14 @@
     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">\r
 \r
     <parent>\r
-        <groupId>org.opendaylight.yangtools</groupId>\r
-        <artifactId>yang</artifactId>\r
+        <groupId>org.opendaylight.yangtools.model</groupId>\r
+        <artifactId>model-parent</artifactId>\r
         <version>0.5.8-SNAPSHOT</version>\r
     </parent>\r
 \r
     <modelVersion>4.0.0</modelVersion>\r
     <artifactId>yang-ext</artifactId>\r
-    <version>2013.09.07-SNAPSHOT</version>\r
+    <version>2013.09.07.0-SNAPSHOT</version>\r
     <name>${project.artifactId}</name>\r
     <description>${project.artifactId}</description>\r
 \r
diff --git a/pom.xml b/pom.xml
index 430f1b63b95f2e32185a0cc43dbc0a12c44085c9..15fe063f7bd533e4dcdbc91a0b26adedac02ab45 100644 (file)
--- a/pom.xml
+++ b/pom.xml
         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>\r
         <slf4j.version>1.7.2</slf4j.version>\r
         <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>\r
-        <yang.version>0.5.8-SNAPSHOT</yang.version>\r
+        \r
+        <!-- Java Versions -->\r
+        <maven.compiler.source>1.7</maven.compiler.source>\r
+        <maven.compiler.target>1.7</maven.compiler.target>\r
+\r
+        <!-- Build Plugin Versions -->\r
         <maven.bundle.version>2.4.0</maven.bundle.version>\r
         <maven.jar.version>2.4</maven.jar.version>\r
+        <maven.javadoc.version>2.9.1</maven.javadoc.version>\r
         <maven.source.version>2.2.1</maven.source.version>\r
-        <maven.surefire.version>2.16</maven.surefire.version>\r
+        <maven.surefire.version>2.16</maven.surefire.version>       \r
+\r
+        <!-- Supporting Libraries -->\r
+        <slf4j.version>1.7.2</slf4j.version>\r
+        <guava.version>14.0.1</guava.version>\r
+        <xtend.version>2.4.3</xtend.version>\r
+        <groovy.version>2.1.6</groovy.version>\r
     </properties>\r
 \r
     <modules>\r
+        <module>concepts</module>\r
         <module>yang</module>\r
         <module>code-generator</module>\r
         <module>restconf</module>\r
 \r
 \r
     <repositories>\r
-        <!-- EBR release -->\r
-        <!-- http://repository.springsource.com/maven/bundles/release -->\r
-        <repository>\r
-            <id>ebr-bundles-release</id>\r
-            <name>ebr-bundles-release</name>\r
-            <url>${nexusproxy}/repositories/ebr-bundles-release/</url>\r
-        </repository>\r
-        <!-- EBR external -->\r
-        <!-- http://repository.springsource.com/maven/bundles/external -->\r
-        <repository>\r
-            <id>ebr-bundles-external</id>\r
-            <name>ebr-bundles-external</name>\r
-            <url>${nexusproxy}/repositories/ebr-bundles-external/</url>\r
-        </repository>\r
         <!-- Maven repo2 mirror -->\r
         <!-- http://repo2.maven.org/maven2 -->\r
         <repository>\r
             <name>central</name>\r
             <url>${nexusproxy}/repositories/central/</url>\r
         </repository>\r
-        <!-- Pax mirror -->\r
-        <!-- https://oss.sonatype.org/content/repositories/ops4j-releases -->\r
-        <repository>\r
-            <id>ops4j-releases</id>\r
-            <name>ops4j-releases</name>\r
-            <url>${nexusproxy}/repositories/ops4j-releases/</url>\r
-        </repository>\r
-        <!-- Third Packages hosted in local maven because not available in \r
-            other places -->\r
-        <repository>\r
-            <id>thirdparty</id>\r
-            <name>thirdparty</name>\r
-            <url>${nexusproxy}/repositories/thirdparty/</url>\r
-        </repository>\r
-        <!-- Jboss mirror -->\r
-        <!-- https://repository.jboss.org/nexus/content/repositories/releases -->\r
-        <repository>\r
-            <id>jboss.releases</id>\r
-            <name>jboss.releases</name>\r
-            <url>${nexusproxy}/repositories/jboss.releases/</url>\r
-        </repository>\r
+\r
         <!-- OpenDayLight Released artifact -->\r
         <repository>\r
             <id>opendaylight-release</id>\r
 \r
     <dependencyManagement>\r
         <dependencies>\r
+            <!-- Testing Dependencies -->\r
             <dependency>\r
                 <groupId>junit</groupId>\r
                 <artifactId>junit</artifactId>\r
                 <version>4.10</version>\r
                 <scope>test</scope>\r
-                <optional>true</optional>\r
             </dependency>\r
+            <dependency>\r
+                <groupId>org.mockito</groupId>\r
+                <artifactId>mockito-all</artifactId>\r
+                <version>1.9.5</version>\r
+                <scope>test</scope>\r
+            </dependency>\r
+\r
+            <!-- Supporting Libraries -->\r
             <dependency>\r
                 <groupId>org.slf4j</groupId>\r
                 <artifactId>slf4j-api</artifactId>\r
                 <artifactId>guava</artifactId>\r
                 <version>14.0.1</version>\r
             </dependency>\r
+            <dependency>\r
+                <groupId>org.eclipse.xtend</groupId>\r
+                <artifactId>org.eclipse.xtend.lib</artifactId>\r
+                <version>${xtend.version}</version>\r
+            </dependency>\r
         </dependencies>\r
     </dependencyManagement>\r
 \r
     </distributionManagement>\r
 \r
     <build>\r
+        <pluginManagement>\r
+            <plugins>\r
+                <plugin>\r
+                    <groupId>org.apache.maven.plugins</groupId>\r
+                    <artifactId>maven-jar-plugin</artifactId>\r
+                    <version>${maven.jar.version}</version>\r
+                    <configuration>\r
+                        <archive>\r
+                            <!-- Bundle OSGi Manifest created by maven-bundle-plugin into jar file -->\r
+                            <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>\r
+                        </archive>\r
+                    </configuration>\r
+                </plugin>\r
+                <plugin>\r
+                    <groupId>org.apache.felix</groupId>\r
+                    <artifactId>maven-bundle-plugin</artifactId>\r
+                    <version>${maven.bundle.version}</version>\r
+                    <extensions>true</extensions>\r
+                    <executions>\r
+                        <execution>\r
+                            <id>bundle-manifest</id>\r
+                            <phase>process-classes</phase>\r
+                            <goals>\r
+                                <goal>manifest</goal>\r
+                            </goals>\r
+                        </execution>\r
+                    </executions>\r
+                    <configuration>\r
+                        <instructions>\r
+                            <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>\r
+                        </instructions>\r
+                    </configuration>\r
+                </plugin>\r
+                <plugin>\r
+                    <groupId>org.eclipse.xtend</groupId>\r
+                    <artifactId>xtend-maven-plugin</artifactId>\r
+                    <version>${xtend.version}</version>\r
+                    <executions>\r
+                        <execution>\r
+                            <goals>\r
+                                <goal>compile</goal>\r
+                            </goals>\r
+                            <configuration>\r
+                                <outputDirectory>${basedir}/src/main/xtend-gen</outputDirectory>\r
+                            </configuration>\r
+                        </execution>\r
+                    </executions>\r
+                </plugin>\r
+                <plugin>\r
+                    <artifactId>maven-clean-plugin</artifactId>\r
+                    <version>2.4.1</version>\r
+                    <configuration>\r
+                        <filesets>\r
+                            <fileset>\r
+                                <directory>${basedir}/src/main/xtend-gen</directory>\r
+                                <includes>\r
+                                    <include>**</include>\r
+                                </includes>\r
+                            </fileset>\r
+                        </filesets>\r
+                    </configuration>\r
+                </plugin>\r
+                <plugin>\r
+                    <groupId>org.eclipse.m2e</groupId>\r
+                    <artifactId>lifecycle-mapping</artifactId>\r
+                    <version>1.0.0</version>\r
+                    <configuration>\r
+                        <lifecycleMappingMetadata>\r
+                            <pluginExecutions>\r
+                                <pluginExecution>\r
+                                    <pluginExecutionFilter>\r
+                                        <groupId>org.apache.felix</groupId>\r
+                                        <artifactId>maven-bundle-plugin</artifactId>\r
+                                        <versionRange>[1.0,)</versionRange>\r
+                                        <goals>\r
+                                            <goal>manifest</goal>\r
+                                        </goals>\r
+                                    </pluginExecutionFilter>\r
+                                    <action>\r
+                                        <execute></execute>\r
+                                    </action>\r
+                                </pluginExecution>\r
+                            </pluginExecutions>\r
+                        </lifecycleMappingMetadata>\r
+                    </configuration>\r
+                </plugin>\r
+            </plugins>\r
+        </pluginManagement>\r
         <plugins>\r
             <plugin>\r
                 <groupId>org.apache.maven.plugins</groupId>\r
-                <artifactId>maven-compiler-plugin</artifactId>\r
-                <version>2.0</version>\r
-                <inherited>true</inherited>\r
-                <configuration>\r
-                    <source>1.7</source>\r
-                    <target>1.7</target>\r
-                </configuration>\r
+                <artifactId>maven-jar-plugin</artifactId>\r
+            </plugin>\r
+            <plugin>\r
+                <groupId>org.apache.felix</groupId>\r
+                <artifactId>maven-bundle-plugin</artifactId>\r
             </plugin>\r
             <plugin>\r
                 <groupId>org.apache.maven.plugins</groupId>\r
             <plugin>\r
                 <groupId>org.apache.maven.plugins</groupId>\r
                 <artifactId>maven-javadoc-plugin</artifactId>\r
-                <version>2.9.1</version>\r
+                <version>${maven.javadoc.version}</version>\r
                 <configuration>\r
                     <stylesheet>maven</stylesheet>\r
                 </configuration>\r
             </plugin>\r
         </plugins>\r
     </reporting>\r
-\r
 </project>\r
-\r
diff --git a/third-party/pom.xml b/third-party/pom.xml
new file mode 100644 (file)
index 0000000..d82f8b4
--- /dev/null
@@ -0,0 +1,31 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+    <modelVersion>4.0.0</modelVersion>
+    <parent>
+        <groupId>org.opendaylight.yangtools</groupId>
+        <artifactId>yangtools</artifactId>
+        <version>0.5-SNAPSHOT</version>
+    </parent>
+    <groupId>org.opendaylight.yangtools.thirdparty</groupId>
+    <artifactId>third-party-parent</artifactId>
+    <packaging>pom</packaging>
+    <scm>
+        <connection>scm:git:ssh://git.opendaylight.org:29418/yangtools.git</connection>
+        <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
+        <url>https://wiki.opendaylight.org/view/YANG_Tools:Third-Party</url>
+    </scm>
+
+    <modules>
+        <module>xtend-lib-osgi</module>
+    </modules>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.felix</groupId>
+                <artifactId>maven-bundle-plugin</artifactId>
+                <extensions>true</extensions>
+            </plugin>
+        </plugins>
+    </build>
+</project>
diff --git a/third-party/xtend-lib-osgi/pom.xml b/third-party/xtend-lib-osgi/pom.xml
new file mode 100644 (file)
index 0000000..a237b6e
--- /dev/null
@@ -0,0 +1,75 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+    <modelVersion>4.0.0</modelVersion>
+    <parent>
+        <groupId>org.opendaylight.yangtools.thirdparty</groupId>
+        <artifactId>third-party-parent</artifactId>
+        <version>0.5-SNAPSHOT</version>
+    </parent>
+    <artifactId>xtend-lib-osgi</artifactId>
+    <version>2.4.2-SNAPSHOT</version>
+    <packaging>bundle</packaging>
+    <scm>
+        <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
+        <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
+        <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL</url>
+    </scm>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.felix</groupId>
+                <artifactId>maven-bundle-plugin</artifactId>
+                <extensions>true</extensions>
+                <configuration>
+                    <instructions>
+                       <Embed-Dependency>*;scope=compile|runtime</Embed-Dependency>
+                        <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
+                        <Export-Package>
+                            org.eclipse.xtend2.lib,
+                            org.eclipse.xtend.lib,
+                            org.eclipse.xtext.xbase.*
+                        </Export-Package>
+                    </instructions>
+                </configuration>
+            </plugin>
+            <plugin>
+                <groupId>org.eclipse.xtend</groupId>
+                <artifactId>xtend-maven-plugin</artifactId>
+                <version>2.4.2</version>
+                <executions>
+                    <execution>
+                        <goals>
+                            <goal>compile</goal>
+                        </goals>
+                        <configuration>
+                            <outputDirectory>${basedir}/src/main/xtend-gen</outputDirectory>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+            <plugin>
+                <artifactId>maven-clean-plugin</artifactId>
+                <version>2.4.1</version>
+                <configuration>
+                    <filesets>
+                        <fileset>
+                            <directory>${basedir}/src/main/xtend-gen</directory>
+                            <includes>
+                                <include>**</include>
+                            </includes>
+                        </fileset>
+                    </filesets>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.eclipse.xtend</groupId>
+            <artifactId>org.eclipse.xtend.lib</artifactId>
+            <version>2.4.2</version>
+        </dependency>
+    </dependencies>
+</project>
index 04b1a0b9ab9779e55bdf29503aaa3f94db7c88d3..56e0ed45b0052681da7e245445222a81e2a5739f 100644 (file)
@@ -18,7 +18,6 @@
         <module>yang-data-api</module>
         <module>yang-data-util</module>
         <module>yang-data-impl</module>
-        <module>yang-ext</module>
         <module>yang-model-api</module>
         <module>yang-maven-plugin</module>
         <module>yang-maven-plugin-it</module>
             </dependency>
         </dependencies>
     </dependencyManagement>
-
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-compiler-plugin</artifactId>
-                <version>2.0</version>
-                <inherited>true</inherited>
-                <configuration>
-                    <source>1.7</source>
-                    <target>1.7</target>
-                </configuration>
-            </plugin>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-javadoc-plugin</artifactId>
-                <version>2.9.1</version>
-                <configuration>
-                    <stylesheet>maven</stylesheet>
-                </configuration>
-                <executions>
-                    <execution>
-                        <goals>
-                            <goal>aggregate</goal>
-                        </goals>
-                        <phase>site</phase>
-                    </execution>
-                </executions>
-            </plugin>
-        </plugins>
-        <pluginManagement>
-            <plugins>
-                <plugin>
-                    <groupId>org.apache.felix</groupId>
-                    <artifactId>maven-bundle-plugin</artifactId>
-                    <version>${maven.bundle.version}</version>
-                    <extensions>true</extensions>
-                    <executions>
-                        <execution>
-                            <id>bundle-manifest</id>
-                            <phase>process-classes</phase>
-                            <goals>
-                                <goal>manifest</goal>
-                            </goals>
-                        </execution>
-                    </executions>
-                </plugin>
-                <plugin>
-                    <groupId>org.eclipse.m2e</groupId>
-                    <artifactId>lifecycle-mapping</artifactId>
-                    <version>1.0.0</version>
-                    <configuration>
-                        <lifecycleMappingMetadata>
-                            <pluginExecutions>
-                                <pluginExecution>
-                                    <pluginExecutionFilter>
-                                        <groupId>org.apache.felix</groupId>
-                                        <artifactId>maven-bundle-plugin</artifactId>
-                                        <versionRange>[1.0,)</versionRange>
-                                        <goals>
-                                            <goal>manifest</goal>
-                                        </goals>
-                                    </pluginExecutionFilter>
-                                    <action>
-                                        <execute></execute>
-                                    </action>
-                                </pluginExecution>
-                            </pluginExecutions>
-                        </lifecycleMappingMetadata>
-                    </configuration>
-                </plugin>
-            </plugins>
-        </pluginManagement>
-    </build>
-
-    <reporting>
-        <plugins>
-            <plugin>
-                <groupId>org.codehaus.mojo</groupId>
-                <artifactId>findbugs-maven-plugin</artifactId>
-                <version>2.4.0</version>
-                <configuration>
-                    <effort>Max</effort>
-                    <threshold>Low</threshold>
-                    <goal>site</goal>
-                </configuration>
-            </plugin>
-            <plugin>
-                <groupId>org.codehaus.mojo</groupId>
-                <artifactId>jdepend-maven-plugin</artifactId>
-                <version>2.0-beta-2</version>
-            </plugin>
-        </plugins>
-    </reporting>
-
 </project>
-
index b70f942d3ff02751ce5c117e3413c407e20fcf4f..2f6bdbbb28ffacae2f71fbe5f6fa5d7a2b3e95f2 100644 (file)
     <artifactId>yang-binding</artifactId>\r
     <name>${project.artifactId}</name>\r
     <description>Java binding for YANG</description>\r
-\r
-    <build>\r
-        <plugins>\r
-            <plugin>\r
-                <groupId>org.apache.maven.plugins</groupId>\r
-                <artifactId>maven-jar-plugin</artifactId>\r
-                <version>${maven.jar.version}</version>\r
-                <configuration>\r
-                    <archive>\r
-                        <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>\r
-                    </archive>\r
-                </configuration>\r
-            </plugin>\r
-            <plugin>\r
-                <groupId>org.apache.felix</groupId>\r
-                <artifactId>maven-bundle-plugin</artifactId>\r
-                <extensions>true</extensions>\r
-                <configuration>\r
-                    <instructions>\r
-                        <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>\r
-                    </instructions>\r
-                </configuration>\r
-            </plugin>\r
-        </plugins>\r
-    </build>\r
-\r
 </project>\r
index 94f3de6f548d721aff556a49d86f076f68532d5b..95801ab5be8605860768d3794dff3d04096dc98e 100644 (file)
             <artifactId>slf4j-api</artifactId>\r
         </dependency>\r
     </dependencies>\r
-\r
-    <build>\r
-        <plugins>\r
-            <plugin>\r
-                <groupId>org.apache.maven.plugins</groupId>\r
-                <artifactId>maven-jar-plugin</artifactId>\r
-                <version>${maven.jar.version}</version>\r
-                <configuration>\r
-                    <archive>\r
-                        <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>\r
-                    </archive>\r
-                </configuration>\r
-            </plugin>\r
-            <plugin>\r
-                <groupId>org.apache.felix</groupId>\r
-                <artifactId>maven-bundle-plugin</artifactId>\r
-                <extensions>true</extensions>\r
-                <configuration>\r
-                    <instructions>\r
-                        <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>\r
-                    </instructions>\r
-                </configuration>\r
-            </plugin>\r
-        </plugins>\r
-    </build>\r
-\r
 </project>\r
index a0f8fdae72229a1a7735019dd21dbe2bb8cea4b2..1dd12bb3d56081eac7fbf825fdac98534457b6b3 100644 (file)
             <artifactId>yang-common</artifactId>\r
         </dependency>\r
     </dependencies>\r
-\r
-    <build>\r
-        <plugins>\r
-            <plugin>\r
-                <groupId>org.apache.maven.plugins</groupId>\r
-                <artifactId>maven-jar-plugin</artifactId>\r
-                <version>${maven.jar.version}</version>\r
-                <configuration>\r
-                    <archive>\r
-                        <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>\r
-                    </archive>\r
-                </configuration>\r
-            </plugin>\r
-            <plugin>\r
-                <groupId>org.apache.felix</groupId>\r
-                <artifactId>maven-bundle-plugin</artifactId>\r
-                <extensions>true</extensions>\r
-                <configuration>\r
-                    <instructions>\r
-                        <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>\r
-                    </instructions>\r
-                </configuration>\r
-            </plugin>\r
-        </plugins>\r
-    </build>\r
-\r
 </project>\r
index 063dbfcbe2f9d6c07353f042072e1edef1904da9..2d3efd8452ec7dac0c0600d0e87c9757bacddbae 100644 (file)
 \r
     <build>\r
         <plugins>\r
-            <plugin>\r
-                <groupId>org.apache.maven.plugins</groupId>\r
-                <artifactId>maven-jar-plugin</artifactId>\r
-                <version>${maven.jar.version}</version>\r
-                <configuration>\r
-                    <archive>\r
-                        <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>\r
-                    </archive>\r
-                </configuration>\r
-            </plugin>\r
-            <plugin>\r
-                <groupId>org.apache.felix</groupId>\r
-                <artifactId>maven-bundle-plugin</artifactId>\r
-                <extensions>true</extensions>\r
-                <configuration>\r
-                    <instructions>\r
-                        <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>\r
-                    </instructions>\r
-                </configuration>\r
-            </plugin>\r
             <plugin>\r
                 <groupId>org.apache.maven.plugins</groupId>\r
                 <artifactId>maven-surefire-plugin</artifactId>\r
             <scope>test</scope>\r
         </dependency>\r
     </dependencies>\r
-\r
 </project>\r
index 8d344ae33678c32b515246503e81ea9d21222676..914224c38ec7e2e065fa29b85ce201c51a9a6415 100644 (file)
             <artifactId>yang-data-api</artifactId>\r
         </dependency>\r
     </dependencies>\r
-\r
-    <build>\r
-        <plugins>\r
-            <plugin>\r
-                <groupId>org.apache.maven.plugins</groupId>\r
-                <artifactId>maven-jar-plugin</artifactId>\r
-                <version>${maven.jar.version}</version>\r
-                <configuration>\r
-                    <archive>\r
-                        <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>\r
-                    </archive>\r
-                </configuration>\r
-            </plugin>\r
-            <plugin>\r
-                <groupId>org.apache.felix</groupId>\r
-                <artifactId>maven-bundle-plugin</artifactId>\r
-                <extensions>true</extensions>\r
-                <configuration>\r
-                    <instructions>\r
-                        <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>\r
-                    </instructions>\r
-                </configuration>\r
-            </plugin>\r
-        </plugins>\r
-    </build>\r
-\r
 </project>\r
index ae3b7064e12b6d1770fc02d37fae519252b3073f..d4d51fcb5d70df0ca35eabfbc66697a2294e76ce 100644 (file)
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-jar-plugin</artifactId>
-                <version>${maven.jar.version}</version>
-                <configuration>
-                    <archive>
-                        <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
-                    </archive>
-                </configuration>
                 <executions>
                     <execution>
                         <phase>package</phase>
                     </execution>
                 </executions>
             </plugin>
-            <plugin>
-                <groupId>org.apache.felix</groupId>
-                <artifactId>maven-bundle-plugin</artifactId>
-                <extensions>true</extensions>
-                <configuration>
-                    <instructions>
-                        <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
-                    </instructions>
-                </configuration>
-            </plugin>
         </plugins>
     </build>
-
 </project>
index fb0ab44b71b3a90f3d4b2eea0342927cceaf5df8..eace02247581f7fe28aa537237352a16bcffac65 100644 (file)
 
     <build>
         <plugins>
+            <plugin>
+                <groupId>org.apache.felix</groupId>
+                <artifactId>maven-bundle-plugin</artifactId>
+                <configuration>
+                    <supportedProjectTypes>
+                        <supportedProjectType>maven-plugin</supportedProjectType>
+                    </supportedProjectTypes>
+                </configuration>
+            </plugin>
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-plugin-plugin</artifactId>
index f4754c90b14efdffed9910327912f21f46e26db6..b27f91725602607d7a8bdfbe6917e293630ab592 100644 (file)
             <artifactId>yang-common</artifactId>\r
         </dependency>\r
     </dependencies>\r
-\r
-    <build>\r
-        <plugins>\r
-            <plugin>\r
-                <groupId>org.apache.maven.plugins</groupId>\r
-                <artifactId>maven-jar-plugin</artifactId>\r
-                <version>${maven.jar.version}</version>\r
-                <configuration>\r
-                    <archive>\r
-                        <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>\r
-                    </archive>\r
-                </configuration>\r
-            </plugin>\r
-            <plugin>\r
-                <groupId>org.apache.felix</groupId>\r
-                <artifactId>maven-bundle-plugin</artifactId>\r
-                <extensions>true</extensions>\r
-                <configuration>\r
-                    <instructions>\r
-                        <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>\r
-                    </instructions>\r
-                </configuration>\r
-            </plugin>\r
-        </plugins>\r
-    </build>\r
-\r
 </project>\r
index 07bcf43cf877d55c2d34728c0b2d148454b30c30..a161cd5370c79f49816768a26fbe1e7e409d7eb9 100644 (file)
@@ -20,7 +20,6 @@
         <dependency>
             <groupId>org.eclipse.xtend</groupId>
             <artifactId>org.eclipse.xtend.lib</artifactId>
-            <version>2.4.2</version>
         </dependency>
         <dependency>
             <groupId>junit</groupId>
 
     <build>
         <plugins>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-jar-plugin</artifactId>
-                <version>${maven.jar.version}</version>
-                <configuration>
-                    <archive>
-                        <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
-                    </archive>
-                </configuration>
-            </plugin>
-            <plugin>
-                <groupId>org.apache.felix</groupId>
-                <artifactId>maven-bundle-plugin</artifactId>
-                <extensions>true</extensions>
-                <configuration>
-                    <instructions>
-                        <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
-                    </instructions>
-                </configuration>
-            </plugin>
             <plugin>
                 <groupId>org.eclipse.xtend</groupId>
                 <artifactId>xtend-maven-plugin</artifactId>
-                <version>2.4.2</version>
-                <executions>
-                    <execution>
-                        <goals>
-                            <goal>compile</goal>
-                        </goals>
-                        <configuration>
-                            <outputDirectory>${basedir}/src/main/xtend-gen</outputDirectory>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-            <plugin>
-                <artifactId>maven-clean-plugin</artifactId>
-                <version>2.4.1</version>
-                <configuration>
-                    <filesets>
-                        <fileset>
-                            <directory>${basedir}/src/main/xtend-gen</directory>
-                            <includes>
-                                <include>**</include>
-                            </includes>
-                        </fileset>
-                    </filesets>
-                </configuration>
             </plugin>
         </plugins>
     </build>
-
 </project>
index 106fb6ed933cd7d01c751430bdea59968004e059..7bc0b6119298d088d84f9ce36fea845cd927592c 100644 (file)
             <artifactId>yang-model-api</artifactId>
         </dependency>
     </dependencies>
-
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-jar-plugin</artifactId>
-                <version>${maven.jar.version}</version>
-                <configuration>
-                    <archive>
-                        <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
-                    </archive>
-                </configuration>
-            </plugin>
-            <plugin>
-                <groupId>org.apache.felix</groupId>
-                <artifactId>maven-bundle-plugin</artifactId>
-                <extensions>true</extensions>
-                <configuration>
-                    <instructions>
-                        <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
-                    </instructions>
-                </configuration>
-            </plugin>
-        </plugins>
-    </build>
-
 </project>
index 7cd07e1dc1f9deb74378463986ec7f589668331f..faca0f156b6614faf57588b49fbacb76a6568309 100644 (file)
@@ -53,7 +53,6 @@
         <dependency>\r
             <groupId>org.eclipse.xtend</groupId>\r
             <artifactId>org.eclipse.xtend.lib</artifactId>\r
-            <version>2.4.2</version>\r
         </dependency>\r
         <dependency>\r
             <groupId>junit</groupId>\r
 \r
     <build>\r
         <plugins>\r
-            <plugin>\r
-                <groupId>org.apache.maven.plugins</groupId>\r
-                <artifactId>maven-jar-plugin</artifactId>\r
-                <version>${maven.jar.version}</version>\r
-                <configuration>\r
-                    <archive>\r
-                        <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>\r
-                    </archive>\r
-                </configuration>\r
-            </plugin>\r
-            <plugin>\r
-                <groupId>org.apache.felix</groupId>\r
-                <artifactId>maven-bundle-plugin</artifactId>\r
-                <extensions>true</extensions>\r
-                <configuration>\r
-                    <instructions>\r
-                        <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>\r
-                    </instructions>\r
-                </configuration>\r
-            </plugin>\r
-            <plugin>\r
-                <artifactId>maven-clean-plugin</artifactId>\r
-                <version>2.4.1</version>\r
-                <configuration>\r
-                    <filesets>\r
-                        <fileset>\r
-                            <directory>${basedir}/src/main/xtend-gen</directory>\r
-                            <includes>\r
-                                <include>**</include>\r
-                            </includes>\r
-                        </fileset>\r
-                    </filesets>\r
-                </configuration>\r
-            </plugin>\r
             <plugin>\r
                 <groupId>org.antlr</groupId>\r
                 <artifactId>antlr4-maven-plugin</artifactId>\r
             <plugin>\r
                 <groupId>org.eclipse.xtend</groupId>\r
                 <artifactId>xtend-maven-plugin</artifactId>\r
-                <version>2.4.2</version>\r
-                <executions>\r
-                    <execution>\r
-                        <goals>\r
-                            <goal>compile</goal>\r
-                        </goals>\r
-                        <configuration>\r
-                            <outputDirectory>${basedir}/src/main/xtend-gen</outputDirectory>\r
-                        </configuration>\r
-                    </execution>\r
-                </executions>\r
             </plugin>\r
             <plugin>\r
                 <groupId>org.codehaus.mojo</groupId>\r
                     </execution>\r
                 </executions>\r
             </plugin>\r
-\r
             <plugin>\r
                 <groupId>org.apache.maven.plugins</groupId>\r
                 <artifactId>maven-javadoc-plugin</artifactId>\r
             </plugins>\r
         </pluginManagement>\r
     </build>\r
-\r
 </project>\r