tom

Poms for all.

Change-Id: I3b63ff268cfc0e7a9459cd98c30f652f2c5effbb
1 +<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2 +<features xmlns="http://karaf.apache.org/xmlns/features/v1.2.0"
3 + name="net.onrc.onos-1.0.0">
4 + <repository>mvn:net.onrc.onos/onos-features/1.0.0-SNAPSHOT/xml/features</repository>
5 +
6 + <feature name="onos-thirdparty" version="1.0.0"
7 + description="ONOS 3rd party dependencies">
8 + <bundle>mvn:com.google.code.findbugs/annotations/2.0.2</bundle>
9 + <bundle>mvn:io.netty/netty/3.9.2.Final</bundle>
10 + <bundle>mvn:com.google.guava/guava/17.0</bundle>
11 + <bundle>mvn:com.google.guava/guava/15.0</bundle>
12 + </feature>
13 +
14 + <feature name="onos-of-ctl" version="1.0.0"
15 + description="ONOS OpenFlow Libraries &amp; Controller">
16 + <feature>scr</feature>
17 + <feature>thirdparty</feature>
18 + <bundle>mvn:net.onrc.onos.sb/onos-sb/0.0.1</bundle>
19 + <bundle>mvn:org.projectfloodlight/openflowj/0.3.6-SNAPSHOT</bundle>
20 + </feature>
21 +
22 +</features>
1 +<?xml version="1.0" encoding="UTF-8"?>
2 +<project xmlns="http://maven.apache.org/POM/4.0.0"
3 + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4 + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
5 + <modelVersion>4.0.0</modelVersion>
6 +
7 + <parent>
8 + <groupId>net.onrc.onos</groupId>
9 + <artifactId>onos</artifactId>
10 + <version>1.0.0-SNAPSHOT</version>
11 + <relativePath>../pom.xml</relativePath>
12 + </parent>
13 +
14 + <artifactId>onos-features</artifactId>
15 + <packaging>jar</packaging>
16 +
17 + <name>onos-features</name>
18 + <description>ONOS Apache Karaf feature definitions</description>
19 +
20 + <build>
21 + <plugins>
22 + <plugin>
23 + <groupId>org.codehaus.mojo</groupId>
24 + <artifactId>build-helper-maven-plugin</artifactId>
25 + <version>1.3</version>
26 + <executions>
27 + <execution>
28 + <id>attach-artifacts</id>
29 + <phase>package</phase>
30 + <goals>
31 + <goal>attach-artifact</goal>
32 + </goals>
33 + <configuration>
34 + <artifacts>
35 + <artifact>
36 + <file>features.xml</file>
37 + <type>xml</type>
38 + <classifier>features</classifier>
39 + </artifact>
40 + </artifacts>
41 + </configuration>
42 + </execution>
43 + </executions>
44 + </plugin>
45 + </plugins>
46 + </build>
47 +
48 +</project>
1 <?xml version="1.0" encoding="UTF-8"?> 1 <?xml version="1.0" encoding="UTF-8"?>
2 <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/maven-v4_0_0.xsd"> 2 <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/maven-v4_0_0.xsd">
3 + <modelVersion>4.0.0</modelVersion>
3 4
4 - <groupId>inet.onrc.onos.of</groupId> 5 + <parent>
5 - <artifactId>oflib</artifactId> 6 + <groupId>net.onrc.onos</groupId>
6 - <version>1.0-SNAPSHOT</version> 7 + <artifactId>onos</artifactId>
7 - <packaging>pom</packaging> 8 + <version>1.0.0-SNAPSHOT</version>
8 - <modelVersion>4.0.0</modelVersion> 9 + <relativePath>../pom.xml</relativePath>
10 + </parent>
9 11
10 - <name>OpenFlow controller</name> 12 + <artifactId>onos-of</artifactId>
11 - <description>This module contains the OpenFlow library and its associated IO loop</description> 13 + <packaging>pom</packaging>
12 14
13 - 15 + <name>onos-of</name>
14 - <modules> 16 + <description>ONOS OpenFlow Protocol Library &amp; IO</description>
15 - <module>lib</module> 17 +
16 - <module>ctl</module> 18 + <modules>
17 - </modules> 19 + <module>lib</module>
18 - 20 + <module>ctl</module>
21 + </modules>
19 22
20 </project> 23 </project>
......
1 <?xml version="1.0" encoding="UTF-8"?> 1 <?xml version="1.0" encoding="UTF-8"?>
2 -<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/maven-v4_0_0.xsd"> 2 +<project xmlns="http://maven.apache.org/POM/4.0.0"
3 - 3 + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4 - <groupId>net.onrc.onos</groupId> 4 + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
5 - <artifactId>onos</artifactId> 5 + <modelVersion>4.0.0</modelVersion>
6 - <version>1.0-SNAPSHOT</version> 6 +
7 - <packaging>pom</packaging> 7 + <groupId>net.onrc.onos</groupId>
8 - <modelVersion>4.0.0</modelVersion> 8 + <artifactId>onos</artifactId>
9 - 9 + <packaging>pom</packaging>
10 - <name>ONOS distributed controller</name> 10 + <version>1.0.0-SNAPSHOT</version>
11 - <description>ONOS</description> 11 +
12 - 12 + <name>onos</name>
13 - 13 + <description>Open Networking Operating System Root Project</description>
14 - <modules> 14 +
15 - <module>of</module> 15 + <modules>
16 - </modules> 16 + <!--
17 - 17 + <module>of</module>
18 + <module>net</module>
19 + -->
20 + <module>features</module>
21 + </modules>
22 +
23 + <url>http://onlab.us/</url>
24 +
25 + <licenses>
26 + <license>
27 + <!-- TODO: Is this really our license scheme? -->
28 + <name>Apache License, Version 2.0</name>
29 + <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
30 + </license>
31 + </licenses>
32 +
33 + <repositories>
34 + <!-- TODO: We should have our own artifact repo (Artifactory|Nexus) -->
35 + <!-- TODO: for now we should avoid specifying repos here and instead rely on settings.xml instead -->
36 + <repository>
37 + <id>central</id>
38 + <name>Maven Central repository</name>
39 + <url>https://repo1.maven.org/maven2</url>
40 + </repository>
41 + <repository>
42 + <id>maven-restlet</id>
43 + <name>Public online Restlet repository</name>
44 + <url>http://maven.restlet.org</url>
45 + <snapshots>
46 + <enabled>false</enabled>
47 + </snapshots>
48 + </repository>
49 + <repository>
50 + <id>sonatype-oss-snapshot</id>
51 + <name>Sonatype OSS snapshot repository</name>
52 + <url>https://oss.sonatype.org/content/repositories/snapshots</url>
53 + <releases>
54 + <enabled>false</enabled>
55 + </releases>
56 + </repository>
57 + </repositories>
58 +
59 + <properties>
60 + <slf4j.version>1.7.5</slf4j.version>
61 + <jacoco.version>0.7.0.201403182114</jacoco.version>
62 + </properties>
63 +
64 + <build>
65 + <pluginManagement>
66 + <plugins>
67 + <plugin>
68 + <groupId>org.apache.maven.plugins</groupId>
69 + <artifactId>maven-compiler-plugin</artifactId>
70 + <version>3.1</version>
71 + <configuration>
72 + <source>1.7</source>
73 + <target>1.7</target>
74 + </configuration>
75 + </plugin>
76 +
77 + <plugin>
78 + <groupId>org.apache.maven.plugins</groupId>
79 + <artifactId>maven-surefire-plugin</artifactId>
80 + <version>2.17</version>
81 + </plugin>
82 +
83 + <plugin>
84 + <groupId>org.apache.maven.plugins</groupId>
85 + <artifactId>maven-jar-plugin</artifactId>
86 + <version>2.3.1</version>
87 + <executions>
88 + <execution>
89 + <phase>package</phase>
90 + <goals>
91 + <goal>test-jar</goal>
92 + </goals>
93 + </execution>
94 + </executions>
95 + </plugin>
96 +
97 + <plugin>
98 + <groupId>org.apache.felix</groupId>
99 + <artifactId>maven-bundle-plugin</artifactId>
100 + <version>2.3.7</version>
101 + <extensions>true</extensions>
102 + </plugin>
103 +
104 + <plugin>
105 + <groupId>org.apache.felix</groupId>
106 + <artifactId>maven-scr-plugin</artifactId>
107 + <version>1.15.0</version>
108 + <executions>
109 + <execution>
110 + <id>generate-scr-srcdescriptor</id>
111 + <goals>
112 + <goal>scr</goal>
113 + </goals>
114 + </execution>
115 + </executions>
116 + <configuration>
117 + <supportedProjectTypes>
118 + <supportedProjectType>bundle</supportedProjectType>
119 + <supportedProjectType>war</supportedProjectType>
120 + </supportedProjectTypes>
121 + </configuration>
122 + </plugin>
123 +
124 +
125 + <!-- TODO: add checkstyle plugin -->
126 +
127 + <!-- TODO: add javadoc plugin for aggregate docs; for explicit invocation only -->
128 + <!-- TODO: add jacoco plugin for unit test coverage; for explicit invocation only -->
129 + <!-- TODO: add findbugs plugin for static code analysis; for explicit invocation only -->
130 + <!-- TODO: add sonarqube plugin for code analysis; for explicit invocation only -->
131 +
132 + </plugins>
133 +
134 + </pluginManagement>
135 + </build>
18 136
19 </project> 137 </project>
......