Repository navigation
Expand file tree
/
Copy pathpom.xml
More file actions
165 lines (157 loc) · 6.86 KB
/
Copy pathpom.xml
File metadata and controls
165 lines (157 loc) · 6.86 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
<?xml version="1.0" encoding="UTF-8"?>
<!-- vi: set et smarttab sw=4 tabstop=4: -->
<!--
Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
This program and the accompanying materials are made available under the
terms of the Eclipse Public License v1.0 which accompanies this distribution,
and is available at http://www.eclipse.org/legal/epl-v10.html
-->
<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>
<parent>
<groupId>org.opendaylight.odlparent</groupId>
<artifactId>odlparent-lite</artifactId>
<version>15.1.0</version>
<relativePath/>
</parent>
<groupId>org.opendaylight.yangtools</groupId>
<artifactId>yangtools-aggregator</artifactId>
<version>16.2.0-SNAPSHOT</version>
<packaging>pom</packaging>
<name>yangtools</name> <!-- Used by Sonar to set project name -->
<description>
YANG Tools provides basic libraries for parsing YANG and YIN files, working with the resulting effective model,
handling data complying to this model and projecting it to generated Java DTOs.
</description>
<properties>
<maven.deploy.skip>true</maven.deploy.skip>
<maven.install.skip>true</maven.install.skip>
<!-- Extra tox arguments for PyTest, overridden by tox-args-env -->
<tox.args></tox.args>
</properties>
<modules>
<module>artifacts</module>
<module>docs</module>
<module>features</module>
<module>usecase</module>
<module>benchmarks</module>
<module>binding</module>
<module>bnd-parent</module>
<module>codec</module>
<module>common</module>
<module>data</module>
<module>model</module>
<module>parser</module>
<module>plugin</module>
<module>tests/yt1818</module>
<module>tools</module>
<module>xml</module>
<module>yang</module>
</modules>
<profiles>
<profile>
<id>sonar-jacoco-aggregate</id>
<activation>
<property>
<name>odl.jacoco.aggregateFile</name>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<executions>
<execution>
<id>merge</id>
<goals>
<goal>merge</goal>
</goals>
<phase>generate-resources</phase>
<configuration>
<destFile>${odl.jacoco.aggregateFile}</destFile>
<fileSets>
<fileSet>
<directory>${project.basedir}</directory>
<includes>
<include>**/target/code-coverage/*.exec</include>
</includes>
</fileSet>
</fileSets>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>integration-tests</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>copy-yang-model-validator</id>
<phase>pre-integration-test</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target>
<copy file="${project.basedir}/tools/yang-model-validator/target/yang-model-validator-${project.version}-jar-with-dependencies.jar"
tofile="${project.basedir}/tests/yang-model-validator.jar" />
</target>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<executions>
<execution>
<id>python-pytest</id>
<phase>integration-test</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>tox</executable>
<commandlineArgs>-e pytest ${tox.args}</commandlineArgs>
<workingDirectory>${project.basedir}/tests</workingDirectory>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<!-- Sets tox.args from the TOX_ARGS environment variable. In CI,
values containing spaces or quotes cannot be passed as a
-Dtox.args Maven argument, but an environment variable keeps
them intact. A -Dtox.args argument takes precedence over it. -->
<id>tox-args-env</id>
<activation>
<property>
<name>env.TOX_ARGS</name>
</property>
</activation>
<properties>
<tox.args>${env.TOX_ARGS}</tox.args>
</properties>
</profile>
</profiles>
<scm>
<connection>scm:git:ssh://git.opendaylight.org:29418/yangtools.git</connection>
<developerConnection>scm:git:ssh://git.opendaylight.org:29418/yangtools.git</developerConnection>
<url>https://wiki.opendaylight.org/view/YANG_Tools:Main</url>
<tag>HEAD</tag>
</scm>
</project>