Skip to content

Commit 6b29c00

Browse files
committed
overhauled pom.xml moving most of the build, dependency-management, etc. to the parent
1 parent 1a8239a commit 6b29c00

File tree

4 files changed

+290
-560
lines changed

4 files changed

+290
-560
lines changed

core/pom.xml

Lines changed: 0 additions & 193 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@
4747
</parent>
4848

4949
<artifactId>encoder</artifactId>
50-
<version>1.2-SNAPSHOT</version>
5150
<packaging>jar</packaging>
5251

5352
<name>OWASP Encoders</name>
@@ -63,179 +62,14 @@
6362
<plugin>
6463
<groupId>org.apache.maven.plugins</groupId>
6564
<artifactId>maven-surefire-plugin</artifactId>
66-
<version>2.12</version>
6765
<configuration>
6866
<excludes>
6967
<exclude>org/owasp/encoder/BenchmarkTest.java</exclude>
7068
</excludes>
7169
</configuration>
7270
</plugin>
73-
74-
<plugin>
75-
<groupId>org.codehaus.mojo</groupId>
76-
<artifactId>cobertura-maven-plugin</artifactId>
77-
<version>2.5.2</version>
78-
<configuration>
79-
<check>
80-
<branchRate>85</branchRate>
81-
<lineRate>85</lineRate>
82-
<haltOnFailure>false</haltOnFailure>
83-
<totalBranchRate>85</totalBranchRate>
84-
<totalLineRate>85</totalLineRate>
85-
<packageLineRate>85</packageLineRate>
86-
<packageBranchRate>85</packageBranchRate>
87-
</check>
88-
</configuration>
89-
<executions>
90-
<execution>
91-
<goals>
92-
<goal>clean</goal>
93-
</goals>
94-
</execution>
95-
</executions>
96-
</plugin>
97-
<plugin>
98-
<groupId>org.apache.maven.plugins</groupId>
99-
<artifactId>maven-source-plugin</artifactId>
100-
<version>2.2.1</version>
101-
<executions>
102-
<execution>
103-
<id>attach-sources</id>
104-
<phase>package</phase>
105-
<goals>
106-
<goal>jar</goal>
107-
</goals>
108-
</execution>
109-
</executions>
110-
</plugin>
111-
<plugin>
112-
<groupId>org.apache.maven.plugins</groupId>
113-
<artifactId>maven-javadoc-plugin</artifactId>
114-
<version>2.9</version>
115-
<executions>
116-
<execution>
117-
<id>attach-javadocs</id>
118-
<phase>package</phase>
119-
<goals>
120-
<goal>jar</goal>
121-
</goals>
122-
</execution>
123-
</executions>
124-
</plugin>
125-
<plugin>
126-
<groupId>org.apache.maven.plugins</groupId>
127-
<artifactId>maven-site-plugin</artifactId>
128-
<version>3.2</version>
129-
<configuration>
130-
<reportPlugins>
131-
<plugin>
132-
<groupId>org.apache.maven.plugins</groupId>
133-
<artifactId>maven-project-info-reports-plugin</artifactId>
134-
<version>2.6</version>
135-
<reportSets>
136-
<reportSet>
137-
<reports>
138-
<report>index</report>
139-
<report>summary</report>
140-
<report>license</report>
141-
<report>scm</report>
142-
<report>mailing-list</report>
143-
<report>issue-tracking</report>
144-
<report>dependencies</report>
145-
<report>plugin-management</report>
146-
<report>project-team</report>
147-
</reports>
148-
</reportSet>
149-
</reportSets>
150-
</plugin>
151-
<plugin>
152-
<groupId>org.codehaus.mojo</groupId>
153-
<artifactId>versions-maven-plugin</artifactId>
154-
<version>1.3.1</version>
155-
<reportSets>
156-
<reportSet>
157-
<reports>
158-
<report>dependency-updates-report</report>
159-
<report>plugin-updates-report</report>
160-
</reports>
161-
</reportSet>
162-
</reportSets>
163-
</plugin>
164-
<plugin>
165-
<groupId>org.apache.maven.plugins</groupId>
166-
<artifactId>maven-jxr-plugin</artifactId>
167-
<version>2.3</version>
168-
</plugin>
169-
<plugin>
170-
<groupId>org.apache.maven.plugins</groupId>
171-
<artifactId>maven-surefire-report-plugin</artifactId>
172-
<version>2.12.4</version>
173-
<reportSets>
174-
<reportSet>
175-
<reports>
176-
<report>report-only</report>
177-
<report>failsafe-report-only</report>
178-
</reports>
179-
</reportSet>
180-
</reportSets>
181-
</plugin>
182-
<plugin>
183-
<groupId>org.codehaus.mojo</groupId>
184-
<artifactId>cobertura-maven-plugin</artifactId>
185-
<version>2.5.1</version>
186-
</plugin>
187-
<plugin>
188-
<groupId>org.apache.maven.plugins</groupId>
189-
<artifactId>maven-pmd-plugin</artifactId>
190-
<version>2.7.1</version>
191-
<configuration>
192-
<targetJdk>1.5</targetJdk>
193-
<linkXref>true</linkXref>
194-
<sourceEncoding>utf-8</sourceEncoding>
195-
</configuration>
196-
</plugin>
197-
<plugin>
198-
<groupId>org.apache.maven.plugins</groupId>
199-
<artifactId>maven-javadoc-plugin</artifactId>
200-
<version>2.9</version>
201-
<reportSets>
202-
<reportSet>
203-
<id>default</id>
204-
<reports>
205-
<report>javadoc</report><!-- using this to exclude "test-javadoc", I just don't see the point of generating this -->
206-
</reports>
207-
</reportSet>
208-
</reportSets>
209-
</plugin>
210-
<plugin>
211-
<groupId>org.apache.maven.plugins</groupId>
212-
<artifactId>maven-checkstyle-plugin</artifactId>
213-
<version>2.9.1</version>
214-
<configuration>
215-
<configLocation>../checkstyle.xml</configLocation>
216-
<propertyExpansion>basedir=${basedir}/..</propertyExpansion>
217-
</configuration>
218-
</plugin>
219-
<plugin>
220-
<groupId>org.codehaus.mojo</groupId>
221-
<artifactId>findbugs-maven-plugin</artifactId>
222-
<version>2.5.2</version>
223-
</plugin>
224-
</reportPlugins>
225-
</configuration>
226-
</plugin>
22771
</plugins>
22872
</build>
229-
230-
<dependencies>
231-
<dependency>
232-
<groupId>junit</groupId>
233-
<artifactId>junit</artifactId>
234-
<version>3.8.1</version>
235-
<scope>test</scope>
236-
</dependency>
237-
</dependencies>
238-
23973
<profiles>
24074
<profile>
24175
<id>benchmark</id>
@@ -244,7 +78,6 @@
24478
<plugin>
24579
<groupId>org.apache.maven.plugins</groupId>
24680
<artifactId>maven-failsafe-plugin</artifactId>
247-
<version>2.12.4</version>
24881
<configuration>
24982
<includes>
25083
<include>org/owasp/encoder/BenchmarkTest.java</include>
@@ -262,31 +95,5 @@
26295
</plugins>
26396
</build>
26497
</profile>
265-
<profile>
266-
<id>sign-artifacts</id>
267-
<activation>
268-
<property>
269-
<name>performRelease</name>
270-
<value>true</value>
271-
</property>
272-
</activation>
273-
<build>
274-
<plugins>
275-
<plugin>
276-
<groupId>org.apache.maven.plugins</groupId>
277-
<artifactId>maven-gpg-plugin</artifactId>
278-
<executions>
279-
<execution>
280-
<id>sign-artifacts</id>
281-
<phase>verify</phase>
282-
<goals>
283-
<goal>sign</goal>
284-
</goals>
285-
</execution>
286-
</executions>
287-
</plugin>
288-
</plugins>
289-
</build>
290-
</profile>
29198
</profiles>
29299
</project>

0 commit comments

Comments
 (0)