diff --git a/Jenkinsfile b/Jenkinsfile deleted file mode 100644 index 788815f..0000000 --- a/Jenkinsfile +++ /dev/null @@ -1,52 +0,0 @@ -pipeline { - agent any - triggers { - upstream(upstreamProjects: "gate-top", threshold: hudson.model.Result.SUCCESS) - } - tools { - maven 'Maven Current' - jdk 'JDK1.8' - } - options { - disableConcurrentBuilds() - } - stages { - stage ('Build') { - steps { - sh 'mvn -e clean install' - } - post { - always { - junit 'target/surefire-reports/**/*.xml' - jacoco exclusionPattern: '**/gate/gui/**,**/gate/resources/**' - warnings canRunOnFailed: true, canResolveRelativePaths: false, consoleParsers: [[parserName: 'Java Compiler (javac)']], defaultEncoding: 'UTF-8', excludePattern: '**/test/**', failedNewAll: '0', unstableNewAll: '0', useStableBuildAsReference: true - } - } - } - stage('Document') { - when{ - expression { currentBuild.currentResult != "FAILED" && currentBuild.changeSets != null && currentBuild.changeSets.size() > 0 } - } - steps { - sh 'mvn -e -DskipTests site' - } - post { - always { - findbugs canRunOnFailed: true, excludePattern: '**/gate/resources/**', failedNewAll: '0', pattern: '**/findbugsXml.xml', unstableNewAll: '0', useStableBuildAsReference: true - } - success { - step([$class: 'JavadocArchiver', javadocDir: 'target/site/apidocs', keepAll: false]) - } - } - } - stage('Deploy') { - when{ - branch 'master' - expression { currentBuild.currentResult == "SUCCESS" && currentBuild.changeSets != null && currentBuild.changeSets.size() > 0 } - } - steps { - sh 'mvn -e -Dmaven.test.skip=true source:jar javadoc:jar deploy' - } - } - } - } diff --git a/pom.xml b/pom.xml index fba65ae..830848f 100644 --- a/pom.xml +++ b/pom.xml @@ -2,7 +2,7 @@ uk.ac.gate.plugins learningframework - 4.2-SNAPSHOT + 4.2 Learning Framework diff --git a/src/main/resources/resources/pipelines/LF_TrainTopicModel_Mallet_EN.xgapp b/src/main/resources/resources/pipelines/LF_TrainTopicModel_Mallet_EN.xgapp index fd399a4..dfa92d5 100644 --- a/src/main/resources/resources/pipelines/LF_TrainTopicModel_Mallet_EN.xgapp +++ b/src/main/resources/resources/pipelines/LF_TrainTopicModel_Mallet_EN.xgapp @@ -4,7 +4,7 @@ uk.ac.gate.plugins learningframework - 4.2-SNAPSHOT + 4.2 @@ -58,7 +58,7 @@ scriptURL - creole://uk.ac.gate.plugins;learningframework;4.2-SNAPSHOT/resources/pipelines/groovy/filterTokens4LDA.groovy + creole://uk.ac.gate.plugins;learningframework;4.2/resources/pipelines/groovy/filterTokens4LDA.groovy @@ -86,7 +86,7 @@ scriptURL - creole://uk.ac.gate.plugins;learningframework;4.2-SNAPSHOT/resources/pipelines/groovy/filterTokens4LDA.groovy + creole://uk.ac.gate.plugins;learningframework;4.2/resources/pipelines/groovy/filterTokens4LDA.groovy @@ -135,7 +135,7 @@ configFileURL - creole://uk.ac.gate.plugins;learningframework;4.2-SNAPSHOT/resources/pipelines/gazetteer/stopwords-en-long.def + creole://uk.ac.gate.plugins;learningframework;4.2/resources/pipelines/gazetteer/stopwords-en-long.def @@ -184,7 +184,7 @@ configFileURL - creole://uk.ac.gate.plugins;learningframework;4.2-SNAPSHOT/resources/pipelines/gazetteer/stopwords-en-long.def + creole://uk.ac.gate.plugins;learningframework;4.2/resources/pipelines/gazetteer/stopwords-en-long.def @@ -217,7 +217,7 @@ patternFileURL - creole://uk.ac.gate.plugins;learningframework;4.2-SNAPSHOT/resources/pipelines/regexp/unwantedText4LDA.txt + creole://uk.ac.gate.plugins;learningframework;4.2/resources/pipelines/regexp/unwantedText4LDA.txt @@ -261,7 +261,7 @@ scriptURL - creole://uk.ac.gate.plugins;learningframework;4.2-SNAPSHOT/resources/pipelines/groovy/removeUnwantedTokens4LDA.groovy + creole://uk.ac.gate.plugins;learningframework;4.2/resources/pipelines/groovy/removeUnwantedTokens4LDA.groovy diff --git a/src/test/java/gate/plugin/learningframework/tests/ITEngineMalletSeq.java b/src/test/java/gate/plugin/learningframework/tests/ITEngineMalletSeq.java index 645f688..b010e0a 100644 --- a/src/test/java/gate/plugin/learningframework/tests/ITEngineMalletSeq.java +++ b/src/test/java/gate/plugin/learningframework/tests/ITEngineMalletSeq.java @@ -69,8 +69,8 @@ public class ITEngineMalletSeq extends GATEPluginTests { @BeforeClass public static void init() throws GateException { gate.Gate.init(); - gate.Gate.getCreoleRegister().registerPlugin(new Plugin.Maven("uk.ac.gate.plugins", "format-fastinfoset", "8.5-SNAPSHOT")); - gate.Gate.getCreoleRegister().registerPlugin(new Plugin.Maven("uk.ac.gate.plugins", "evaluation", "0.8-SNAPSHOT")); + gate.Gate.getCreoleRegister().registerPlugin(new Plugin.Maven("uk.ac.gate.plugins", "format-fastinfoset", "8.5")); + gate.Gate.getCreoleRegister().registerPlugin(new Plugin.Maven("uk.ac.gate.plugins", "evaluation", "0.9")); } @Test