1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
4 Copyright (c) 2016 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>bundle-parent</artifactId>
15 <version>1.8.0-SNAPSHOT</version>
19 <modelVersion>4.0.0</modelVersion>
20 <groupId>org.opendaylight.mdsal</groupId>
21 <artifactId>mdsal-binding2-java-api-generator</artifactId>
22 <version>0.10.0-SNAPSHOT</version>
23 <packaging>bundle</packaging>
25 <dependencyManagement>
28 <groupId>org.opendaylight.mdsal</groupId>
29 <artifactId>mdsal-artifacts</artifactId>
30 <version>2.2.0-SNAPSHOT</version>
35 <groupId>org.opendaylight.yangtools</groupId>
36 <artifactId>yangtools-artifacts</artifactId>
37 <version>1.1.0-SNAPSHOT</version>
42 </dependencyManagement>
46 <groupId>org.opendaylight.mdsal</groupId>
47 <artifactId>mdsal-binding2-generator-impl</artifactId>
51 <groupId>org.opendaylight.mdsal</groupId>
52 <artifactId>mdsal-binding2-generator-util</artifactId>
55 <groupId>junit</groupId>
56 <artifactId>junit</artifactId>
60 <groupId>com.typesafe.play</groupId>
61 <artifactId>twirl-api_2.11</artifactId>
62 <version>1.1.1</version>
65 <groupId>com.google.guava</groupId>
66 <artifactId>guava</artifactId>
69 <groupId>org.sonatype.plexus</groupId>
70 <artifactId>plexus-build-api</artifactId>
73 <groupId>org.codehaus.plexus</groupId>
74 <artifactId>plexus-container-default</artifactId>
75 <version>1.6</version>
76 <scope>provided</scope>
78 <!-- plexus-build-api pulls in version 1.5.8, while this pulls in 3.0.20.
79 Dependency convergence would break if we did not specify this. -->
81 <groupId>org.codehaus.plexus</groupId>
82 <artifactId>plexus-utils</artifactId>
88 <groupId>org.mockito</groupId>
89 <artifactId>mockito-core</artifactId>
96 <groupId>org.apache.felix</groupId>
97 <artifactId>maven-bundle-plugin</artifactId>
98 <extensions>true</extensions>
101 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
103 !org.sonatype.plexus.build.incremental,
110 <!-- Twirl -> compile Twirl files to Scala without Play framework dependencies needed -->
112 <groupId>com.jakewharton.twirl</groupId>
113 <artifactId>twirl-maven-plugin</artifactId>
114 <version>1.0.4</version>
117 <id>twirl-to-scala-first</id>
118 <phase>generate-sources</phase>
126 <!-- Scala -> compile Scala files generated from Twirl -->
128 <groupId>net.alchim31.maven</groupId>
129 <artifactId>scala-maven-plugin</artifactId>
130 <version>3.2.2</version>
133 <id>scala-compile-second</id>
134 <phase>process-resources</phase>
136 <goal>add-source</goal>
147 Maven Site Configuration
149 The following configuration is necessary for maven-site-plugin to
150 correctly identify the correct deployment path for OpenDaylight Maven
153 <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
155 <distributionManagement>
157 <id>opendaylight-site</id>
158 <url>${nexus.site.url}/${project.artifactId}/</url>
160 </distributionManagement>