Skip to content
Snippets Groups Projects
Commit cbe7eedb authored by Sebastian Krings's avatar Sebastian Krings
Browse files

switch build to pure maven

parent 05daf750
Branches
No related tags found
Loading
...@@ -14,11 +14,9 @@ script: ...@@ -14,11 +14,9 @@ script:
- ant -file customBuild.xml - ant -file customBuild.xml
- cd .. - cd ..
- cd org.rodinp.handbook.releng - cd org.rodinp.handbook.releng
- gradle deleteOldHelpPlugin deleteOldArtifacts importHelpPlugin createPoms - gradle importHelpPlugin
- cd .. - cd ..
- mvn -f org.rodinp.handbook.parent/pom.xml install - mvn -f org.rodinp.handbook.parent/pom.xml install
- cd org.rodinp.handbook.releng
- gradle collectArtifacts
after_success: after_success:
- travis-custom-deploy sftp current - travis-custom-deploy sftp current
env: env:
......
<?xml version="1.0" encoding="UTF-8"?>
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.rodinp.handbook</groupId>
<artifactId>org.rodinp.handbook.parent</artifactId>
<version>1.0.0.qualifier</version>
<relativePath>../org.rodinp.handbook.parent/pom.xml</relativePath>
</parent>
<groupId>org.rodinp.handbook</groupId>
<artifactId>org.rodinp.handbook.feature</artifactId>
<version>2.5.0.qualifier</version>
<packaging>eclipse-feature</packaging>
</project>
<?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>org.rodinp.handbook</groupId>
<artifactId>org.rodinp.handbook.parent</artifactId>
<version>1.0.0.qualifier</version>
<packaging>pom</packaging>
<!-- this is the parent POM from which all modules inherit common settings -->
<properties>
<tycho-version>0.14.1</tycho-version>
</properties>
<repositories>
<!-- configure p2 repository to resolve against -->
</repositories>
<build>
<plugins>
<plugin>
<!-- enable tycho build extension -->
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-maven-plugin</artifactId>
<version>0.21.0</version>
<extensions>true</extensions>
</plugin>
</plugins>
</build>
<!-- the modules that should be built together -->
<modules>
<module>../org.rodinp.handbook</module>
<module>../org.rodinp.handbook.feature</module>
<module>../org.rodinp.handbook.repository</module>
</modules>
</project>
groupID = "org.rodinp.handbook" def groupID = "org.rodinp.handbook"
features = ["org.rodinp.handbook.feature"] // must be the same as the folder name Please remember to add '../' if necessary def features = ["org.rodinp.handbook.feature"] // must be the same as the folder name Please remember to add '../' if necessary
descriptions = [["org.rodinp.handbook.feature": "Rodin Handbook"]] // label and descriptions of the features def descriptions = [["org.rodinp.handbook.feature": "Rodin Handbook"]] // label and descriptions of the features
repositoryName = groupID+".repository" // will be the folder name def repositoryName = groupID+".repository" // will be the folder name
parentID = groupID+".parent" // will be the same as the folder name def parentID = groupID+".parent" // will be the same as the folder name
targetRepositories = [] // ps Repository with Target Definition File def targetRepositories = [] // ps Repository with Target Definition File
workspacePath = "../" // Relative Path to workspace directory e.g. your build is located in the folder workspace/buildscript please set relativePath to ".../" def workspacePath = "../" // Relative Path to workspace directory e.g. your build is located in the folder workspace/buildscript please set relativePath to ".../"
apply from: 'tycho_build.gradle' apply from: 'tycho_build.gradle'
......
def groupID = "org.rodinp.handbook"
def features = ["org.rodinp.handbook.feature"] // must be the same as the folder name Please remember to add '../' if necessary
def descriptions = [["org.rodinp.handbook.feature": "Rodin Handbook"]] // label and descriptions of the features
def repositoryName = groupID+".repository" // will be the folder name
def parentID = groupID+".parent" // will be the same as the folder name
def targetRepositories = [] // ps Repository with Target Definition File
def workspacePath = "../" // Relative Path to workspace directory e.g. your build is located in the folder workspace/buildscript please set relativePath to ".../"
apply plugin: 'base' apply plugin: 'base'
...@@ -437,5 +450,3 @@ def feature(artifactId, versionNumber) { """ ...@@ -437,5 +450,3 @@ def feature(artifactId, versionNumber) { """
// Build Script can be executed via gradle install // Build Script can be executed via gradle install
// Pom Generation can be executed via gradle deploy // Pom Generation can be executed via gradle deploy
<?xml version="1.0" encoding="UTF-8"?>
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.rodinp.handbook</groupId>
<artifactId>org.rodinp.handbook.parent</artifactId>
<version>1.0.0.qualifier</version>
<relativePath>../org.rodinp.handbook.parent/pom.xml</relativePath>
</parent>
<groupId>org.rodinp.handbook</groupId>
<artifactId>org.rodinp.handbook.repository</artifactId>
<version>1.0.0.qualifier</version>
<packaging>eclipse-repository</packaging>
</project>
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Rodin Handbook v.2.5
Bundle-SymbolicName: org.rodinp.handbook;singleton:=true
Bundle-Version: 2.5.0.qualifier
Bundle-Vendor: Formal Mind GmbH (formalmind.com)
Created-By: Formalmind GmbH
bin.includes = plugin.xml,\
*.xml,\
*.html,\
*.pdf,\
icons/,\
META-INF/,\
images/,\
styles/,\
files/
<?xml version='1.0' encoding='ISO-8859-1' ?>
<plugin>
<extension point="org.eclipse.help.toc">
<toc primary="true" file="eclipse-toc.xml" />
</extension>
</plugin>
<?xml version="1.0" encoding="UTF-8"?>
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.rodinp.handbook</groupId>
<artifactId>org.rodinp.handbook.parent</artifactId>
<version>1.0.0.qualifier</version>
<relativePath>../org.rodinp.handbook.parent/pom.xml</relativePath>
</parent>
<groupId>org.rodinp.handbook</groupId>
<artifactId>org.rodinp.handbook</artifactId>
<version>2.5.0.qualifier</version>
<packaging>eclipse-plugin</packaging>
</project>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment