1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
4 Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
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
10 <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">
13 <groupId>org.opendaylight.odlparent</groupId>
14 <artifactId>odlparent</artifactId>
15 <version>10.0.0</version>
19 <modelVersion>4.0.0</modelVersion>
20 <groupId>org.opendaylight.yangtools</groupId>
21 <artifactId>yang-maven-plugin-it</artifactId>
22 <version>9.0.0-SNAPSHOT</version>
25 <!-- We are doing abhorrent things here unpacking our dependencies, which confuses analysis, just skip it -->
26 <odlparent.dependency.skip>true</odlparent.dependency.skip>
31 <groupId>org.apache.maven.shared</groupId>
32 <artifactId>maven-verifier</artifactId>
33 <version>1.7.2</version>
37 <groupId>com.google.guava</groupId>
38 <artifactId>guava</artifactId>
42 <groupId>org.opendaylight.yangtools</groupId>
43 <artifactId>yang-maven-plugin</artifactId>
44 <version>${project.version}</version>
52 <directory>${basedir}/src/test/resources</directory>
53 <filtering>true</filtering>
58 <artifactId>maven-resources-plugin</artifactId>
61 <id>default-testResources</id>
62 <phase>process-test-resources</phase>
64 <goal>testResources</goal>
67 <useDefaultDelimiters>false</useDefaultDelimiters>
69 <delimiter>@</delimiter>
76 <groupId>org.codehaus.mojo</groupId>
77 <artifactId>properties-maven-plugin</artifactId>
80 <phase>generate-resources</phase>
82 <goal>write-project-properties</goal>
85 <outputFile>${project.build.directory}/it-project.properties</outputFile>
91 <artifactId>maven-help-plugin</artifactId>
93 <output>${project.build.directory}/effective-settings.xml</output>
97 <phase>pre-integration-test</phase>
99 <goal>effective-settings</goal>
105 <artifactId>maven-failsafe-plugin</artifactId>
109 <goal>integration-test</goal>
113 <!-- We want to pass argLine down to maven invocations, not to failsafe -->
114 <argLine>-DitArgPath='@{argLine}'</argLine>
121 <groupId>org.jacoco</groupId>
122 <artifactId>jacoco-maven-plugin</artifactId>
125 <id>merge-reports</id>
126 <phase>post-integration-test</phase>
133 <directory>${project.build.directory}/test-classes/test-parent</directory>
135 <include>*.exec</include>
144 <!-- Okay, this is rather ugly, but is needed to fool JaCoCo to generate an XML report -->
146 <artifactId>maven-dependency-plugin</artifactId>
149 <id>fake-classes</id>
150 <phase>post-integration-test</phase>
152 <goal>unpack-dependencies</goal>
155 <includeGroupIds>org.opendaylight.yangtools</includeGroupIds>
156 <includes>**/*.class</includes>
157 <outputDirectory>${project.build.directory}/classes</outputDirectory>