-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpom.xml
190 lines (173 loc) · 5.84 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
<?xml version="1.0" encoding="UTF-8"?>
<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.basepom</groupId>
<artifactId>basepom-minimal</artifactId>
<version>25</version>
</parent>
<groupId>com.zbiljic</groupId>
<artifactId>baseagent</artifactId>
<version>0.2.0-SNAPSHOT</version>
<name>baseagent</name>
<description>
Base Agent framework makes it easy to write instrumentation for Java classes.
</description>
<url>https://github.com/zbiljic/baseagent</url>
<inceptionYear>2018</inceptionYear>
<licenses>
<license>
<name>Apache License 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
<comments>A business-friendly OSS license</comments>
</license>
</licenses>
<developers>
<developer>
<id>zbiljic</id>
<name>Nemanja Zbiljić</name>
<timezone>+1</timezone>
<url>https://github.com/zbiljic</url>
</developer>
</developers>
<scm>
<connection>scm:git:[email protected]:zbiljic/baseagent.git</connection>
<developerConnection>scm:git:ssh://[email protected]/zbiljic/baseagent.git</developerConnection>
<url>https://github.com/zbiljic/baseagent</url>
<tag>HEAD</tag>
</scm>
<issueManagement>
<system>GitHub</system>
<url>http://github.com/zbiljic/baseagent/issues</url>
</issueManagement>
<properties>
<!-- Project options -->
<project.build.targetJdk>1.6</project.build.targetJdk>
<basepom.javadoc.skip>false</basepom.javadoc.skip>
<basepom.maven.version>3.2.5</basepom.maven.version>
<!-- Dependencies -->
<dep.byte-buddy.version>1.7.10</dep.byte-buddy.version>
<dep.junit.version>4.12</dep.junit.version>
</properties>
<dependencies>
<!-- Byte buddy -->
<dependency>
<groupId>net.bytebuddy</groupId>
<artifactId>byte-buddy</artifactId>
<version>${dep.byte-buddy.version}</version>
</dependency>
<dependency>
<groupId>net.bytebuddy</groupId>
<artifactId>byte-buddy-agent</artifactId>
<version>${dep.byte-buddy.version}</version>
</dependency>
<!-- Testing -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>${dep.junit.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive combine.self="override">
<manifest>
<addClasspath>false</addClasspath>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
</manifest>
<manifestSections>
<manifestSection>
<name>${project.groupId}:${project.artifactId}</name>
<manifestEntries>
<!-- project information -->
<Project-ArtifactId>${project.artifactId}</Project-ArtifactId>
<Project-GroupId>${project.groupId}</Project-GroupId>
<Project-Name>${project.name}</Project-Name>
<Project-Version>${project.version}</Project-Version>
</manifestEntries>
</manifestSection>
</manifestSections>
</archive>
</configuration>
<executions>
<!-- Disable building test jar -->
<execution>
<id>attach-tests</id>
<phase>none</phase>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<!-- Disable building test-sources jar -->
<execution>
<id>attach-sources</id>
<phase>none</phase>
</execution>
<execution>
<id>attach-jar-sources</id>
<phase>package</phase>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<!-- Fallback for Java 6 build to use older, compatible versions of plugins. -->
<profile>
<id>java6</id>
<activation>
<activeByDefault>false</activeByDefault>
<jdk>1.6</jdk>
</activation>
<properties>
<basepom.check.skip-findbugs>true</basepom.check.skip-findbugs>
<basepom.check.skip-pmd>true</basepom.check.skip-pmd>
<basepom.check.skip-checkstyle>true</basepom.check.skip-checkstyle>
<dep.plugin.compiler.version>3.6.2</dep.plugin.compiler.version>
</properties>
</profile>
<!-- Runs the build with a target version for Java 7 -->
<profile>
<id>java7</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<properties>
<project.build.targetJdk>1.7</project.build.targetJdk>
</properties>
</profile>
<!-- Runs the build with a target version for Java 8 -->
<profile>
<id>java8</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<properties>
<project.build.targetJdk>1.8</project.build.targetJdk>
</properties>
</profile>
<!-- Runs the build with a target version for Java 9 -->
<profile>
<id>java9</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<properties>
<project.build.targetJdk>9</project.build.targetJdk>
</properties>
</profile>
</profiles>
</project>