diff --git a/build.gradle b/build.gradle
deleted file mode 100644
index b77e3b2..0000000
--- a/build.gradle
+++ /dev/null
@@ -1,128 +0,0 @@
-/*
- * Copyright (C) 2015 higherfrequencytrading.com
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this program. If not, see .
- */
-
-apply plugin: 'java'
-apply plugin: 'maven'
-apply plugin: 'signing'
-
-repositories {
- mavenCentral()
- mavenLocal()
- maven {
- url "http://spoon.gforge.inria.fr/repositories/releases"
- }
-}
-
-dependencies {
- compile group: 'fr.inria.gforge.spoon', name: 'spoon-core', version: '5.2.0'
- compile 'it.unimi.dsi:fastutil:7.0.6'
- compile files("${System.properties['java.home']}/../lib/tools.jar")
- testCompile group: 'junit', name: 'junit', version: '4.+'
-}
-
-test {
- testLogging.showStandardStreams = true
-}
-
-group = 'net.openhft'
-version = '1.12'
-jar.baseName = 'stage-compiler'
-
-task sourcesJar(type: Jar, dependsOn: classes) {
- classifier 'sources'
- from sourceSets.main.allSource
-}
-
-task javadocJar(type: Jar) {
- classifier 'javadoc'
- from javadoc
-}
-
-artifacts {
- archives sourcesJar
- archives javadocJar
-}
-
-ext {
- if (!project.hasProperty('sonatypeUrl'))
- sonatypeUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2'
- if (!project.hasProperty('sonatypeUsername')) sonatypeUsername = ''
- if (!project.hasProperty('sonatypePassword')) sonatypePassword = ''
-}
-
-ext.isReleaseVersion = !version.endsWith('SNAPSHOT')
-
-signing {
- required { isReleaseVersion && gradle.taskGraph.hasTask('uploadArchives') }
- sign configurations.archives
-}
-
-uploadArchives {
- repositories {
- mavenDeployer {
- beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) }
-
- repository(url: sonatypeUrl) {
- authentication(userName: sonatypeUsername, password: sonatypePassword)
- }
- }
- }
-}
-
-def installer = install.repositories.mavenInstaller
-def deployer = uploadArchives.repositories.mavenDeployer
-
-project.ext.poms = [installer, deployer]*.pom
-poms*.whenConfigured { pom ->
- pom.dependencies.removeAll { dep -> dep.scope == 'test' }
- pom.project {
- name = 'Stage Compiler'
- description = 'Annotation processor merging classes and managing lazy initialization'
- url = 'https://github.com/OpenHFT/Stage-Compiler'
- inceptionYear = '2015'
- organization {
- name = 'Higher Frequency Trading'
- url = 'http://openhft.net'
- }
- licenses {
- license {
- name = 'LGPLv3'
- url = 'https://www.gnu.org/licenses/lgpl-3.0.txt'
- distribution = 'repo'
- }
- }
- scm {
- url = 'https://github.com/OpenHFT/Stage-Compiler'
- connection = 'scm:git:git://github.com/OpenHFT/Stage-Compiler'
- developerConnection = 'scm:git:git://github.com/OpenHFT/Stage-Compiler'
- }
- developers {
- developer {
- id = 'leventov'
- name = 'Roman Leventov'
- email = 'leventov@ya.ru'
- url = 'http://www.leventov.ru'
- organization = 'Higher Frequency Trading'
- organizationUrl = 'http://openhft.net'
- timezone = '+4'
- }
- }
- issueManagement {
- system = 'GitHub'
- url = 'https://github.com/OpenHFT/Stage-Compiler/issues'
- }
- }
-}
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
new file mode 100644
index 0000000..b53993e
--- /dev/null
+++ b/pom.xml
@@ -0,0 +1,107 @@
+
+
+
+
+ 4.0.0
+
+
+ net.openhft
+ java-parent-pom
+ 1.1.26
+
+
+
+ stage-compiler
+ 1.12
+ OpenHFT/Stage-Compiler
+ Stage-Compiler
+
+
+
+
+ it.unimi.dsi
+ fastutil
+ 7.0.6
+
+
+
+ fr.inria.gforge.spoon
+ spoon-core
+ 5.2.0
+
+
+ org.eclipse.jdt
+ org.eclipse.jdt.core
+
+
+
+
+
+
+ junit
+ junit
+ 4.12
+ test
+
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-compiler-plugin
+
+ -proc:none
+ 1.8
+ 1.8
+ UTF-8
+
+
+
+
+
+
+
+ pre-java9
+
+
+ com.sun
+ tools
+ ${java.version}
+ system
+ ${java.home}/../lib/tools.jar
+
+
+
+
+ ${java.home}/../lib/tools.jar
+
+
+
+
+
+
+ scm:git:git@github.com:OpenHFT/Stage-Compile.git
+ scm:git:git@github.com:OpenHFT/Stage-Compile.git
+ scm:git:git@github.com:OpenHFT/Stage-Compile.git
+
+ ea
+
+
+