Skip to content

Commit edf2f81

Browse files
authored
Update pom.xml
1 parent c64b9bf commit edf2f81

1 file changed

Lines changed: 18 additions & 150 deletions

File tree

deadlock/pom.xml

Lines changed: 18 additions & 150 deletions
Original file line numberDiff line numberDiff line change
@@ -1,167 +1,35 @@
1-
<?xml version="1.0" encoding="utf-8"?>
2-
<!--
3-
# Copyright 2015 M. Isuru Tharanga Chrishantha Perera
4-
#
5-
# Licensed under the Apache License, Version 2.0 (the "License");
6-
# you may not use this file except in compliance with the License.
7-
# You may obtain a copy of the License at
8-
#
9-
# http://www.apache.org/licenses/LICENSE-2.0
10-
#
11-
# Unless required by applicable law or agreed to in writing, software
12-
# distributed under the License is distributed on an "AS IS" BASIS,
13-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14-
# See the License for the specific language governing permissions and
15-
# limitations under the License.
16-
-->
17-
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
18-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
19-
<modelVersion>4.0.0</modelVersion>
20-
21-
<groupId>com.github.chrishantha.sample</groupId>
22-
<artifactId>java-samples</artifactId>
23-
<version>0.0.2-SNAPSHOT</version>
24-
<packaging>pom</packaging>
25-
26-
<name>Java Samples</name>
27-
<description>Java Sample Code to be used in examples (in blog, etc)</description>
28-
<inceptionYear>2015</inceptionYear>
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
295

30-
<licenses>
31-
<license>
32-
<name>The Apache Software License, Version 2.0</name>
33-
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
34-
<distribution>repo</distribution>
35-
</license>
36-
</licenses>
6+
<modelVersion>4.0.0</modelVersion>
377

38-
<scm>
39-
<url>https://github.com/chrishantha/sample-java-programs.git</url>
40-
<developerConnection>scm:git:https://github.com/chrishantha/sample-java-programs.git</developerConnection>
41-
<connection>scm:git:https://github.com/chrishantha/sample-java-programs.git</connection>
42-
<tag>HEAD</tag>
43-
</scm>
8+
<groupId>com.example</groupId>
9+
<artifactId>my-project</artifactId>
10+
<version>1.0.0</version>
4411

45-
<modules>
46-
<module>base</module>
47-
<module>highcpu</module>
48-
<module>hotmethods</module>
49-
<module>latencies</module>
50-
<module>allocations</module>
51-
<module>deadlock</module>
52-
<module>memoryleak</module>
53-
<module>threadleak</module>
54-
<module>memoryref</module>
55-
</modules>
12+
<properties>
13+
<maven.compiler.source>1.8</maven.compiler.source>
14+
<maven.compiler.target>1.8</maven.compiler.target>
15+
</properties>
5616

57-
<dependencyManagement>
58-
<dependencies>
59-
<dependency>
60-
<groupId>com.beust</groupId>
61-
<artifactId>jcommander</artifactId>
62-
<version>${jcommander.version}</version>
63-
</dependency>
64-
<dependency>
65-
<groupId>com.github.chrishantha.sample</groupId>
66-
<artifactId>base</artifactId>
67-
<version>${samples.version}</version>
68-
</dependency>
69-
<dependency>
70-
<groupId>org.hdrhistogram</groupId>
71-
<artifactId>HdrHistogram</artifactId>
72-
<version>${hdrhistogram.version}</version>
73-
</dependency>
74-
</dependencies>
75-
</dependencyManagement>
17+
<dependencies>
18+
<!-- Add your project dependencies here -->
19+
</dependencies>
7620

7721
<build>
78-
<pluginManagement>
79-
<plugins>
80-
<plugins>
81-
<plugin>
82-
<artifactId>maven-compiler-plugin</artifactId>
83-
<version>3.5.1</version>
84-
<configuration>
85-
<source>1.8</source>
86-
<target>1.8</target>
87-
</configuration>
88-
</plugin>
89-
</plugins>
90-
</build>
91-
<plugin>
92-
<groupId>org.apache.maven.plugins</groupId>
93-
<artifactId>maven-shade-plugin</artifactId>
94-
<version>3.2.1</version>
95-
<executions>
96-
<execution>
97-
<goals>
98-
<goal>shade</goal>
99-
</goals>
100-
<configuration>
101-
<transformers>
102-
<transformer
103-
implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
104-
<mainClass>com.github.chrishantha.sample.base.App</mainClass>
105-
</transformer>
106-
</transformers>
107-
</configuration>
108-
</execution>
109-
</executions>
110-
</plugin>
111-
</plugins>
112-
</pluginManagement>
11322
<plugins>
11423
<plugin>
11524
<groupId>org.apache.maven.plugins</groupId>
11625
<artifactId>maven-compiler-plugin</artifactId>
117-
<version>3.8.0</version>
26+
<version>3.8.1</version>
11827
<configuration>
119-
<compilerVersion>${javac.target}</compilerVersion>
120-
<source>${javac.target}</source>
121-
<target>${javac.target}</target>
28+
<source>1.8</source>
29+
<target>1.8</target>
12230
</configuration>
12331
</plugin>
12432
</plugins>
125-
<finalName>${project.name}</finalName>
12633
</build>
12734

128-
<profiles>
129-
<profile>
130-
<id>pedantic</id>
131-
<build>
132-
<plugins>
133-
<plugin>
134-
<groupId>org.apache.rat</groupId>
135-
<artifactId>apache-rat-plugin</artifactId>
136-
<version>0.13</version>
137-
<configuration>
138-
<excludes>
139-
<exclude>**/README.md</exclude>
140-
<exclude>.travis.yml</exclude>
141-
<exclude>**/*.svg</exclude>
142-
<exclude>dependency-reduced-pom.xml</exclude>
143-
<exclude>**/com.github.chrishantha.sample.base.SampleApplication</exclude>
144-
</excludes>
145-
</configuration>
146-
<executions>
147-
<execution>
148-
<phase>verify</phase>
149-
<goals>
150-
<goal>check</goal>
151-
</goals>
152-
</execution>
153-
</executions>
154-
</plugin>
155-
</plugins>
156-
</build>
157-
</profile>
158-
</profiles>
159-
160-
<properties>
161-
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
162-
<javac.target>1.8</javac.target>
163-
<samples.version>0.0.2-SNAPSHOT</samples.version>
164-
<jcommander.version>1.72</jcommander.version>
165-
<hdrhistogram.version>2.1.11</hdrhistogram.version>
166-
</properties>
16735
</project>

0 commit comments

Comments
 (0)