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