[maven-release-plugin] prepare release snappy-java-1.0.3

This commit is contained in:
Taro L. Saito 2011-07-11 21:25:54 +09:00
parent 30b3d247bd
commit 9a610a1ac7

472
pom.xml
View File

@ -1,236 +1,236 @@
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>org.xerial.snappy</groupId> <groupId>org.xerial.snappy</groupId>
<artifactId>snappy-java</artifactId> <artifactId>snappy-java</artifactId>
<version>1.0.3-SNAPSHOT</version> <version>1.0.3</version>
<name>Snappy for Java</name> <name>Snappy for Java</name>
<description>snappy-java: A fast compression/decompression library</description> <description>snappy-java: A fast compression/decompression library</description>
<packaging>bundle</packaging> <packaging>bundle</packaging>
<properties> <properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties> </properties>
<build> <build>
<resources> <resources>
<resource> <resource>
<directory>src/main/java</directory> <directory>src/main/java</directory>
<includes> <includes>
<include>org/xerial/snappy/VERSION</include> <include>org/xerial/snappy/VERSION</include>
</includes> </includes>
</resource> </resource>
<resource> <resource>
<directory>src/main/resources</directory> <directory>src/main/resources</directory>
<includes> <includes>
<include>org/xerial/snappy/*.bytecode</include> <include>org/xerial/snappy/*.bytecode</include>
<include>org/xerial/snappy/native/**</include> <include>org/xerial/snappy/native/**</include>
</includes> </includes>
</resource> </resource>
<resource> <resource>
<directory>${basedir}</directory> <directory>${basedir}</directory>
<targetPath>META-INF/maven/${project.groupId}/${project.artifactId}</targetPath> <targetPath>META-INF/maven/${project.groupId}/${project.artifactId}</targetPath>
<includes> <includes>
<include>LICENSE*</include> <include>LICENSE*</include>
</includes> </includes>
</resource> </resource>
</resources> </resources>
<testResources> <testResources>
<testResource> <testResource>
<directory>src/test/java</directory> <directory>src/test/java</directory>
<excludes> <excludes>
<exclude>**/*.java</exclude> <exclude>**/*.java</exclude>
</excludes> </excludes>
</testResource> </testResource>
<testResource> <testResource>
<directory>src/test/resources</directory> <directory>src/test/resources</directory>
</testResource> </testResource>
</testResources> </testResources>
<plugins> <plugins>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId> <artifactId>maven-resources-plugin</artifactId>
<version>2.5</version> <version>2.5</version>
<configuration> <configuration>
<encoding>UTF-8</encoding> <encoding>UTF-8</encoding>
</configuration> </configuration>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId> <artifactId>maven-compiler-plugin</artifactId>
<version>2.0.2</version> <version>2.0.2</version>
<configuration> <configuration>
<source>1.5</source> <source>1.5</source>
<target>1.5</target> <target>1.5</target>
</configuration> </configuration>
</plugin> </plugin>
<plugin> <plugin>
<artifactId>maven-release-plugin</artifactId> <artifactId>maven-release-plugin</artifactId>
<version>2.1</version> <version>2.1</version>
<configuration> <configuration>
<!-- do not run site-deploy goal, included in the default settings --> <!-- do not run site-deploy goal, included in the default settings -->
<goals>deploy</goals> <goals>deploy</goals>
<connectionUrl>scm:hg:https://snappy-java.googlecode.com/hg/</connectionUrl> <connectionUrl>scm:hg:https://snappy-java.googlecode.com/hg/</connectionUrl>
</configuration> </configuration>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId> <artifactId>maven-javadoc-plugin</artifactId>
<version>2.7</version> <version>2.7</version>
<executions> <executions>
<execution> <execution>
<id>attach-javadocs</id> <id>attach-javadocs</id>
<phase>verify</phase> <phase>verify</phase>
<goals> <goals>
<goal>jar</goal> <goal>jar</goal>
</goals> </goals>
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId> <artifactId>maven-source-plugin</artifactId>
<version>2.1.2</version> <version>2.1.2</version>
<configuration> <configuration>
<excludeResources>true</excludeResources> <excludeResources>true</excludeResources>
</configuration> </configuration>
<executions> <executions>
<execution> <execution>
<id>attach-sources</id> <id>attach-sources</id>
<phase>verify</phase> <phase>verify</phase>
<goals> <goals>
<goal>jar</goal> <goal>jar</goal>
</goals> </goals>
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.apache.felix</groupId> <groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId> <artifactId>maven-bundle-plugin</artifactId>
<version>2.3.4</version> <version>2.3.4</version>
<extensions>true</extensions> <extensions>true</extensions>
<configuration> <configuration>
<instructions> <instructions>
<Bundle-SymbolicName>${project.groupId}.${project.artifactId}</Bundle-SymbolicName> <Bundle-SymbolicName>${project.groupId}.${project.artifactId}</Bundle-SymbolicName>
<Bundle-Name>${pproject.name}</Bundle-Name> <Bundle-Name>${pproject.name}</Bundle-Name>
<Bundle-Version>${project.version}</Bundle-Version> <Bundle-Version>${project.version}</Bundle-Version>
<Bundle-Activator>org.xerial.snappy.SnappyBundleActivator</Bundle-Activator> <Bundle-Activator>org.xerial.snappy.SnappyBundleActivator</Bundle-Activator>
<Export-Package>org.xerial.snappy</Export-Package> <Export-Package>org.xerial.snappy</Export-Package>
</instructions> </instructions>
</configuration> </configuration>
</plugin> </plugin>
</plugins> </plugins>
<extensions> <extensions>
<extension> <extension>
<groupId>org.apache.maven.wagon</groupId> <groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-ssh-external</artifactId> <artifactId>wagon-ssh-external</artifactId>
<version>1.0-beta-7</version> <version>1.0-beta-7</version>
</extension> </extension>
</extensions> </extensions>
</build> </build>
<scm> <scm>
<connection>scm:hg:https://snappy-java.googlecode.com/hg/</connection> <connection>scm:hg:https://snappy-java.googlecode.com/hg/</connection>
<developerConnection>scm:hg:default</developerConnection> <developerConnection>scm:hg:default</developerConnection>
<url>scm:hg:https://snappy-java.googlecode.com/hg/</url> <url>scm:hg:https://snappy-java.googlecode.com/hg/</url>
</scm> </scm>
<distributionManagement> <distributionManagement>
<!-- for development releases --> <!-- for development releases -->
<site> <site>
<id>xerial.scp</id> <id>xerial.scp</id>
<url>scpexe://www.xerial.org/home/web/maven.xerial.org/repository/site</url> <url>scpexe://www.xerial.org/home/web/maven.xerial.org/repository/site</url>
</site> </site>
<repository> <repository>
<id>xerial.scp</id> <id>xerial.scp</id>
<name>Xerial Maven Repository</name> <name>Xerial Maven Repository</name>
<url>scpexe://www.xerial.org/home/web/maven.xerial.org/repository/artifact</url> <url>scpexe://www.xerial.org/home/web/maven.xerial.org/repository/artifact</url>
</repository> </repository>
<snapshotRepository> <snapshotRepository>
<id>xerial.scp</id> <id>xerial.scp</id>
<name>Xerial Maven Snapshot Repository</name> <name>Xerial Maven Snapshot Repository</name>
<url>scpexe://www.xerial.org/home/web/maven.xerial.org/repository/snapshot</url> <url>scpexe://www.xerial.org/home/web/maven.xerial.org/repository/snapshot</url>
<uniqueVersion>false</uniqueVersion> <uniqueVersion>false</uniqueVersion>
</snapshotRepository> </snapshotRepository>
</distributionManagement> </distributionManagement>
<profiles> <profiles>
<!-- for directly sending artifacts to sourceforge.net repository --> <!-- for directly sending artifacts to sourceforge.net repository -->
<profile> <profile>
<id>sourceforge</id> <id>sourceforge</id>
<distributionManagement> <distributionManagement>
<repository> <repository>
<id>xerial.sourceforge</id> <id>xerial.sourceforge</id>
<name>Xerial maven repository at sourceforge.jp</name> <name>Xerial maven repository at sourceforge.jp</name>
<url>scpexe://shell.sourceforge.jp/home/groups/x/xe/xerial/htdocs/maven/release</url> <url>scpexe://shell.sourceforge.jp/home/groups/x/xe/xerial/htdocs/maven/release</url>
</repository> </repository>
</distributionManagement> </distributionManagement>
</profile> </profile>
<!-- for local updates --> <!-- for local updates -->
<profile> <profile>
<id>xerial.local</id> <id>xerial.local</id>
<distributionManagement> <distributionManagement>
<repository> <repository>
<id>xerial.local</id> <id>xerial.local</id>
<name>Xerial Maven Repository</name> <name>Xerial Maven Repository</name>
<url>file:///home/web/maven.xerial.org/repository/artifact</url> <url>file:///home/web/maven.xerial.org/repository/artifact</url>
</repository> </repository>
<snapshotRepository> <snapshotRepository>
<id>xerial.local</id> <id>xerial.local</id>
<name>Xerial Maven Snapshot Repository</name> <name>Xerial Maven Snapshot Repository</name>
<url>file:///home/web/maven.xerial.org/repository/snapshot</url> <url>file:///home/web/maven.xerial.org/repository/snapshot</url>
<uniqueVersion>false</uniqueVersion> <uniqueVersion>false</uniqueVersion>
</snapshotRepository> </snapshotRepository>
<site> <site>
<id>xerial.local</id> <id>xerial.local</id>
<url>file:///home/web/maven.xerial.org/repository/site</url> <url>file:///home/web/maven.xerial.org/repository/site</url>
</site> </site>
</distributionManagement> </distributionManagement>
</profile> </profile>
</profiles> </profiles>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>junit</groupId> <groupId>junit</groupId>
<artifactId>junit</artifactId> <artifactId>junit</artifactId>
<version>4.8.2</version> <version>4.8.2</version>
<type>jar</type> <type>jar</type>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.codehaus.plexus</groupId> <groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-classworlds</artifactId> <artifactId>plexus-classworlds</artifactId>
<version>2.4</version> <version>2.4</version>
<type>jar</type> <type>jar</type>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.osgi</groupId> <groupId>org.osgi</groupId>
<artifactId>core</artifactId> <artifactId>core</artifactId>
<version>4.3.0</version> <version>4.3.0</version>
<type>jar</type> <type>jar</type>
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.xerial</groupId> <groupId>org.xerial</groupId>
<artifactId>xerial-core</artifactId> <artifactId>xerial-core</artifactId>
<version>1.0.21</version> <version>1.0.21</version>
<type>jar</type> <type>jar</type>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
</dependencies> </dependencies>
</project> </project>