1 <?xml version="1.0" encoding="UTF-8"?>
   2 <!-- Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved. 
   3         DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. The contents 
   4         of this file are subject to the terms of either the Universal Permissive 
   5         License v 1.0 as shown at http://oss.oracle.com/licenses/upl or the following 
   6         license: Redistribution and use in source and binary forms, with or without 
   7         modification, are permitted provided that the following conditions are met: 
   8         1. Redistributions of source code must retain the above copyright notice, 
   9         this list of conditions and the following disclaimer. 2. Redistributions 
  10         in binary form must reproduce the above copyright notice, this list of conditions 
  11         and the following disclaimer in the documentation and/or other materials 
  12         provided with the distribution. 3. Neither the name of the copyright holder 
  13         nor the names of its contributors may be used to endorse or promote products 
  14         derived from this software without specific prior written permission. THIS 
  15         SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 
  16         ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
  17         WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 
  18         IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY 
  19         DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 
  20         (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
  21         LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 
  22         ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 
  23         (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 
  24         THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -->
  25 <project xmlns="http://maven.apache.org/POM/4.0.0"
  26         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  27         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  28         <modelVersion>4.0.0</modelVersion>
  29         <parent>
  30                 <groupId>org.openjdk.jmc</groupId>
  31                 <artifactId>missioncontrol.core.tests</artifactId>
  32                 <version>7.0.0-SNAPSHOT</version>
  33         </parent>
  34         <artifactId>common.test</artifactId>
  35         <version>7.0.0-SNAPSHOT</version>
  36    <packaging>jar</packaging>
  37         <dependencies>
  38       <dependency>
  39          <groupId>org.codehaus.plexus</groupId>
  40          <artifactId>plexus-utils</artifactId>
  41       </dependency>
  42                 <dependency>
  43                         <groupId>org.openjdk.jmc</groupId>
  44                         <artifactId>common</artifactId>
  45                         <version>${project.version}</version>
  46                 </dependency>
  47                 <dependency>
  48                         <groupId>junit</groupId>
  49                         <artifactId>junit</artifactId>
  50                         <scope>test</scope>
  51                 </dependency>
  52         </dependencies>
  53 
  54         <build>
  55                 <plugins>
  56                         <plugin>
  57                                 <groupId>org.apache.maven.plugins</groupId>
  58                                 <artifactId>maven-jar-plugin</artifactId>
  59                                 <executions>
  60                                         <execution>
  61                                                 <goals>
  62                                                         <goal>test-jar</goal>
  63                                                 </goals>
  64                                         </execution>
  65                                 </executions>
  66                         </plugin>
  67 
  68          <plugin>
  69             <groupId>org.apache.felix</groupId>
  70             <artifactId>maven-bundle-plugin</artifactId>
  71             <executions>
  72                <execution>
  73                   <id>bundle-manifest</id>
  74                   <phase>process-classes</phase>
  75                   <goals>
  76                      <goal>manifest</goal>
  77                   </goals>
  78                </execution>
  79             </executions>
  80             <!-- <extensions>true</extensions> <configuration> <instructions> <Manifest-Version>1.0</Manifest-Version> 
  81                <Bundle-RequiredExecutionEnvironment> JavaSE-1.7</Bundle-RequiredExecutionEnvironment> 
  82                <Bundle-Name>JMC Common Plug-in</Bundle-Name> <Bundle-SymbolicName>${project.groupId}.${project.artifactId};singleton:=true</Bundle-SymbolicName> 
  83                <Bundle-Version>${project.version}</Bundle-Version> <Bundle-Vendor>Oracle 
  84                Corporation</Bundle-Vendor> <Export-Package>org.openjdk.jmc.common, org.openjdk.jmc.common.collection, 
  85                org.openjdk.jmc.common.io, org.openjdk.jmc.common.item, org.openjdk.jmc.common.unit, 
  86                org.openjdk.jmc.common.util, org.openjdk.jmc.common.version</Export-Package> 
  87                <Automatic-Module-Name>org.openjdk.jmc.common</Automatic-Module-Name> </instructions> 
  88                </configuration> -->
  89          </plugin>
  90          
  91                 </plugins>
  92         </build>
  93 
  94 </project>