Merge "Fix for Bug 274."
[yangtools.git] / third-party / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <!--
4  Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
5
6  This program and the accompanying materials are made available under the
7  terms of the Eclipse Public License v1.0 which accompanies this distribution,
8  and is available at http://www.eclipse.org/legal/epl-v10.html
9 -->
10 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
11     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
12     <modelVersion>4.0.0</modelVersion>
13
14     <version>0.1.2</version>
15     <groupId>org.opendaylight.yangtools.thirdparty</groupId>
16     <artifactId>third-party-parent</artifactId>
17     <packaging>pom</packaging>
18
19     <properties>
20         <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
21     </properties>
22
23     <scm>
24         <connection>scm:git:ssh://git.opendaylight.org:29418/yangtools.git</connection>
25         <developerConnection>scm:git:ssh://git.opendaylight.org:29418/yangtools.git</developerConnection>
26         <url>https://wiki.opendaylight.org/view/YANG_Tools:Third-Party</url>
27     </scm>
28
29     <modules>
30         <module>xtend-lib-osgi</module>
31         <module>antlr4-runtime-osgi</module>
32     </modules>
33
34     <repositories>
35         <!-- OpenDayLight Repo Mirror -->
36         <repository>
37             <id>opendaylight-mirror</id>
38             <name>opendaylight-mirror</name>
39             <url>${nexusproxy}/groups/public/</url>
40             <snapshots>
41                 <enabled>false</enabled>
42             </snapshots>
43             <releases>
44                 <enabled>true</enabled>
45                 <updatePolicy>never</updatePolicy>
46             </releases>
47         </repository>
48
49         <!-- OpenDayLight Snapshot artifact -->
50         <repository>
51             <id>opendaylight-snapshot</id>
52             <name>opendaylight-snapshot</name>
53             <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
54             <snapshots>
55                 <enabled>true</enabled>
56             </snapshots>
57             <releases>
58                 <enabled>false</enabled>
59             </releases>
60         </repository>
61     </repositories>
62
63     <distributionManagement>
64         <!-- OpenDayLight Released artifact -->
65         <repository>
66             <id>opendaylight-release</id>
67             <url>${nexusproxy}/repositories/opendaylight.release/</url>
68         </repository>
69         <!-- OpenDayLight Snapshot artifact -->
70         <snapshotRepository>
71             <id>opendaylight-snapshot</id>
72             <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
73         </snapshotRepository>
74         <site>
75             <id>${project.artifactId}-site</id>
76             <url>./</url>
77         </site>
78     </distributionManagement>
79
80     <build>
81         <plugins>
82             <plugin>
83                 <groupId>org.apache.felix</groupId>
84                 <artifactId>maven-bundle-plugin</artifactId>
85                 <extensions>true</extensions>
86                 <configuration>
87                     <instructions>
88                         <Export-Package>*</Export-Package>
89                         <Embed-Dependency>*;inline=true;scope=compile|runtime;inline=true</Embed-Dependency>
90                     </instructions>
91                 </configuration>
92             </plugin>
93         </plugins>
94     </build>
95 </project>