<version>0.7.0-SNAPSHOT</version>
<packaging>pom</packaging>
- <properties>
- <!-- TODO Bump maven-archetype-plugin version in odlparent instead of here: -->
- <maven.archetype.version>3.0.1</maven.archetype.version>
- <!-- TODO Figure out why SFT fails on archetype self test with:
- ArtifactResolutionException: Error resolving artifact org.opendaylight.odlparent:opendaylight-karaf-empty:zip:3.0.2 -->
- <archetype.test.skip>true</archetype.test.skip>
- </properties>
+ <dependencies>
+ <dependency>
+ <!-- Required for https://jira.opendaylight.org/browse/CONTROLLER-1799
+ but this is only half of the solution; the other half is setting org.ops4j.pax.url.mvn.localRepository -->
+ <groupId>org.opendaylight.odlparent</groupId>
+ <artifactId>opendaylight-karaf-empty</artifactId>
+ <version>3.0.2</version>
+ <type>zip</type>
+ </dependency>
+ </dependencies>
<build>
<extensions>
<extension>
<groupId>org.apache.maven.archetype</groupId>
<artifactId>archetype-packaging</artifactId>
- <version>${maven.archetype.version}</version>
+ <version>${maven.archetype.plugin.version}</version>
</extension>
</extensions>
</plugin>
<plugin>
<artifactId>maven-help-plugin</artifactId>
- <version>2.2</version>
<configuration>
<output>${project.build.directory}/effective-settings.xml</output>
</configuration>
</plugin>
<plugin>
<artifactId>maven-archetype-plugin</artifactId>
- <version>${maven.archetype.version}</version>
<configuration>
<settingsFile>${project.build.directory}/effective-settings.xml</settingsFile>
</configuration>