< prev index next >

core/tests/org.openjdk.jmc.common.test/pom.xml

Print this page

        

@@ -1,43 +1,94 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!--   
-   Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
-   
-   DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-   
-   The contents of this file are subject to the terms of either the Universal Permissive License 
-   v 1.0 as shown at http://oss.oracle.com/licenses/upl
-   
-   or the following license:
-   
-   Redistribution and use in source and binary forms, with or without modification, are permitted
-   provided that the following conditions are met:
-   
-   1. Redistributions of source code must retain the above copyright notice, this list of conditions
-   and the following disclaimer.
-   
-   2. Redistributions in binary form must reproduce the above copyright notice, this list of
-   conditions and the following disclaimer in the documentation and/or other materials provided with
-   the distribution.
-   
-   3. Neither the name of the copyright holder nor the names of its contributors may be used to
-   endorse or promote products derived from this software without specific prior written permission.
-   
-   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
-   IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
-   FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
-   CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-   DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-   DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-   WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY
-   WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
--->
-<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">
+<!-- Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved. 
+        DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. The contents 
+        of this file are subject to the terms of either the Universal Permissive 
+        License v 1.0 as shown at http://oss.oracle.com/licenses/upl or the following 
+        license: Redistribution and use in source and binary forms, with or without 
+        modification, are permitted provided that the following conditions are met: 
+        1. Redistributions of source code must retain the above copyright notice, 
+        this list of conditions and the following disclaimer. 2. Redistributions 
+        in binary form must reproduce the above copyright notice, this list of conditions 
+        and the following disclaimer in the documentation and/or other materials 
+        provided with the distribution. 3. Neither the name of the copyright holder 
+        nor the names of its contributors may be used to endorse or promote products 
+        derived from this software without specific prior written permission. THIS 
+        SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 
+        ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
+        WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 
+        IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY 
+        DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 
+        (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
+        LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 
+        ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 
+        (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 
+        THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -->
+<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">
         <modelVersion>4.0.0</modelVersion>
         <parent>
                 <groupId>org.openjdk.jmc</groupId>
                 <artifactId>missioncontrol.core.tests</artifactId>
                 <version>7.0.0-SNAPSHOT</version>
         </parent>
-        <artifactId>org.openjdk.jmc.common.test</artifactId>
-        <packaging>eclipse-test-plugin</packaging>
+        <artifactId>common.test</artifactId>
+        <version>7.0.0-SNAPSHOT</version>
+   <packaging>jar</packaging>
+        <dependencies>
+      <dependency>
+         <groupId>org.codehaus.plexus</groupId>
+         <artifactId>plexus-utils</artifactId>
+      </dependency>
+                <dependency>
+                        <groupId>org.openjdk.jmc</groupId>
+                        <artifactId>common</artifactId>
+                        <version>${project.version}</version>
+                </dependency>
+                <dependency>
+                        <groupId>junit</groupId>
+                        <artifactId>junit</artifactId>
+                        <scope>test</scope>
+                </dependency>
+        </dependencies>
+
+        <build>
+                <plugins>
+                        <plugin>
+                                <groupId>org.apache.maven.plugins</groupId>
+                                <artifactId>maven-jar-plugin</artifactId>
+                                <executions>
+                                        <execution>
+                                                <goals>
+                                                        <goal>test-jar</goal>
+                                                </goals>
+                                        </execution>
+                                </executions>
+                        </plugin>
+
+         <plugin>
+            <groupId>org.apache.felix</groupId>
+            <artifactId>maven-bundle-plugin</artifactId>
+            <executions>
+               <execution>
+                  <id>bundle-manifest</id>
+                  <phase>process-classes</phase>
+                  <goals>
+                     <goal>manifest</goal>
+                  </goals>
+               </execution>
+            </executions>
+            <!-- <extensions>true</extensions> <configuration> <instructions> <Manifest-Version>1.0</Manifest-Version> 
+               <Bundle-RequiredExecutionEnvironment> JavaSE-1.7</Bundle-RequiredExecutionEnvironment> 
+               <Bundle-Name>JMC Common Plug-in</Bundle-Name> <Bundle-SymbolicName>${project.groupId}.${project.artifactId};singleton:=true</Bundle-SymbolicName> 
+               <Bundle-Version>${project.version}</Bundle-Version> <Bundle-Vendor>Oracle 
+               Corporation</Bundle-Vendor> <Export-Package>org.openjdk.jmc.common, org.openjdk.jmc.common.collection, 
+               org.openjdk.jmc.common.io, org.openjdk.jmc.common.item, org.openjdk.jmc.common.unit, 
+               org.openjdk.jmc.common.util, org.openjdk.jmc.common.version</Export-Package> 
+               <Automatic-Module-Name>org.openjdk.jmc.common</Automatic-Module-Name> </instructions> 
+               </configuration> -->
+         </plugin>
+         
+                </plugins>
+        </build>
+
 </project>
< prev index next >