blob: 33b3a09b12bab8ca9a626d64f7f1cd69ba6cafdd [file] [log] [blame]
Brian O'Connor932d9412014-12-03 17:20:11 -08001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 ~ Copyright 2014 Open Networking Laboratory
4 ~
5 ~ Licensed under the Apache License, Version 2.0 (the "License");
6 ~ you may not use this file except in compliance with the License.
7 ~ You may obtain a copy of the License at
8 ~
9 ~ http://www.apache.org/licenses/LICENSE-2.0
10 ~
11 ~ Unless required by applicable law or agreed to in writing, software
12 ~ distributed under the License is distributed on an "AS IS" BASIS,
13 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 ~ See the License for the specific language governing permissions and
15 ~ limitations under the License.
16 -->
17<project xmlns="http://maven.apache.org/POM/4.0.0"
18 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
19 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
20 <modelVersion>4.0.0</modelVersion>
21
22 <prerequisites>
23 <maven>3.0.0</maven>
24 </prerequisites>
25
26 <groupId>org.onosproject</groupId>
27 <artifactId>onos-base</artifactId>
28 <packaging>pom</packaging>
29 <version>1</version>
30
31 <name>${project.artifactId}</name>
32 <description>Open Network Operating System Base Pom</description>
33
34 <url>http://onosproject.org/</url>
35
36 <scm>
37 <connection>scm:git:https://gerrit.onosproject.org/onos</connection>
38 <developerConnection>scm:git:https://gerrit.onosproject.org/onos</developerConnection>
39 <url>http://gerrit.onosproject.org/</url>
40 </scm>
41
42 <licenses>
43 <license>
44 <name>Apache License, Version 2.0</name>
45 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
46 </license>
47 </licenses>
48
49 <developers>
50 <developer>
51 <organization>Open Networking Lab</organization>
52 <url>http://onlab.us</url>
53 </developer>
54 </developers>
55
56 <distributionManagement>
57 <snapshotRepository>
58 <id>ossrh</id>
59 <url>https://oss.sonatype.org/content/repositories/snapshots</url>
60 </snapshotRepository>
61 </distributionManagement>
62
63 <profiles>
64 <profile>
65 <id>release</id>
66 <build>
67 <plugins>
68 <plugin>
69 <groupId>org.apache.maven.plugins</groupId>
70 <artifactId>maven-source-plugin</artifactId>
71 <version>2.2.1</version>
72 <executions>
73 <execution>
74 <id>attach-sources</id>
75 <goals>
76 <goal>jar-no-fork</goal>
77 </goals>
78 </execution>
79 </executions>
80 </plugin>
81 <plugin>
82 <groupId>org.apache.maven.plugins</groupId>
83 <artifactId>maven-javadoc-plugin</artifactId>
Brian O'Connor932d9412014-12-03 17:20:11 -080084 <executions>
85 <execution>
86 <id>attach-javadocs</id>
87 <goals>
88 <goal>jar</goal>
89 </goals>
90 </execution>
91 </executions>
92 </plugin>
93 <plugin>
94 <groupId>org.apache.maven.plugins</groupId>
95 <artifactId>maven-gpg-plugin</artifactId>
96 <version>1.5</version>
97 <executions>
98 <execution>
99 <id>sign-artifacts</id>
100 <phase>verify</phase>
101 <goals>
102 <goal>sign</goal>
103 </goals>
104 </execution>
105 </executions>
106 </plugin>
107 <plugin>
108 <groupId>org.sonatype.plugins</groupId>
109 <artifactId>nexus-staging-maven-plugin</artifactId>
110 <version>1.6.5</version>
111 <extensions>true</extensions>
112 <configuration>
113 <serverId>ossrh</serverId>
114 <nexusUrl>https://oss.sonatype.org/</nexusUrl>
115 <autoReleaseAfterClose>false</autoReleaseAfterClose>
116 </configuration>
117 </plugin>
118 </plugins>
119 </build>
120 </profile>
121 </profiles>
122</project>