Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Untitled #1

Open
wants to merge 2 commits into from

1 participant

@yahro

Hi,

I started an effort to publish all sna-projects artifacts to the public maven repo. Since kamikaze is at the lowest level of dependencies (e.g. bobo depends on zoie depends on kamikaze) I started with kamikaze.

I modified the pom a little bit:

  • changed groupid to com.sna-projects
  • added few section, required by the sonatype oss deployment

Please pull.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jan 29, 2011
  1. @yahro

    Modified pom.xml to belong to the com.sna-projects group and conform

    yahro authored
    to the oss sonatype deployment requirements.
Commits on Feb 4, 2011
  1. @yahro
This page is out of date. Refresh to see the latest.
Showing with 117 additions and 93 deletions.
  1. +117 −93 pom.xml
View
210 pom.xml
@@ -1,104 +1,128 @@
<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>com.snaproject.kamikaze</groupId>
- <artifactId>kamikaze</artifactId>
- <packaging>jar</packaging>
- <name>kamikaze</name>
- <version>3.0.3-SNAPSHOT</version>
- <description>information retrival utility package for enhancing Lucene</description>
- <url>http://maven.apache.org</url>
+ 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>com.sna-projects.kamikaze</groupId>
+ <artifactId>kamikaze</artifactId>
+ <packaging>jar</packaging>
+ <name>kamikaze</name>
+ <version>3.0.3-SNAPSHOT</version>
+ <description>information retrival utility package for enhancing Lucene</description>
+ <url>http://sna-projects.com/kamikaze/</url>
- <licenses>
- <license>
- <name>Apache License, Version 2.0</name>
- <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
- <distribution>repo</distribution>
- </license>
- </licenses>
+ <parent>
+ <groupId>org.sonatype.oss</groupId>
+ <artifactId>oss-parent</artifactId>
+ <version>6</version>
+ </parent>
- <scm>
- <connection>scm:git://github.com/hyan/kamikaze.git</connection>
- <developerConnection>scm:git@github.com:hyan/kamikaze.git</developerConnection>
- <url>http://github.com/hyan/kamikaze</url>
- </scm>
+ <licenses>
+ <license>
+ <name>Apache License, Version 2.0</name>
+ <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
+ <distribution>repo</distribution>
+ </license>
+ </licenses>
- <!-- Set the compiler to java6 -->
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>2.1</version>
- <configuration>
- <source>1.6</source>
- <target>1.6</target>
- <encoding>UTF-8</encoding>
- </configuration>
- </plugin>
- <plugin>
- <artifactId>maven-resources-plugin</artifactId>
- <version>2.2</version>
- <configuration>
- <encoding>UTF-8</encoding>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <version>2.5</version>
- <configuration>
- <argLine>
- -Xms256m -Xmx2g
- </argLine>
- <excludes>
- <exclude>com/kamikaze/test/perf/*.java</exclude>
- <exclude>**/*$*</exclude>
- </excludes>
- </configuration>
- </plugin>
- </plugins>
- </build>
+ <scm>
+ <connection>scm:git://github.com/hyan/kamikaze.git</connection>
+ <developerConnection>scm:git@github.com:hyan/kamikaze.git</developerConnection>
+ <url>http://github.com/hyan/kamikaze</url>
+ </scm>
+ <developers>
+ <developer>
+ <id>hyan</id>
+ <name>Hao Yan</name>
+ <email>hyan2008@gmail.com</email>
+ </developer>
+ </developers>
- <properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- </properties>
+ <!-- Set the compiler to java6 -->
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>2.1</version>
+ <configuration>
+ <source>1.6</source>
+ <target>1.6</target>
+ <encoding>UTF-8</encoding>
+ </configuration>
+ </plugin>
+ <plugin>
+ <artifactId>maven-resources-plugin</artifactId>
+ <version>2.2</version>
+ <configuration>
+ <encoding>UTF-8</encoding>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <version>2.5</version>
+ <configuration>
+ <argLine>-Xms256m -Xmx2g</argLine>
+ <excludes>
+ <exclude>com/kamikaze/test/perf/*.java</exclude>
+ <exclude>**/*$*</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
- <dependencies>
- <dependency>
- <groupId>org.apache.lucene</groupId>
- <artifactId>lucene-core</artifactId>
- <version>2.9.1</version>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.5</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-source-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>attach-sources</id>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>attach-javadocs</id>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
- <parent>
- <groupId>org.sonatype.oss</groupId>
- <artifactId>oss-parent</artifactId>
- <version>5</version>
- </parent>
+ </plugins>
+ </build>
-<distributionManagement>
- <snapshotRepository>
- <id>ossKamikaze</id>
- <name>SNA snapshot repo</name>
- <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
- </snapshotRepository>
-
-<!--
- <repository>
- <id>nexusKamikazeRelease</id>
- <name>Nexus staging Repo</name>
- <url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
- </repository>
--->
- </distributionManagement>
+
+ <properties>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ </properties>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.lucene</groupId>
+ <artifactId>lucene-core</artifactId>
+ <version>2.9.1</version>
+ </dependency>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>4.5</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+
+ <distributionManagement>
+ <snapshotRepository>
+ <id>sonatype-nexus-snapshots</id>
+ <name>sonatype nexus snapshots repository</name>
+ <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
+ </snapshotRepository>
+ </distributionManagement>
</project>
Something went wrong with that request. Please try again.