Fixed tag for <nexus.repository.snapshot>
[controller.git] / opendaylight / archetypes / odl-model-project / src / main / resources / archetype-resources / pom.xml
index 6b41485..0786b36 100644 (file)
-<?xml version="1.0" encoding="UTF-8"?>\r
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\r
-  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">\r
-  <modelVersion>4.0.0</modelVersion>\r
-  <artifactId>${artifactId}</artifactId>\r
-  <groupId>${groupId}</groupId>\r
-  <version>${version}</version>\r
-  <packaging>bundle</packaging>\r
-  <properties>\r
-    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>\r
-    <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>\r
+<?xml version="1.0" encoding="UTF-8"?>
+<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>
+  <artifactId>${artifactId}</artifactId>
+  <groupId>${groupId}</groupId>
+  <version>${version}</version>
+  <packaging>bundle</packaging>
+  <properties>
+    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+    <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
     <nexus.repository.release>opendaylight.release</nexus.repository.release>
     <nexus.repository.release>opendaylight.release</nexus.repository.release>
-    <nexus.repository.snapshot>opendaylight.release</nexus.repository.snaphot>
-    <yang.version>0.7.0-SNAPSHOT</yang.version>\r
-    <yang.codegen.version>0.7.0-SNAPSHOT</yang.codegen.version>\r
-    <bundle.plugin.version>2.3.7</bundle.plugin.version>\r
-  </properties>\r
-  <scm>\r
-    <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>\r
-    <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>\r
-    <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:Main</url>\r
-  </scm>\r
-\r
-  <build>\r
-    <plugins>\r
-      <plugin>\r
-        <groupId>org.apache.felix</groupId>\r
-        <artifactId>maven-bundle-plugin</artifactId>\r
-        <version>${bundle.plugin.version}</version>\r
-        <extensions>true</extensions>\r
-        <configuration>\r
-          <instructions>\r
-            <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>\r
-          </instructions>\r
-          <manifestLocation>${project.basedir}/META-INF</manifestLocation>\r
-        </configuration>\r
-      </plugin>\r
-      <plugin>\r
-        <groupId>org.apache.maven.plugins</groupId>\r
-        <artifactId>maven-compiler-plugin</artifactId>\r
-        <version>2.5.1</version>\r
-        <inherited>true</inherited>\r
-        <configuration>\r
-          <source>1.7</source>\r
-          <target>1.7</target>\r
-        </configuration>\r
-      </plugin>\r
-      <plugin>\r
-        <groupId>org.apache.maven.plugins</groupId>\r
-        <artifactId>maven-javadoc-plugin</artifactId>\r
-        <version>2.8.1</version>\r
-        <configuration>\r
-          <stylesheet>maven</stylesheet>\r
-        </configuration>\r
-        <executions>\r
-          <execution>\r
-            <goals>\r
-              <goal>aggregate</goal>\r
-            </goals>\r
-            <phase>site</phase>\r
-          </execution>\r
-        </executions>\r
-      </plugin>\r
-      <plugin>\r
-        <groupId>org.opendaylight.yangtools</groupId>\r
-        <artifactId>yang-maven-plugin</artifactId>\r
-        <version>${yang.version}</version>\r
-        <executions>\r
-          <execution>\r
-            <goals>\r
-              <goal>generate-sources</goal>\r
-            </goals>\r
-            <configuration>\r
-              <yangFilesRootDir>src/main/yang</yangFilesRootDir>\r
-              <codeGenerators>\r
-                <generator>\r
-                  <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>\r
-                  <outputBaseDir>target/generated-sources/sal</outputBaseDir>\r
-                </generator>\r
-              </codeGenerators>\r
-              <inspectDependencies>false</inspectDependencies>\r
-            </configuration>\r
-          </execution>\r
-        </executions>\r
-\r
-        <dependencies>\r
-          <dependency>\r
-            <groupId>org.opendaylight.yangtools</groupId>\r
-            <artifactId>maven-sal-api-gen-plugin</artifactId>\r
-            <version>${yang.codegen.version}</version>\r
-            <type>jar</type>\r
-          </dependency>\r
-        </dependencies>\r
-      </plugin>\r
-      <plugin>\r
-        <groupId>org.codehaus.mojo</groupId>\r
-        <artifactId>build-helper-maven-plugin</artifactId>\r
-        <version>1.7</version>\r
-        <executions>\r
-          <execution>\r
-            <phase>generate-sources</phase>\r
-            <goals>\r
-              <goal>add-source</goal>\r
-            </goals>\r
-            <configuration>\r
-              <sources>\r
-                <source>target/generated-sources/sal</source>\r
-              </sources>\r
-            </configuration>\r
-          </execution>\r
-        </executions>\r
-      </plugin>\r
-    </plugins>\r
-    <pluginManagement>\r
-      <plugins>\r
-        <!--This plugin's configuration is used to store Eclipse m2e settings\r
-          only. It has no influence on the Maven build itself. -->\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.opendaylight.yangtools</groupId>\r
-                    <artifactId>yang-maven-plugin</artifactId>\r
-                    <versionRange>[0.5,)</versionRange>\r
-                    <goals>\r
-                      <goal>generate-sources</goal>\r
-                    </goals>\r
-                  </pluginExecutionFilter>\r
-                  <action>\r
-                    <ignore></ignore>\r
-                  </action>\r
-                </pluginExecution>\r
-              </pluginExecutions>\r
-            </lifecycleMappingMetadata>\r
-          </configuration>\r
-        </plugin>\r
-      </plugins>\r
-    </pluginManagement>\r
-  </build>\r
-  <pluginRepositories>\r
-    <!-- OpenDayLight Repo Mirror -->\r
-    <pluginRepository>\r
-      <id>opendaylight-mirror</id>\r
-      <name>opendaylight-mirror</name>\r
-      <url>${nexusproxy}/groups/public/</url>\r
-      <snapshots>\r
-          <enabled>false</enabled>\r
-      </snapshots>\r
-      <releases>\r
-          <enabled>true</enabled>\r
-          <updatePolicy>never</updatePolicy>\r
-      </releases>\r
-    </pluginRepository>\r
-    <!-- OpenDayLight Snapshot artifact -->\r
-    <pluginRepository>\r
-      <id>opendaylight-snapshot</id>\r
-      <name>opendaylight-snapshot</name>\r
+    <nexus.repository.snapshot>opendaylight.release</nexus.repository.snapshot>
+    <yang.version>0.7.0-SNAPSHOT</yang.version>
+    <yang.codegen.version>0.7.0-SNAPSHOT</yang.codegen.version>
+    <bundle.plugin.version>2.3.7</bundle.plugin.version>
+  </properties>
+  <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:Main</url>
+  </scm>
+
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.felix</groupId>
+        <artifactId>maven-bundle-plugin</artifactId>
+        <version>${bundle.plugin.version}</version>
+        <extensions>true</extensions>
+        <configuration>
+          <instructions>
+            <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
+          </instructions>
+          <manifestLocation>${project.basedir}/META-INF</manifestLocation>
+        </configuration>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <version>2.5.1</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.8.1</version>
+        <configuration>
+          <stylesheet>maven</stylesheet>
+        </configuration>
+        <executions>
+          <execution>
+            <goals>
+              <goal>aggregate</goal>
+            </goals>
+            <phase>site</phase>
+          </execution>
+        </executions>
+      </plugin>
+      <plugin>
+        <groupId>org.opendaylight.yangtools</groupId>
+        <artifactId>yang-maven-plugin</artifactId>
+        <version>${yang.version}</version>
+        <executions>
+          <execution>
+            <goals>
+              <goal>generate-sources</goal>
+            </goals>
+            <configuration>
+              <yangFilesRootDir>src/main/yang</yangFilesRootDir>
+              <codeGenerators>
+                <generator>
+                  <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
+                  <outputBaseDir>target/generated-sources/sal</outputBaseDir>
+                </generator>
+              </codeGenerators>
+              <inspectDependencies>false</inspectDependencies>
+            </configuration>
+          </execution>
+        </executions>
+
+        <dependencies>
+          <dependency>
+            <groupId>org.opendaylight.yangtools</groupId>
+            <artifactId>maven-sal-api-gen-plugin</artifactId>
+            <version>${yang.codegen.version}</version>
+            <type>jar</type>
+          </dependency>
+        </dependencies>
+      </plugin>
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>build-helper-maven-plugin</artifactId>
+        <version>1.7</version>
+        <executions>
+          <execution>
+            <phase>generate-sources</phase>
+            <goals>
+              <goal>add-source</goal>
+            </goals>
+            <configuration>
+              <sources>
+                <source>target/generated-sources/sal</source>
+              </sources>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+    <pluginManagement>
+      <plugins>
+        <!--This plugin's configuration is used to store Eclipse m2e settings
+          only. It has no influence on the Maven build itself. -->
+        <plugin>
+          <groupId>org.eclipse.m2e</groupId>
+          <artifactId>lifecycle-mapping</artifactId>
+          <version>1.0.0</version>
+          <configuration>
+            <lifecycleMappingMetadata>
+              <pluginExecutions>
+                <pluginExecution>
+                  <pluginExecutionFilter>
+                    <groupId>org.opendaylight.yangtools</groupId>
+                    <artifactId>yang-maven-plugin</artifactId>
+                    <versionRange>[0.5,)</versionRange>
+                    <goals>
+                      <goal>generate-sources</goal>
+                    </goals>
+                  </pluginExecutionFilter>
+                  <action>
+                    <ignore></ignore>
+                  </action>
+                </pluginExecution>
+              </pluginExecutions>
+            </lifecycleMappingMetadata>
+          </configuration>
+        </plugin>
+      </plugins>
+    </pluginManagement>
+  </build>
+  <pluginRepositories>
+    <!-- OpenDayLight Repo Mirror -->
+    <pluginRepository>
+      <id>opendaylight-mirror</id>
+      <name>opendaylight-mirror</name>
+      <url>${nexusproxy}/groups/public/</url>
+      <snapshots>
+          <enabled>false</enabled>
+      </snapshots>
+      <releases>
+          <enabled>true</enabled>
+          <updatePolicy>never</updatePolicy>
+      </releases>
+    </pluginRepository>
+    <!-- OpenDayLight Snapshot artifact -->
+    <pluginRepository>
+      <id>opendaylight-snapshot</id>
+      <name>opendaylight-snapshot</name>
       <url>${nexusproxy}/repositories/${nexus.repository.snapshot}/</url>
       <url>${nexusproxy}/repositories/${nexus.repository.snapshot}/</url>
-      <snapshots>\r
-          <enabled>true</enabled>\r
-      </snapshots>\r
-      <releases>\r
-          <enabled>false</enabled>\r
-      </releases>\r
-    </pluginRepository>\r
-  </pluginRepositories>\r
-\r
-  <repositories>\r
-    <!-- OpenDayLight Repo Mirror -->\r
-    <repository>\r
-      <id>opendaylight-mirror</id>\r
-      <name>opendaylight-mirror</name>\r
-      <url>${nexusproxy}/groups/public/</url>\r
-      <snapshots>\r
-          <enabled>false</enabled>\r
-      </snapshots>\r
-      <releases>\r
-          <enabled>true</enabled>\r
-          <updatePolicy>never</updatePolicy>\r
-      </releases>\r
-    </repository>\r
-    <!-- OpenDayLight Snapshot artifact -->\r
-    <repository>\r
-      <id>opendaylight-snapshot</id>\r
-      <name>opendaylight-snapshot</name>\r
+      <snapshots>
+          <enabled>true</enabled>
+      </snapshots>
+      <releases>
+          <enabled>false</enabled>
+      </releases>
+    </pluginRepository>
+  </pluginRepositories>
+
+  <repositories>
+    <!-- OpenDayLight Repo Mirror -->
+    <repository>
+      <id>opendaylight-mirror</id>
+      <name>opendaylight-mirror</name>
+      <url>${nexusproxy}/groups/public/</url>
+      <snapshots>
+          <enabled>false</enabled>
+      </snapshots>
+      <releases>
+          <enabled>true</enabled>
+          <updatePolicy>never</updatePolicy>
+      </releases>
+    </repository>
+    <!-- OpenDayLight Snapshot artifact -->
+    <repository>
+      <id>opendaylight-snapshot</id>
+      <name>opendaylight-snapshot</name>
       <url>${nexusproxy}/repositories/${nexus.repository.snapshot}/</url>
       <url>${nexusproxy}/repositories/${nexus.repository.snapshot}/</url>
-      <snapshots>\r
-          <enabled>true</enabled>\r
-      </snapshots>\r
-      <releases>\r
-          <enabled>false</enabled>\r
-      </releases>\r
-    </repository>\r
-  </repositories>\r
-\r
-  <distributionManagement>\r
-    <!-- OpenDayLight Released artifact -->\r
-    <repository>\r
-      <id>opendaylight-release</id>\r
+      <snapshots>
+          <enabled>true</enabled>
+      </snapshots>
+      <releases>
+          <enabled>false</enabled>
+      </releases>
+    </repository>
+  </repositories>
+
+  <distributionManagement>
+    <!-- OpenDayLight Released artifact -->
+    <repository>
+      <id>opendaylight-release</id>
       <url>${nexusproxy}/repositories/${nexus.repository.release}/</url>
       <url>${nexusproxy}/repositories/${nexus.repository.release}/</url>
-    </repository>\r
-    <!-- OpenDayLight Snapshot artifact -->\r
-    <snapshotRepository>\r
-      <id>opendaylight-snapshot</id>\r
+    </repository>
+    <!-- OpenDayLight Snapshot artifact -->
+    <snapshotRepository>
+      <id>opendaylight-snapshot</id>
       <url>${nexusproxy}/repositories/${nexus.repository.snapshot}/</url>
       <url>${nexusproxy}/repositories/${nexus.repository.snapshot}/</url>
-    </snapshotRepository>\r
-    <!-- Site deployment -->\r
-    <site>\r
-      <id>website</id>\r
-      <url>${sitedeploy}</url>\r
-    </site>\r
-  </distributionManagement>\r
-  <dependencies>\r
-    <dependency>\r
-      <groupId>org.opendaylight.yangtools</groupId>\r
-      <artifactId>yang-binding</artifactId>\r
-      <version>${yang.codegen.version}</version>\r
-    </dependency>\r
-  </dependencies>\r
-</project>\r
+    </snapshotRepository>
+    <!-- Site deployment -->
+    <site>
+      <id>website</id>
+      <url>${sitedeploy}</url>
+    </site>
+  </distributionManagement>
+  <dependencies>
+    <dependency>
+      <groupId>org.opendaylight.yangtools</groupId>
+      <artifactId>yang-binding</artifactId>
+      <version>${yang.codegen.version}</version>
+    </dependency>
+  </dependencies>
+</project>