Skip to content

Commit

Permalink
Small pom cleanup
Browse files Browse the repository at this point in the history
 * Tidying
 * Updated versions
 * Main version back to snapshot

Signed-off-by: arjantijms <arjan.tijms@gmail.com>
  • Loading branch information
arjantijms committed Jun 12, 2020
1 parent 44673dd commit db8b4fc
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 66 deletions.
58 changes: 28 additions & 30 deletions api/pom.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2012, 2019 Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2012, 2020 Oracle and/or its affiliates. All rights reserved.
This program and the accompanying materials are made available under the
terms of the Eclipse Public License v. 2.0, which is available at
Expand All @@ -18,27 +18,27 @@
-->

<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>
<modelVersion>4.0.0</modelVersion>

<parent>
<parent>
<groupId>org.eclipse.ee4j</groupId>
<artifactId>project</artifactId>
<version>1.0.6</version>
<relativePath/>
<relativePath />
</parent>

<groupId>jakarta.interceptor</groupId>
<artifactId>jakarta.interceptor-api</artifactId>
<version>2.0.0-RC2</version>
<groupId>jakarta.interceptor</groupId>
<artifactId>jakarta.interceptor-api</artifactId>
<version>2.0.0-SNAPSHOT</version>

<name>Jakarta Interceptors</name>
<description>
<name>Jakarta Interceptors</name>
<description>
Jakarta Interceptors defines a means of interposing on business method invocations
and specific events—such as lifecycle events and timeout events—that occur on instances
of Jakarta EE components and other managed classes.
</description>
<url>https://github.com/eclipse-ee4j/interceptor-api</url>
<licenses>
<url>https://github.com/eclipse-ee4j/interceptor-api</url>
<licenses>
<license>
<name>EPL 2.0</name>
<url>http://www.eclipse.org/legal/epl-2.0</url>
Expand All @@ -51,50 +51,50 @@
</license>
</licenses>

<developers>
<developers>
<developer>
<id>yaminikb</id>
<name>Yamini K B</name>
<organization>Oracle Corporation</organization>
<organizationUrl>http://www.oracle.com/</organizationUrl>
</developer>
</developers>
<contributors>
<contributors>
<contributor>
<name>Marina Vatkina</name>
<organization>Oracle Corporation</organization>
<organizationUrl>http://www.oracle.com/</organizationUrl>
</contributor>
</contributors>

<scm>
<scm>
<connection>scm:git:ssh://git@github.com/eclipse-ee4j/interceptor-api.git</connection>
<developerConnection>scm:git:ssh://git@github.com/eclipse-ee4j/interceptor-api.git</developerConnection>
<url>https://github.com/eclipse-ee4j/interceptor-api</url>
<tag>HEAD</tag>
</scm>
<issueManagement>
<issueManagement>
<system>Github</system>
<url>https://github.com/eclipse-ee4j/interceptor-api/issues</url>
</issueManagement>

<properties>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>

<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
</properties>

<dependencies>
<dependencies>
<dependency>
<groupId>jakarta.annotation</groupId>
<artifactId>jakarta.annotation-api</artifactId>
<version>2.0.0-RC1</version>
</dependency>
</dependencies>

<build>
<build>
<resources>
<resource>
<directory>src/main/java</directory>
Expand Down Expand Up @@ -123,7 +123,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>3.0.0-M2</version>
<version>3.0.0-M3</version>
<executions>
<execution>
<id>enforce-maven</id>
Expand All @@ -140,7 +140,7 @@
</execution>
</executions>
</plugin>

<!-- Restricts the Java version to 1.8 -->
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
Expand All @@ -151,7 +151,7 @@
<compilerArgument>-Xlint:unchecked</compilerArgument>
</configuration>
</plugin>

<!-- First sets properties for the maven-bundle-plugin and later checks if they are indeed used. -->
<plugin>
<groupId>org.glassfish.build</groupId>
Expand All @@ -173,7 +173,7 @@
</execution>
</executions>
</plugin>

<!-- Creates the OSGi MANIFEST.MF file -->
<plugin>
<groupId>org.apache.felix</groupId>
Expand Down Expand Up @@ -207,12 +207,12 @@
</execution>
</executions>
</plugin>

<!-- Adds the manifest file created by the org.apache.felix:maven-bundle-plugin -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.1.0</version>
<version>3.2.0</version>
<configuration>
<archive>
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
Expand All @@ -222,7 +222,7 @@
</excludes>
</configuration>
</plugin>

<!-- Creates the source jar -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand All @@ -240,14 +240,12 @@
</execution>
</executions>
</plugin>

<!--
Create Javadoc for API jar
-->

<!-- Create Javadoc for API jar -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.1.1</version>
<version>3.2.0</version>
<executions>
<execution>
<id>attach-api-javadocs</id>
Expand Down
12 changes: 2 additions & 10 deletions pom.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2012, 2019 Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2012, 2020 Oracle and/or its affiliates. All rights reserved.
This program and the accompanying materials are made available under the
terms of the Eclipse Public License v. 2.0, which is available at
Expand All @@ -28,7 +28,7 @@

<groupId>org.eclipse.ee4j.interceptor-api</groupId>
<artifactId>interceptor-api-parent</artifactId>
<version>2.0.0-RC2</version>
<version>2.0-SNAPSHOT</version>
<packaging>pom</packaging>

<name>Jakarta Interceptors Parent</name>
Expand Down Expand Up @@ -63,14 +63,6 @@
<tag>HEAD</tag>
</scm>

<properties>
<non.final>false</non.final>
<extension.name>jakarta.interceptor</extension.name>
<spec.version>2.0</spec.version>
<findbugs.version>3.0.1</findbugs.version>
<findbugs.exclude>exclude.xml</findbugs.exclude>
<findbugs.threshold>Low</findbugs.threshold>
</properties>

<build>
<plugins>
Expand Down
33 changes: 7 additions & 26 deletions spec/pom.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2019 Contributors to the Eclipse Foundation.
Copyright (c) 2019, 2020 Contributors to the Eclipse Foundation.
This program and the accompanying materials are made available under the
terms of the Eclipse Public License v. 2.0, which is available at
Expand All @@ -22,7 +22,7 @@
<parent>
<groupId>org.eclipse.ee4j.interceptor-api</groupId>
<artifactId>interceptor-api-parent</artifactId>
<version>2.0.0-RC2</version>
<version>2.0-SNAPSHOT</version>
</parent>

<artifactId>interceptors-spec</artifactId>
Expand All @@ -33,10 +33,9 @@
<properties>
<site.output.dir>${project.build.directory}/staging</site.output.dir>
<maven.site.skip>true</maven.site.skip>
<asciidoctor.maven.plugin.version>2.0.0-RC.1</asciidoctor.maven.plugin.version>
<asciidoctorj.version>2.2.0</asciidoctorj.version>
<asciidoctorj.pdf.version>1.5.0</asciidoctorj.pdf.version>
<jruby.version>9.2.9.0</jruby.version>
<asciidoctorj.version>2.3.0</asciidoctorj.version>
<asciidoctorj.pdf.version>1.5.3</asciidoctorj.pdf.version>
<jruby.version>9.2.11.1</jruby.version>
<!-- status: DRAFT, BETA, etc., or blank for final -->
<status>DRAFT</status>
<maven.build.timestamp.format>MMMM dd, yyyy</maven.build.timestamp.format>
Expand All @@ -49,7 +48,7 @@
<plugin>
<groupId>org.asciidoctor</groupId>
<artifactId>asciidoctor-maven-plugin</artifactId>
<version>${asciidoctor.maven.plugin.version}</version>
<version>2.0.0-RC.1</version>
<dependencies>
<dependency>
<groupId>org.jruby</groupId>
Expand Down Expand Up @@ -129,32 +128,14 @@
</attributes>
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>3.0.0-M1</version>
<configuration>
<mavenExecutorId>forked-path</mavenExecutorId>
<useReleaseProfile>false</useReleaseProfile>
<arguments>${release.arguments}</arguments>
</configuration>
<dependencies>
<dependency>
<groupId>org.apache.maven.scm</groupId>
<artifactId>maven-scm-provider-gitexe</artifactId>
<version>1.11.2</version>
</dependency>
</dependencies>
</plugin>

<!--
This is the rule that builds the zip file for download.
-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>3.2.0</version>
<version>3.3.0</version>
<inherited>false</inherited>
<executions>
<execution>
Expand Down

0 comments on commit db8b4fc

Please sign in to comment.