1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- Copyright © 2016 Orange and others. All rights reserved. This program and the accompanying materials
3 are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution,
4 and is available at http://www.eclipse.org/legal/epl-v10.html INTERNAL -->
5 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
6 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
7 <modelVersion>4.0.0</modelVersion>
10 <groupId>org.opendaylight.odlparent</groupId>
11 <artifactId>single-feature-parent</artifactId>
12 <version>6.0.6</version>
16 <groupId>org.opendaylight.transportpce</groupId>
17 <artifactId>odl-transportpce-inventory</artifactId>
18 <version>2.0.0-SNAPSHOT</version>
19 <packaging>feature</packaging>
21 <name>OpenDaylight :: transportpce :: Inventory</name>
24 <transportpce.db.host>localhost:3306</transportpce.db.host>
25 <transportpce.db.database>transportpce</transportpce.db.database>
26 <transportpce.db.username>root</transportpce.db.username>
27 <transportpce.db.password>root</transportpce.db.password>
28 <transporpce.device.backup.folder>data/transportpce/devicebackup</transporpce.device.backup.folder>
29 <transporpce.device.backup.prefix></transporpce.device.backup.prefix>
30 <transporpce.device.backup.period>600</transporpce.device.backup.period>
31 <!-- skipping single feature test because DataSource is not available in Pax4j (H2 possible workaround) -->
32 <skip.karaf.featureTest>true</skip.karaf.featureTest>
37 <groupId>org.opendaylight.transportpce</groupId>
38 <artifactId>odl-transportpce</artifactId>
39 <version>${project.version}</version>
40 <classifier>features</classifier>
44 <groupId>org.opendaylight.transportpce</groupId>
45 <artifactId>transportpce-inventory</artifactId>
46 <version>${project.version}</version>
53 <artifactId>maven-resources-plugin</artifactId>
56 <id>copy-resources</id>
57 <phase>validate</phase>
59 <goal>copy-resources</goal>
62 <outputDirectory>${basedir}/target/resources</outputDirectory>
65 <directory>src/main/resources</directory>
66 <filtering>true</filtering>
74 <groupId>org.codehaus.mojo</groupId>
75 <artifactId>build-helper-maven-plugin</artifactId>
78 <id>attach-db-artifact</id>
79 <phase>package</phase>
81 <goal>attach-artifact</goal>
86 <file>target/resources/org.ops4j.datasource-transporpce.cfg</file>
88 <classifier>datasource</classifier>
91 <file>target/resources/org.opendaylight.transportpce.job.cfg</file>
93 <classifier>config</classifier>