b5153b58e7893dc519f463a316a201c52019e9da
[mdsal.git] / code-generator / binding-generator-api / pom.xml
1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\r
2     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">\r
3 \r
4     <parent>\r
5         <groupId>org.opendaylight.yangtools</groupId>\r
6         <artifactId>binding-generator</artifactId>\r
7         <version>0.5.8-SNAPSHOT</version>\r
8     </parent>\r
9 \r
10     <modelVersion>4.0.0</modelVersion>\r
11     <artifactId>binding-generator-api</artifactId>\r
12 \r
13     <dependencies>\r
14         <dependency>\r
15             <groupId>org.opendaylight.yangtools</groupId>\r
16             <artifactId>binding-model-api</artifactId>\r
17         </dependency>\r
18         <dependency>\r
19             <groupId>org.opendaylight.yangtools</groupId>\r
20             <artifactId>yang-model-api</artifactId>\r
21         </dependency>\r
22     </dependencies>\r
23 \r
24     <build>\r
25         <plugins>\r
26             <plugin>\r
27                 <artifactId>maven-jar-plugin</artifactId>\r
28                 <configuration>\r
29                     <archive>\r
30                         <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>\r
31                     </archive>\r
32                 </configuration>\r
33             </plugin>\r
34             <plugin>\r
35                 <groupId>org.apache.felix</groupId>\r
36                 <artifactId>maven-bundle-plugin</artifactId>\r
37                 <version>${maven.bundle.version}</version>\r
38                 <extensions>true</extensions>\r
39                 <executions>\r
40                     <execution>\r
41                         <id>bundle-manifest</id>\r
42                         <phase>process-classes</phase>\r
43                         <goals>\r
44                             <goal>manifest</goal>\r
45                         </goals>\r
46                     </execution>\r
47                 </executions>\r
48                 <configuration>\r
49                     <instructions>\r
50                         <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>\r
51                         <Export-Package>\r
52                             org.opendaylight.yangtools.sal.binding.generator.api\r
53                         </Export-Package>\r
54                     </instructions>\r
55                 </configuration>\r
56             </plugin>\r
57         </plugins>\r
58         <pluginManagement>\r
59             <plugins>\r
60                 <plugin>\r
61                     <groupId>org.eclipse.m2e</groupId>\r
62                     <artifactId>lifecycle-mapping</artifactId>\r
63                     <version>1.0.0</version>\r
64                     <configuration>\r
65                         <lifecycleMappingMetadata>\r
66                             <pluginExecutions>\r
67                                 <pluginExecution>\r
68                                     <pluginExecutionFilter>\r
69                                         <groupId>org.apache.felix</groupId>\r
70                                         <artifactId>maven-bundle-plugin</artifactId>\r
71                                         <versionRange>[1.0,)</versionRange>\r
72                                         <goals>\r
73                                             <goal>manifest</goal>\r
74                                         </goals>\r
75                                     </pluginExecutionFilter>\r
76                                     <action>\r
77                                         <execute></execute>\r
78                                     </action>\r
79                                 </pluginExecution>\r
80                             </pluginExecutions>\r
81                         </lifecycleMappingMetadata>\r
82                     </configuration>\r
83                 </plugin>\r
84             </plugins>\r
85         </pluginManagement>\r
86     </build>\r
87 \r
88 </project>\r