Skip to content

Commit

Permalink
+ tidy pom and update versions of plugins
Browse files Browse the repository at this point in the history
+ Add more entries to gitignore
  • Loading branch information
carryel committed Mar 16, 2022
1 parent ba75cd8 commit 2954ead
Show file tree
Hide file tree
Showing 2 changed files with 133 additions and 113 deletions.
11 changes: 11 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/target/

target/
.classpath
.project
.settings/
*.iml
*nbactions.xml
.vscode/
.idea
nb-configuration.xml
235 changes: 122 additions & 113 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,29 +17,33 @@
-->

<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/maven-v4_0_0.xsd">
<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.eclipse.ee4j</groupId>
<artifactId>project</artifactId>
<version>1.0.6</version>
</parent>
<modelVersion>4.0.0</modelVersion>

<groupId>org.glassfish.grizzly</groupId>
<artifactId>grizzly-memcached</artifactId>
<packaging>bundle</packaging>
<version>1.3.20-SNAPSHOT</version>
<packaging>bundle</packaging>

<name>grizzly-memcached</name>
<url>http://projects.eclipse.org/projects/ee4j.grizzly</url>
<issueManagement>
<system>GitHub</system>
<url>https://github.com/eclipse-ee4j/grizzly-memcached/issues</url>
</issueManagement>
<mailingLists>
<mailingList>
<name>Mailing list: grizzly-dev</name>
<archive>grizzly-dev@eclipse.org</archive>
</mailingList>
</mailingLists>
<organization>
<name>Oracle Corporation</name>
<url>http://www.oracle.com</url>
</organization>
<licenses>
<license>
<name>EPL-2.0</name>
<url>http://www.eclipse.org/legal/epl-2.0</url>
</license>
</licenses>

<developers>
<developer>
<id>carryel</id>
Expand All @@ -50,24 +54,25 @@
<organizationUrl>http://www.kakaocorp.com/en/main</organizationUrl>
</developer>
</developers>
<licenses>
<license>
<name>EPL-2.0</name>
<url>http://www.eclipse.org/legal/epl-2.0</url>
</license>
</licenses>

<mailingLists>
<mailingList>
<name>Mailing list: grizzly-dev</name>
<archive>grizzly-dev@eclipse.org</archive>
</mailingList>
</mailingLists>

<scm>
<connection>scm:git:https://github.com/eclipse-ee4j/grizzly-memcached.git</connection>
<developerConnection>
scm:git:git@github.com:eclipse-ee4j/grizzly-memcached.git
</developerConnection>
<developerConnection>scm:git:git@github.com:eclipse-ee4j/grizzly-memcached.git</developerConnection>
<url>https://github.com/eclipse-ee4j/grizzly-memcached</url>
<tag>HEAD</tag>
</scm>
<organization>
<name>Oracle Corporation</name>
<url>http://www.oracle.com</url>
</organization>
<issueManagement>
<system>GitHub</system>
<url>https://github.com/eclipse-ee4j/grizzly-memcached/issues</url>
</issueManagement>

<properties>
<grizzly-framework-version>2.4.4</grizzly-framework-version>
<zookeeper-version>3.5.5</zookeeper-version>
Expand All @@ -76,8 +81,51 @@
-Xlint:unchecked,deprecation,fallthrough,finally,cast,dep-ann,empty,overrides
</maven.compiler.argument>
</properties>

<dependencies>
<dependency>
<groupId>org.glassfish.grizzly</groupId>
<artifactId>grizzly-framework</artifactId>
<version>${grizzly-framework-version}</version>
</dependency>
<dependency>
<groupId>org.apache.zookeeper</groupId>
<artifactId>zookeeper</artifactId>
<version>${zookeeper-version}</version>
<scope>provided</scope>
<exclusions>
<exclusion>
<groupId>com.sun.jmx</groupId>
<artifactId>jmxri</artifactId>
</exclusion>
<exclusion>
<groupId>com.sun.jdmk</groupId>
<artifactId>jmxtools</artifactId>
</exclusion>
<exclusion>
<groupId>javax.jms</groupId>
<artifactId>jms</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>commons-pool</groupId>
<artifactId>commons-pool</artifactId>
<version>1.6</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13.2</version>
<scope>test</scope>
</dependency>
</dependencies>

<build>
<defaultGoal>install</defaultGoal>
<directory>target</directory>
<finalName>${project.artifactId}-${project.version}</finalName>
<resources>
<resource>
<directory>src/main/resources</directory>
Expand All @@ -88,17 +136,7 @@
<directory>src/test/resources</directory>
</testResource>
</testResources>
<directory>target</directory>
<finalName>${project.artifactId}-${project.version}</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.0.0-M4</version>
<configuration>
<forkMode>always</forkMode>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
Expand All @@ -122,35 +160,21 @@
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.3.0</version>
<configuration>
<javadocVersion>1.8</javadocVersion>
<notimestamp>true</notimestamp>
<splitindex>true</splitindex>
<doctitle>${project.name} ${project.version}</doctitle>
<additionalOptions>
<additionalOption>-Xdoclint:none</additionalOption>
</additionalOptions>
</configuration>
</plugin>
<plugin>
<groupId>org.glassfish.copyright</groupId>
<artifactId>glassfish-copyright-maven-plugin</artifactId>
<version>2.4</version>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.10.0</version>
<configuration>
<excludeFile>copyright-exclude</excludeFile>
<scm>git</scm>
<scmOnly>true</scmOnly>
<warn>false</warn>
<source>${jdk.compile.version}</source>
<target>${jdk.compile.version}</target>
<compilerArgument>${maven.compiler.argument}</compilerArgument>
</configuration>
</plugin>

<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>5.1.2</version>
<version>5.1.4</version>
<extensions>true</extensions>
<configuration>
<instructions>
Expand All @@ -164,22 +188,11 @@
</instructions>
</configuration>
</plugin>

<plugin>
<inherited>true</inherited>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<source>${jdk.compile.version}</source>
<target>${jdk.compile.version}</target>
<compilerArgument>${maven.compiler.argument}
</compilerArgument>
</configuration>
</plugin>
<plugin>
<inherited>true</inherited>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.2.0</version>
<version>3.2.2</version>
<configuration>
<archive>
<manifestEntries>
Expand All @@ -192,11 +205,26 @@
</archive>
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.3.1</version>
<configuration>
<javadocVersion>1.8</javadocVersion>
<notimestamp>true</notimestamp>
<splitindex>true</splitindex>
<doctitle>${project.name} ${project.version}</doctitle>
<additionalOptions>
<additionalOption>-Xdoclint:none</additionalOption>
</additionalOptions>
</configuration>
</plugin>

<plugin>
<inherited>true</inherited>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.0.1</version>
<version>3.2.1</version>
<executions>
<execution>
<id>attach-sources</id>
Expand All @@ -206,46 +234,27 @@
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.glassfish.copyright</groupId>
<artifactId>glassfish-copyright-maven-plugin</artifactId>
<version>2.4</version>
<configuration>
<excludeFile>copyright-exclude</excludeFile>
<scm>git</scm>
<scmOnly>true</scmOnly>
<warn>false</warn>
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.0.0-M5</version>
<configuration>
<forkMode>always</forkMode>
</configuration>
</plugin>
</plugins>
</build>

<dependencies>
<dependency>
<groupId>org.glassfish.grizzly</groupId>
<artifactId>grizzly-framework</artifactId>
<version>${grizzly-framework-version}</version>
</dependency>
<dependency>
<groupId>org.apache.zookeeper</groupId>
<artifactId>zookeeper</artifactId>
<version>${zookeeper-version}</version>
<scope>provided</scope>
<exclusions>
<exclusion>
<groupId>com.sun.jmx</groupId>
<artifactId>jmxri</artifactId>
</exclusion>
<exclusion>
<groupId>com.sun.jdmk</groupId>
<artifactId>jmxtools</artifactId>
</exclusion>
<exclusion>
<groupId>javax.jms</groupId>
<artifactId>jms</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>commons-pool</groupId>
<artifactId>commons-pool</artifactId>
<version>1.6</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13.2</version>
<scope>test</scope>
</dependency>
</dependencies>
</project>

0 comments on commit 2954ead

Please sign in to comment.