3c778e262b66ec985a1b67b4ec78a4e542f71d03
[controller.git] / opendaylight / archetypes / opendaylight-configfile-archetype / src / main / resources / archetype-resources / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3  Copyright (c) 2014 Cisco Systems, Inc. and others.  All rights reserved.
4
5  This program and the accompanying materials are made available under the
6  terms of the Eclipse Public License v1.0 which accompanies this distribution,
7  and is available at http://www.eclipse.org/legal/epl-v10.html
8 --><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">
9
10   <modelVersion>4.0.0</modelVersion>
11   <!--
12     Necessary TODO: Hookup your parent pom here, else you will not get necessary versions,
13     maven repos etc.  If you run this archetype in a subdirectory of your project, it
14     will pick the pom.xml from the parent directory as the parent pom, which may or may
15     not be correct.
16   -->
17   <!--
18     Necessary TODO: Replace the contents of src/main/resources/80-${repoName}.xml with
19     the proper config subsystem contents for your module
20   -->
21   <artifactId>${artifactId}</artifactId>
22   <groupId>${groupId}</groupId>
23   <description>Configuration files for md-sal</description>
24   <!-- Optional TODO: Uncomment version if you are not using a parent pom.xml
25    <version>${version}</version>
26    -->
27   <packaging>jar</packaging>
28   <properties>
29       <!-- Optional TODO: Rename your configfile to taste -->
30       <configfile>80-${repoName}.xml</configfile>
31   </properties>
32   <build>
33     <plugins>
34         <plugin>
35         <groupId>org.codehaus.mojo</groupId>
36         <artifactId>build-helper-maven-plugin</artifactId>
37         <executions>
38           <execution>
39             <id>attach-artifacts</id>
40             <goals>
41               <goal>attach-artifact</goal>
42             </goals>
43             <phase>package</phase>
44             <configuration>
45               <artifacts>
46                 <artifact>
47                   <file>${project.build.directory}/classes/${configfile}</file>
48                   <type>xml</type>
49                   <classifier>config</classifier>
50                 </artifact>
51                 <!--
52                   Optional TODO: Add additional config files
53                     You may need to add more than one config file
54                     if so, you just need to add additional <artifact> entries
55                     here WITH DIFFERENT CLASSIFIERS
56                     Example:
57                     <artifact>
58                       <file>${project.build.directory}/classes/<another-configfile></file>
59                       <type>xml</type>
60                       <classifier>config-<meaningful suffix to describe your other configfile></classifier>
61                     </artifact>
62                 -->
63               </artifacts>
64             </configuration>
65           </execution>
66         </executions>
67       </plugin>
68     </plugins>
69   </build>
70   <scm>
71       <connection>scm:git:ssh://git.opendaylight.org:29418/${repoName}.git</connection>
72       <developerConnection>scm:git:ssh://git.opendaylight.org:29418/${repoName}.git</developerConnection>
73       <tag>HEAD</tag>
74       <url>https://git.opendaylight.org/gerrit/gitweb?p=${repoName}.git;a=summary</url>
75    </scm>
76 </project>