Commit 57b29538 authored by Jean-Marc Ronck's avatar Jean-Marc Ronck

Added Sol plugin to Tagging.

parent d6cd04b0
Pipeline #217925 failed with stage
in 1 minute and 31 seconds
# (c) https://github.com/MontiCore/monticore
#
image: maven:3.5.4-jdk-8-alpine
image: registry.git.rwth-aachen.de/monticore/embeddedmontiarc/utilities/sol/build:2019.09.26
masterJob:
......@@ -12,3 +12,24 @@ BranchJob:
script: "mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B clean install --settings settings.xml"
except:
- master
- sol
#
# ATTENTION READER:
# This job should later on be removed and split up between masterJob and branchJob.
#
solJob:
script:
- cd language-client
- echo "" >> .npmrc
- echo "email=cibuild@se-rwth.de" >> .npmrc
- echo "always-auth=true" >> .npmrc
- echo "_auth=\${cibuildb64}" >> .npmrc
- yarn install --ignore-scripts
- cd ..
- mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B clean install --settings settings.xml
- cd language-client
- yarn install
- yarn publish
only:
- sol
\ No newline at end of file
src-gen/
lib/
data-gen/
server/
target/
node_modules/
\ No newline at end of file
/.npmrc
/pom.xml
/tsconfig.json
/.gitignore
/target/
/yarn.lock
\ No newline at end of file
@embeddedmontiarc:registry=https://nexus.se.rwth-aachen.de/repository/embeddedmontiarcstudio/
@embeddedmontiarcstudio:registry=https://nexus.se.rwth-aachen.de/repository/embeddedmontiarcstudio/
\ No newline at end of file
{
"name": "@embeddedmontiarcstudio/language-tagging",
"license": "SEE LICENSE IN LICENSE",
"description": "",
"version": "0.0.8-SNAPSHOT",
"files": ["src", "src-gen", "lib", "sol", "data-gen", "data"],
"scripts": {
"prepare": "yarn run build",
"clean": "rimraf lib && rimraf src-gen && rimraf data-gen && rimraf server",
"build": "tsc++ --flatten",
"watch": "tsc++ -w --flatten"
},
"dependencies": {
"inversify": "^5.0.1",
"@theia/core": "latest",
"@theia/languages": "latest",
"@theia/monaco": "latest",
"@theia/process": "latest",
"@embeddedmontiarc/sol-runtime-templates": "^2019.12.10-SNAPSHOT"
},
"devDependencies": {
"@theia/cli": "latest",
"@embeddedmontiarc/sol-development-tsc": "^2019.12.10-SNAPSHOT",
"typescript": "^3.7.3"
},
"theiaExtensions": [
{
"frontend": "lib/browser/tagging-frontend-module",
"backend": "lib/node/tagging-backend-module"
},
{
"frontend": "lib/browser/tagschema-frontend-module",
"backend": "lib/node/tagschema-backend-module"
}
],
"sol": {
"directories": {
"models": "sol/models",
"templates": "sol/templates",
"server": "sol/server"
}
}
}
\ No newline at end of file
<!--
~ (c) https://github.com/MontiCore/monticore
-->
<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>
<!-- == PROJECT COORDINATES =============================================== -->
<parent>
<groupId>de.monticore.lang</groupId>
<artifactId>Tagging-Root</artifactId>
<version>0.0.8-SNAPSHOT</version>
</parent>
<artifactId>Tagging-LC</artifactId>
<!-- == PROJECT PROPERTIES ================================================ -->
<properties>
<!-- .. Libraries ..................................................... -->
<!-- .. Plugins ....................................................... -->
<!-- .. Classifiers ................................................... -->
<!-- .. Misc .......................................................... -->
<!-- .. Resources ..................................................... -->
</properties>
<!-- == PROJECT METAINFORMATION =========================================== -->
<!-- == PROJECT DEPENDENCIES ============================================== -->
<dependencies>
<!-- .. Modules ................................................... -->
<dependency>
<groupId>de.monticore.lang</groupId>
<artifactId>Tagging</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>de.monticore.lang</groupId>
<artifactId>Tagging-LS</artifactId>
<version>${project.version}</version>
</dependency>
<!-- .. Libraries ................................................. -->
<!-- .. Language .................................................. -->
<!-- .. Test Libraries ............................................ -->
</dependencies>
<!-- == PROJECT BUILD SETTINGS ============================================ -->
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.6.0</version>
<executions>
<execution>
<id>yarn install</id>
<phase>compile</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>yarn</executable>
<arguments>
<argument>install</argument>
</arguments>
</configuration>
</execution>
<execution>
<id>yarn publish</id>
<phase>deploy</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>yarn</executable>
<arguments>
<argument>publish</argument>
</arguments>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>de.monticore.lang.monticar.sol</groupId>
<artifactId>plugin-language-client</artifactId>
<version>${sol.plugin}</version>
<executions>
<execution>
<id>Tagging</id>
<phase>generate-sources</phase>
<goals>
<goal>generate</goal>
</goals>
<configuration>
<rootModel>de.monticore.lang.Tagging</rootModel>
<grammar>de.monticore.lang.Tagging</grammar>
<extension>tag</extension>
<grammarModule>Tagging</grammarModule>
<serverArtifact>Tagging-LS:Tagging.jar</serverArtifact>
<excludedKeywords/>
</configuration>
</execution>
<execution>
<id>TagSchema</id>
<phase>generate-sources</phase>
<goals>
<goal>generate</goal>
</goals>
<configuration>
<rootModel>de.monticore.lang.TagSchema</rootModel>
<grammar>de.monticore.lang.TagSchema</grammar>
<extension>tagschema</extension>
<grammarModule>Tagging</grammarModule>
<serverArtifact>Tagging-LS:TagSchema.jar</serverArtifact>
<excludedKeywords/>
</configuration>
</execution>
</executions>
</plugin>
<!-- Deployment -->
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8.1</version>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</build>
<!-- == PROJECT REPORTING ================================================= -->
<reporting>
<plugins>
</plugins>
</reporting>
<!-- == PROJECT DISTRIBUTION ============================================== -->
</project>
package de.monticore.lang
language TagSchema {}
\ No newline at end of file
package de.monticore.lang
language Tagging {}
\ No newline at end of file
{
"compilerOptions": {
"skipLibCheck": true,
"declaration": true,
"declarationMap": true,
"noImplicitAny": true,
"noEmitOnError": false,
"noImplicitThis": true,
"noUnusedLocals": false,
"strictNullChecks": true,
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"downlevelIteration": true,
"resolveJsonModule": true,
"module": "commonjs",
"moduleResolution": "node",
"target": "es5",
"jsx": "react",
"lib": ["es6", "dom"],
"sourceMap": true,
"rootDirs": ["src", "src-gen"],
"outDir": "lib"
},
"include": ["src", "src-gen"]
}
\ No newline at end of file
This diff is collapsed.
/target/
dependency-reduced-pom.xml
\ No newline at end of file
<!--
~ (c) https://github.com/MontiCore/monticore
-->
<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>
<!-- == PROJECT COORDINATES =============================================== -->
<parent>
<groupId>de.monticore.lang</groupId>
<artifactId>Tagging-Root</artifactId>
<version>0.0.8-SNAPSHOT</version>
</parent>
<artifactId>Tagging-LS</artifactId>
<!-- == PROJECT PROPERTIES ================================================ -->
<properties>
<!-- .. Libraries ..................................................... -->
<!-- .. Plugins ....................................................... -->
<!-- .. Classifiers ................................................... -->
<!-- .. Misc .......................................................... -->
<!-- .. Resources ..................................................... -->
</properties>
<!-- == PROJECT METAINFORMATION =========================================== -->
<!-- == PROJECT DEPENDENCIES ============================================== -->
<dependencies>
<!-- .. Modules ................................................... -->
<dependency>
<groupId>de.monticore.lang.monticar.sol</groupId>
<artifactId>runtime-language-server</artifactId>
<version>${sol.plugin}</version>
</dependency>
<!-- .. Libraries ................................................. -->
<dependency>
<groupId>de.monticore.lang</groupId>
<artifactId>Tagging</artifactId>
<version>${project.version}</version>
</dependency>
<!-- .. Language .................................................. -->
<!-- .. Test Libraries ............................................ -->
</dependencies>
<!-- == PROJECT BUILD SETTINGS ============================================ -->
<build>
<plugins>
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8.1</version>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<plugin>
<groupId>de.monticore.lang.monticar.sol</groupId>
<artifactId>plugin-language-server</artifactId>
<version>${sol.plugin}</version>
<executions>
<execution>
<id>Tagging</id>
<phase>generate-sources</phase>
<goals>
<goal>generate</goal>
</goals>
<configuration>
<grammar>de.monticore.lang.Tagging</grammar>
</configuration>
</execution>
<execution>
<id>TagSchema</id>
<phase>generate-sources</phase>
<goals>
<goal>generate</goal>
</goals>
<configuration>
<grammar>de.monticore.lang.TagSchema</grammar>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>${shade.plugin}</version>
<executions>
<execution>
<id>Tagging</id>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<filters>
<filter>
<artifact>*:*</artifact>
<excludes>
<exclude>META-INF/*.SF</exclude>
<exclude>META-INF/*.DSA</exclude>
<exclude>META-INF/*.RSA</exclude>
</excludes>
</filter>
</filters>
<finalName>Tagging</finalName>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<mainClass>de.monticore.lang.tagging.ls.TaggingServerLauncher</mainClass>
</transformer>
</transformers>
<minimizeJar>true</minimizeJar>
</configuration>
</execution>
<execution>
<id>TagSchema</id>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<filters>
<filter>
<artifact>*:*</artifact>
<excludes>
<exclude>META-INF/*.SF</exclude>
<exclude>META-INF/*.DSA</exclude>
<exclude>META-INF/*.RSA</exclude>
</excludes>
</filter>
</filters>
<finalName>TagSchema</finalName>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<mainClass>de.monticore.lang.tagschema.ls.TagSchemaServerLauncher</mainClass>
</transformer>
</transformers>
<minimizeJar>true</minimizeJar>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>${compiler.plugin}</version>
<configuration>
<useIncrementalCompilation>true</useIncrementalCompilation>
<source>${java.version}</source>
<target>${java.version}</target>
</configuration>
</plugin>
</plugins>
</build>
<!-- == PROJECT REPORTING ================================================= -->
<reporting>
<plugins>
</plugins>
</reporting>
<!-- == PROJECT DISTRIBUTION ============================================== -->
</project>
<!-- (c) https://github.com/MontiCore/monticore -->
<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>
<!-- == PROJECT COORDINATES ============================================= -->
<groupId>de.monticore.lang</groupId>
<artifactId>Tagging</artifactId>
<version>0.0.8-SNAPSHOT</version>
<!-- == PROJECT DEPENDENCIES ============================================= -->
<dependencies>
<dependency>
<groupId>org.jscience</groupId>
<artifactId>jscience</artifactId>
<version>4.3.1</version>
</dependency>
<!-- <dependency>
<groupId>de.monticore.lang.monticar</groupId>
<artifactId>embedded-montiarc</artifactId>
<version>0.1.0-SNAPSHOT</version>
</dependency> -->
<dependency>
<groupId>org.antlr</groupId>
<artifactId>antlr4-runtime</artifactId>
<version>4.7.1</version>
</dependency>
<dependency>
<groupId>de.se_rwth.commons</groupId>
<artifactId>se-commons-logging</artifactId>
<version>${se-commons.version}</version>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>${guava.version}</version>
</dependency>
<!-- MontiCore Dependencies -->
<dependency>
<groupId>de.monticore</groupId>
<artifactId>monticore-runtime</artifactId>
<version>${monticore.version}</version>
</dependency>
<dependency>
<groupId>de.monticore</groupId>
<artifactId>monticore-grammar</artifactId>
<version>${monticore.version}</version>
</dependency>
<dependency>
<groupId>de.monticore</groupId>
<artifactId>monticore-grammar</artifactId>
<version>${monticore.version}</version>
<classifier>${grammars.classifier}</classifier>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>de.se_rwth.commons</groupId>
<artifactId>se-commons-groovy</artifactId>
<version>${se-commons.version}</version>
</dependency>
<!-- .. Test Libraries ............................................... -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>de.monticore</groupId>
<artifactId>monticore-runtime</artifactId>
<version>${monticore.version}</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>${logback.version}</version>
</dependency>
<dependency>
<groupId>org.jscience</groupId>
<artifactId>jscience</artifactId>
<version>${jscience.version}</version>
</dependency>
</dependencies>
<!-- == PROJECT BUILD SETTINGS =========================================== -->
<build>
<plugins>
<plugin>
<artifactId>maven-deploy-plugin</artifactId>