POM文件内容: |
<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>
<groupId>org.lucee</groupId>
<artifactId>ehcache</artifactId>
<version>2.10.1</version>
<name>Ehcache</name>
<packaging>bundle</packaging>
<description>OSGi Version of Ehcache</description>
<url>http://maven.lucee.org/ehcache/</url>
<!-- same license as the original jar -->
<licenses>
<license>
<name>Apache License, Version 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>micstriit</id>
<name>Michael Offner</name>
<email>michael@lucee.org</email>
<organization>Lucee Association Switzerland</organization>
<organizationUrl>http://lucee.org</organizationUrl>
<roles>
<role>Project-Administrator</role>
<role>Developer</role>
</roles>
<timezone>+1</timezone>
</developer>
</developers>
<build>
<plugins>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.3</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.5</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.5</version>
<configuration>
<autoVersionSubmodules>true</autoVersionSubmodules>
<useReleaseProfile>false</useReleaseProfile>
<releaseProfiles>release</releaseProfiles>
<goals>deploy</goals>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.10</version>
<executions>
<execution>
<id>unpack</id>
<phase>validate</phase>
<goals>
<goal>unpack</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>net.sf.ehcache</groupId>
<artifactId>ehcache</artifactId>
<version>2.10.1</version>
<type>jar</type>
<overWrite>false</overWrite>
<outputDirectory>${project.build.directory}/classes</outputDirectory>
</artifactItem>
</artifactItems>
<overWriteReleases>true</overWriteReleases>
<overWriteSnapshots>true</overWriteSnapshots>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>3.0.1</version>
<configuration>
<unpackBundle>true</unpackBundle>
<instructions>
<Bundle-Name>org.lucee.ehcache</Bundle-Name>
<Bundle-SymbolicName>org.lucee.ehcache</Bundle-SymbolicName>
<Bundle-Description>OSGI version of jar ${project.name}</Bundle-Description>
<Export-Package>*</Export-Package>
<!-- <Require-Bundle></Require-Bundle> -->
<!-- <Require-Bundle-Fragment></Require-Bundle-Fragment> -->
<Import-Package>!org.hibernate,!org.hibernate.cache,!org.hibernate.cache.access,!org.hibernate.cfg,!org.hibernate.impl,!org.hibernate.stat,!org.hibernate.transaction,!org.slf4j,!javax.transaction.xa,!org.quartz,!org.quartz.impl,!org.quartz.impl.jdbcjobstore,!org.quartz.impl.matchers,!org.quartz.simpl,!org.terracotta.quartz,!org.terracotta.toolkit,!org.terracotta.toolkit.atomic,!org.terracotta.toolkit.builder,!org.terracotta.toolkit.cache,!org.terracotta.toolkit.cluster,!org.terracotta.toolkit.collections,!org.terracotta.toolkit.concurrent.locks,!org.terracotta.toolkit.config,!org.terracotta.toolkit.events,!org.terracotta.toolkit.feature,!org.terracotta.toolkit.internal,!org.terracotta.toolkit.internal.cache,!org.terracotta.toolkit.internal.cluster,!org.terracotta.toolkit.internal.collections,!org.terracotta.toolkit.internal.concurrent.locks,!org.terracotta.toolkit.internal.feature,!org.terracotta.toolkit.monitoring,!org.terracotta.toolkit.nonstop,!org.terracotta.toolkit.rejoin,!org.terracotta.toolkit.search,!org.terracotta.toolkit.search.attribute,!org.terracotta.toolkit.store,*</Import-Package>
<DynamicImport-Package>org.hibernate,org.hibernate.cache,org.hibernate.cache.access,org.hibernate.cfg,org.hibernate.impl,org.hibernate.stat,org.hibernate.transaction,org.slf4j,javax.transaction.xa,org.quartz,org.quartz.impl,org.quartz.impl.jdbcjobstore,org.quartz.impl.matchers,org.quartz.simpl,org.terracotta.quartz,org.terracotta.toolkit,org.terracotta.toolkit.atomic,org.terracotta.toolkit.builder,org.terracotta.toolkit.cache,org.terracotta.toolkit.cluster,org.terracotta.toolkit.collections,org.terracotta.toolkit.concurrent.locks,org.terracotta.toolkit.config,org.terracotta.toolkit.events,org.terracotta.toolkit.feature,org.terracotta.toolkit.internal,org.terracotta.toolkit.internal.cache,org.terracotta.toolkit.internal.cluster,org.terracotta.toolkit.internal.collections,org.terracotta.toolkit.internal.concurrent.locks,org.terracotta.toolkit.internal.feature,org.terracotta.toolkit.monitoring,org.terracotta.toolkit.nonstop,org.terracotta.toolkit.rejoin,org.terracotta.toolkit.search,org.terracotta.toolkit.search.attribute,org.terracotta.toolkit.store</DynamicImport-Package>
<!-- <Fragment-Host></Fragment-Host> -->
</instructions>
</configuration>
<extensions>true</extensions>
</plugin>
</plugins>
</build>
<scm>
<url>https://github.com/lucee/osgi-bundle-ehcache</url>
<connection>scm:git:git://github.com/lucee/osgi-bundle-ehcache.git</connection>
<developerConnection>scm:git:git@github.com:lucee/osgi-bundle-ehcache.git</developerConnection>
<tag>Ehcache OSGi library</tag>
</scm>
<distributionManagement>
<repository>
<id>ossrh</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
</distributionManagement>
</project>
|