src/utils/LogCompilation/pom.xml
author jjg
Fri, 31 Aug 2018 14:54:42 -0700
changeset 51615 afbb33428df7
parent 48828 5fcc602d36b6
child 53136 ddbd6111f564
permissions -rw-r--r--
8208608: Update --module-source-path to allow explicit source paths for specific modules Reviewed-by: jlahoda
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
48170
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
     1
<!--
48828
5fcc602d36b6 8195069: LogCompilation - add basic unit tests
ecaspole
parents: 48170
diff changeset
     2
 Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved.
48170
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
     3
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
     4
 Redistribution and use in source and binary forms, with or without
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
     5
 modification, are permitted provided that the following conditions
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
     6
 are met:
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
     7
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
     8
   - Redistributions of source code must retain the above copyright
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
     9
     notice, this list of conditions and the following disclaimer.
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
    10
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
    11
   - Redistributions in binary form must reproduce the above copyright
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
    12
     notice, this list of conditions and the following disclaimer in the
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
    13
     documentation and/or other materials provided with the distribution.
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
    14
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
    15
   - Neither the name of Oracle nor the names of its
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
    16
     contributors may be used to endorse or promote products derived
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
    17
     from this software without specific prior written permission.
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
    18
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
    19
 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
    20
 IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
    21
 THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
    22
 PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
    23
 CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
    24
 EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
    25
 PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
    26
 PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
    27
 LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
    28
 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
    29
 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
    30
-->
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
    31
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
    32
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
    33
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
    34
  <modelVersion>4.0.0</modelVersion>
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
    35
  <groupId>com.sun.hotspot.tools.compiler</groupId>
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
    36
  <artifactId>LogCompilation</artifactId>
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
    37
  <packaging>jar</packaging>
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
    38
  <version>1.0-SNAPSHOT</version>
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
    39
  <name>LogCompilation</name>
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
    40
  <url>http://maven.apache.org</url>
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
    41
  <dependencies>
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
    42
    <dependency>
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
    43
      <groupId>junit</groupId>
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
    44
      <artifactId>junit</artifactId>
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
    45
      <version>4.8.2</version>
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
    46
      <scope>test</scope>
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
    47
    </dependency>
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
    48
  </dependencies>
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
    49
      <build>
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
    50
        <plugins>
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
    51
            <plugin>
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
    52
                <groupId>org.apache.maven.plugins</groupId>
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
    53
                <artifactId>maven-shade-plugin</artifactId>
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
    54
                <version>3.1.0</version>
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
    55
                <executions>
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
    56
                    <execution>
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
    57
                        <phase>package</phase>
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
    58
                        <goals>
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
    59
                            <goal>shade</goal>
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
    60
                        </goals>
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
    61
                        <configuration>
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
    62
                            <transformers>
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
    63
                                <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
    64
                                    <mainClass>com.sun.hotspot.tools.compiler.LogCompilation</mainClass>
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
    65
                                </transformer>
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
    66
                            </transformers>
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
    67
                            <createDependencyReducedPom>false</createDependencyReducedPom>
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
    68
                        </configuration>
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
    69
                    </execution>
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
    70
                </executions>
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
    71
            </plugin>
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
    72
            <plugin>
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
    73
                <groupId>org.apache.maven.plugins</groupId>
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
    74
                <artifactId>maven-compiler-plugin</artifactId>
48828
5fcc602d36b6 8195069: LogCompilation - add basic unit tests
ecaspole
parents: 48170
diff changeset
    75
                <version>3.7.0</version>
48170
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
    76
                <configuration>
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
    77
                    <source>1.8</source>
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
    78
                    <target>1.8</target>
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
    79
                </configuration>
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
    80
            </plugin>
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
    81
            <plugin>
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
    82
                <groupId>org.apache.maven.plugins</groupId>
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
    83
                <artifactId>maven-release-plugin</artifactId>
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
    84
                <version>2.5.3</version>
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
    85
            </plugin>
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
    86
            <plugin>
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
    87
                <groupId>org.apache.maven.plugins</groupId>
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
    88
                <artifactId>maven-javadoc-plugin</artifactId>
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
    89
                <version>3.0.0-M1</version>
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
    90
            </plugin>
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
    91
            <plugin>
48828
5fcc602d36b6 8195069: LogCompilation - add basic unit tests
ecaspole
parents: 48170
diff changeset
    92
                <groupId>org.apache.maven.plugins</groupId>
5fcc602d36b6 8195069: LogCompilation - add basic unit tests
ecaspole
parents: 48170
diff changeset
    93
                <artifactId>maven-surefire-plugin</artifactId>
5fcc602d36b6 8195069: LogCompilation - add basic unit tests
ecaspole
parents: 48170
diff changeset
    94
                <version>2.20.1</version>
5fcc602d36b6 8195069: LogCompilation - add basic unit tests
ecaspole
parents: 48170
diff changeset
    95
            </plugin>
5fcc602d36b6 8195069: LogCompilation - add basic unit tests
ecaspole
parents: 48170
diff changeset
    96
            <plugin>
48170
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
    97
                <artifactId>maven-antrun-plugin</artifactId>
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
    98
                <version>1.8</version>
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
    99
                <executions>
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
   100
                    <execution>
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
   101
                        <id>copy</id>
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
   102
                        <phase>package</phase>
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
   103
                        <configuration>
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
   104
                            <target>
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
   105
                                <copy file="${basedir}/target/${artifactId}-${version}.jar" tofile="${basedir}/logc.jar"/>
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
   106
                            </target>
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
   107
                        </configuration>
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
   108
                        <goals>
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
   109
                            <goal>run</goal>
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
   110
                        </goals>
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
   111
                    </execution> 
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
   112
                </executions>
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
   113
            </plugin>
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
   114
        </plugins>
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
   115
    </build>
3af0ab7d1d90 8192821: Make LogCompilation into a maven project
ecaspole
parents:
diff changeset
   116
</project>