Bump versions by x.y.(z+1)
[yangtools.git] / yang / yang-system-test / pom.xml
1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3     <modelVersion>4.0.0</modelVersion>
4     <parent>
5         <groupId>org.opendaylight.odlparent</groupId>
6         <artifactId>bundle-parent</artifactId>
7         <version>1.8.5-SNAPSHOT</version>
8         <relativePath />
9     </parent>
10
11     <groupId>org.opendaylight.yangtools</groupId>
12     <artifactId>yang-system-test</artifactId>
13     <version>1.1.5-SNAPSHOT</version>
14     <name>${project.artifactId}</name>
15     <description>YANG system test</description>
16
17     <properties>
18         <yang.codegen.version>0.10.5-SNAPSHOT</yang.codegen.version>
19     </properties>
20
21     <dependencies>
22         <dependency>
23             <groupId>${project.groupId}</groupId>
24             <artifactId>yang-parser-impl</artifactId>
25             <version>${project.version}</version>
26         </dependency>
27         <dependency>
28             <groupId>org.slf4j</groupId>
29             <artifactId>slf4j-api</artifactId>
30         </dependency>
31         <dependency>
32             <groupId>org.slf4j</groupId>
33             <artifactId>slf4j-log4j12</artifactId>
34         </dependency>
35         <dependency>
36             <groupId>commons-cli</groupId>
37             <artifactId>commons-cli</artifactId>
38             <version>1.2</version>
39         </dependency>
40     </dependencies>
41
42     <build>
43         <plugins>
44             <plugin>
45                 <groupId>org.codehaus.mojo</groupId>
46                 <artifactId>build-helper-maven-plugin</artifactId>
47             </plugin>
48             <plugin>
49                 <groupId>org.apache.maven.plugins</groupId>
50                 <artifactId>maven-javadoc-plugin</artifactId>
51             </plugin>
52             <plugin>
53                 <groupId>org.apache.felix</groupId>
54                 <artifactId>maven-bundle-plugin</artifactId>
55                 <extensions>true</extensions>
56             </plugin>
57             <plugin>
58                 <groupId>org.codehaus.mojo</groupId>
59                 <artifactId>exec-maven-plugin</artifactId>
60                 <executions>
61                     <execution>
62                         <id>yang-parser-system-test-java</id>
63                         <goals>
64                             <goal>java</goal>
65                         </goals>
66                         <configuration>
67                             <includeProjectDependencies>true</includeProjectDependencies>
68                             <includePluginDependencies>true</includePluginDependencies>
69                             <mainClass>org.opendaylight.yangtools.yang.parser.system.test.Main</mainClass>
70                             <arguments>
71                                 <argument>./src/main/yang</argument>
72                             </arguments>
73                         </configuration>
74                     </execution>
75                     <execution>
76                         <id>yang-parser-system-test-exec</id>
77                         <goals>
78                             <goal>exec</goal>
79                         </goals>
80                         <configuration>
81                             <classpathScope>test</classpathScope>
82                             <executable>java</executable>
83                             <arguments>
84                                 <argument>-classpath</argument>
85                                 <classpath />
86                                 <argument>org.opendaylight.yangtools.yang.parser.system.test.Main</argument>
87                                 <argument>./src/main/yang</argument>
88                             </arguments>
89                         </configuration>
90                     </execution>
91                 </executions>
92             </plugin>
93             <plugin>
94                 <groupId>org.apache.maven.plugins</groupId>
95                 <artifactId>maven-assembly-plugin</artifactId>
96                 <executions>
97                     <execution>
98                         <goals>
99                             <goal>attached</goal>
100                         </goals>
101                         <phase>package</phase>
102                         <configuration>
103                             <descriptorRefs>
104                                 <descriptorRef>jar-with-dependencies</descriptorRef>
105                             </descriptorRefs>
106                             <archive>
107                                 <manifest>
108                                     <mainClass>org.opendaylight.yangtools.yang.parser.system.test.Main</mainClass>
109                                 </manifest>
110                             </archive>
111                         </configuration>
112                     </execution>
113                 </executions>
114             </plugin>
115         </plugins>
116     </build>
117
118
119     <!-- Maven Site Configuration The following configuration is necessary 
120         for maven-site-plugin to correctly identify the correct deployment path for 
121         OpenDaylight Maven sites. -->
122     <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
123
124     <distributionManagement>
125         <site>
126             <id>opendaylight-site</id>
127             <url>${nexus.site.url}/${project.artifactId}/</url>
128         </site>
129     </distributionManagement>
130 </project>