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.mdsal</groupId>
14 <artifactId>mdsal-binding2</artifactId>
15 <version>0.9.2-SNAPSHOT</version>
18 <modelVersion>4.0.0</modelVersion>
19 <artifactId>mdsal-binding2-java-api-generator</artifactId>
24 <artifactId>maven-jar-plugin</artifactId>
27 <groupId>org.apache.felix</groupId>
28 <artifactId>maven-bundle-plugin</artifactId>
29 <extensions>true</extensions>
32 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
34 !org.sonatype.plexus.build.incremental,
41 <!-- Twirl -> compile Twirl files to Scala without Play framework dependencies needed -->
43 <groupId>com.jakewharton.twirl</groupId>
44 <artifactId>twirl-maven-plugin</artifactId>
45 <version>1.0.4</version>
48 <id>twirl-to-scala-first</id>
49 <phase>generate-sources</phase>
57 <!-- Scala -> compile Scala files, in this example generated from Twirl -->
59 <groupId>net.alchim31.maven</groupId>
60 <artifactId>scala-maven-plugin</artifactId>
61 <version>3.2.2</version>
64 <id>scala-compile-second</id>
65 <phase>process-resources</phase>
67 <goal>add-source</goal>
79 <groupId>org.opendaylight.mdsal</groupId>
80 <artifactId>mdsal-binding2-generator-impl</artifactId>
84 <groupId>org.opendaylight.mdsal</groupId>
85 <artifactId>mdsal-binding2-generator-util</artifactId>
88 <groupId>junit</groupId>
89 <artifactId>junit</artifactId>
93 <groupId>com.typesafe.play</groupId>
94 <artifactId>twirl-api_2.11</artifactId>
95 <version>1.1.1</version>
98 <groupId>com.google.guava</groupId>
99 <artifactId>guava</artifactId>
102 <groupId>org.sonatype.plexus</groupId>
103 <artifactId>plexus-build-api</artifactId>
106 <groupId>org.codehaus.plexus</groupId>
107 <artifactId>plexus-container-default</artifactId>
108 <version>1.6</version>
109 <scope>provided</scope>
111 <!-- plexus-build-api pulls in version 1.5.8, while this pulls in 3.0.20.
112 Dependency convergence would break if we did not specify this. -->
114 <groupId>org.codehaus.plexus</groupId>
115 <artifactId>plexus-utils</artifactId>
121 <groupId>org.mockito</groupId>
122 <artifactId>mockito-core</artifactId>
128 Maven Site Configuration
130 The following configuration is necessary for maven-site-plugin to
131 correctly identify the correct deployment path for OpenDaylight Maven
134 <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
136 <distributionManagement>
138 <id>opendaylight-site</id>
139 <url>${nexus.site.url}/${project.artifactId}/</url>
141 </distributionManagement>