Skip to content

Instantly share code, notes, and snippets.

@winteryoung
Created February 22, 2016 13:05
Show Gist options
  • Save winteryoung/407bee3c3ddce4ae8df7 to your computer and use it in GitHub Desktop.
Save winteryoung/407bee3c3ddce4ae8df7 to your computer and use it in GitHub Desktop.
maven - standard maven pom to upload to central
<?xml version="1.0" encoding="UTF-8"?>
<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.github.winteryoung</groupId>
<artifactId>yanwte</artifactId>
<version>1.2.0-beta-6</version>
<packaging>pom</packaging>
<inceptionYear>2016</inceptionYear>
<description>A library to help extending your programs.</description>
<url>https://github.com/winteryoung/yanwte</url>
<parent>
<groupId>org.sonatype.oss</groupId>
<artifactId>oss-parent</artifactId>
<version>7</version>
</parent>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<jdk.version>1.6</jdk.version>
<kotlin.version>1.0.0-rc-1036</kotlin.version>
</properties>
<scm>
<connection>scm:git:git@github.com:winteryoung/yanwte.git</connection>
<developerConnection>scm:git:git@github.com:winteryoung/yanwte.git</developerConnection>
<url>git@github.com:winteryoung/yanwte.git</url>
</scm>
<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
</license>
</licenses>
</project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment