Commit 94d9de95 authored by Jean-Marc Ronck's avatar Jean-Marc Ronck
Browse files

Expanded repository.

parent 09eb1eae
Pipeline #251716 passed with stage
in 8 minutes and 5 seconds
# Editor # Editor
/.idea /.idea
*.iml
# Build # Build
/target target/
/src/main/resources/math-pretty-printer/
/src/main/resources/visualisation/ dependency-reduced-pom.xml
/src/main/resources/visualization.zip
/src/main/resources/math-pretty-printer.zip tool/src/main/resources/math-pretty-printer/
tool/src/main/resources/visualisation/
tool/src/main/resources/visualization.zip
tool/src/main/resources/math-pretty-printer.zip
...@@ -10,6 +10,8 @@ masterJobLinux: ...@@ -10,6 +10,8 @@ masterJobLinux:
- mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B clean deploy --settings settings.xml - mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B clean deploy --settings settings.xml
only: only:
- master - master
except:
- sol
#masterJobWindows: #masterJobWindows:
# stage: windows # stage: windows
...@@ -26,3 +28,26 @@ BranchJobLinux: ...@@ -26,3 +28,26 @@ BranchJobLinux:
except: except:
- master - master
- gh-pages - gh-pages
- sol
#
# ATTENTION READER:
# TODO: This job should later on be removed and split up between masterJob and branchJob.
#
solJobLinux:
stage: linux
image: registry.git.rwth-aachen.de/monticore/embeddedmontiarc/utilities/sol/build:2019.09.26
script:
- cd package
- 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 -U --settings settings.xml
- cd package
- yarn install
- yarn publish
only:
- sol
\ No newline at end of file
src-gen/
lib/
artifacts/
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/visualization-emam",
"license": "SEE LICENSE IN LICENSE",
"description": "",
"version": "0.1.2-SNAPSHOT",
"files": ["src", "src-gen", "lib", "sol"],
"scripts": {
"prepare": "yarn run build",
"clean": "rimraf lib && rimraf src-gen && rimraf artifacts",
"build": "tsc++ --flatten",
"watch": "tsc++ -w --flatten"
},
"dependencies": {
"inversify": "^5.0.1",
"@embeddedmontiarc/sol-runtime-artifact": ">=2019.12.12"
},
"devDependencies": {
"@theia/cli": "latest",
"@embeddedmontiarc/sol-development-tsc": ">=2019.12.12",
"typescript": "^3.7.3"
},
"theiaExtensions": [
{
"frontend": "lib/browser/visualization-emam-frontend-module",
"backend": "lib/node/visualization-emam-backend-module"
}
],
"sol": {
"directories": {
"models": "sol/models",
"artifacts": "sol/artifacts"
}
}
}
\ 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.monticar</groupId>
<artifactId>visualization-emam-parent</artifactId>
<version>0.1.2-SNAPSHOT</version>
</parent>
<artifactId>visualization-emam-package</artifactId>
<properties>
<!-- .. Plugins ....................................................... -->
<sol.plugin>2019.12.12</sol.plugin>
</properties>
<!-- == PROJECT METAINFORMATION ========================================= -->
<name>VisualizationEMAM :: Package</name>
<dependencies>
<dependency>
<groupId>de.monticore.lang.monticar</groupId>
<artifactId>visualization-emam</artifactId>
<version>0.1.2-SNAPSHOT</version>
</dependency>
</dependencies>
<!-- == PROJECT BUILD SETTINGS =========================================== -->
<build>
<plugins>
<!-- Sol -->
<plugin>
<groupId>de.monticore.lang.monticar.sol</groupId>
<artifactId>plugin-artifact</artifactId>
<version>${sol.plugin}</version>
<executions>
<execution>
<phase>generate-sources</phase>
<goals>
<goal>generate</goal>
</goals>
<configuration>
<rootModels>
<rootModel>de.monticore.lang.monticar.generators.VisualizationEMAM</rootModel>
</rootModels>
</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>
package de.monticore.lang.monticar.generators
tool VisualizationEMAM {
path "tool/target/visualization-emam-0.1.2-SNAPSHOT-jar-with-dependencies.jar" resolved from PARENT
prefix "java -jar"
environment VisualizationEMAM
}
\ No newline at end of file
PACKAGE de.monticore.lang.monticar.generators
COMPONENT DOCKERFILE VisualizationEMAM
INSTALL "openjdk-8-jdk"
\ 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.
...@@ -6,51 +6,20 @@ ...@@ -6,51 +6,20 @@
<!-- == PROJECT COORDINATES ============================================= --> <!-- == PROJECT COORDINATES ============================================= -->
<groupId>de.monticore.lang.monticar</groupId> <groupId>de.monticore.lang.monticar</groupId>
<artifactId>visualization-emam</artifactId> <artifactId>visualization-emam-parent</artifactId>
<version>0.1.2-SNAPSHOT</version> <version>0.1.2-SNAPSHOT</version>
<packaging>pom</packaging>
<properties> <!-- == PROJECT MODULES =================================================== -->
<!-- .. Libraries ..................................................... --> <modules>
<module>package</module>
<guava.version>18.0</guava.version> <module>tool</module>
<guice.version>4.2.0</guice.version> </modules>
<jsr305.version>3.0.0</jsr305.version>
<junit.version>4.11</junit.version>
<logback.version>1.1.2</logback.version>
<math-pretty-printer.version>0.2.0</math-pretty-printer.version>
<commons-cli.version>1.4</commons-cli.version>
<commons-exec.version>1.3</commons-exec.version>
<commons-io.version>2.4</commons-io.version>
<commons-codec.version>1.11</commons-codec.version>
<monticore.version>5.0.0</monticore.version>
<!-- .. Plugins ....................................................... -->
<assembly.plugin>2.5.3</assembly.plugin>
<compiler.plugin>3.2</compiler.plugin>
<source.plugin>2.4</source.plugin>
<antrun.version>1.8</antrun.version>
<!-- .. Classifiers ................................................... -->
<grammars.classifier>grammars</grammars.classifier>
<!-- .. Misc .......................................................... -->
<java.version>1.8</java.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<!-- .. Resources ..................................................... -->
<visualization.version>18.07.16</visualization.version>
<math-pretty-printer.version>18.10.01</math-pretty-printer.version>
</properties>
<!-- == PROJECT METAINFORMATION ========================================= --> <!-- == PROJECT METAINFORMATION ========================================= -->
<name>VisualizationEMAM</name> <name>VisualizationEMAM :: Parent</name>
<inceptionYear>2018</inceptionYear> <inceptionYear>2018</inceptionYear>
<organization> <organization>
...@@ -70,73 +39,6 @@ ...@@ -70,73 +39,6 @@
</developer> </developer>
</developers> </developers>
<dependencies>
<!-- .. Libraries ..................................................... -->
<dependency>
<groupId>com.google.inject</groupId>
<artifactId>guice</artifactId>
<version>${guice.version}</version>
<classifier>no_aop</classifier>
</dependency>
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
<version>${jsr305.version}</version>
</dependency>
<dependency>
<groupId>commons-cli</groupId>
<artifactId>commons-cli</artifactId>
<version>${commons-cli.version}</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-exec</artifactId>
<version>${commons-exec.version}</version>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>${commons-io.version}</version>
</dependency>
<dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
<version>${commons-codec.version}</version>
</dependency>
<!-- .. MontiCore .................................................... -->
<dependency>
<groupId>de.monticore</groupId>
<artifactId>monticore-runtime</artifactId>
<version>${monticore.version}</version>
</dependency>
<!-- .. MontiMath .................................................... -->
<!-- .. Test Libraries ............................................... -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>${logback.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
<!-- == DISTRIBUTION ==================================================== --> <!-- == DISTRIBUTION ==================================================== -->
<distributionManagement> <distributionManagement>
...@@ -154,154 +56,16 @@ ...@@ -154,154 +56,16 @@
<build> <build>
<plugins> <plugins>
<!-- Deployment -->
<plugin> <plugin>
<artifactId>maven-deploy-plugin</artifactId> <artifactId>maven-deploy-plugin</artifactId>
<version>2.8.1</version> <version>2.8.1</version>
</plugin>
<!-- Other Configuration -->
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>${compiler.plugin}</version>
<configuration> <configuration>
<useIncrementalCompilation>true</useIncrementalCompilation> <skip>true</skip>
<source>${java.version}</source>
<target>${java.version}</target>
</configuration> </configuration>
</plugin> </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.6</version>
<configuration>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
<archive>
<manifest>
<mainClass>de.monticore.lang.monticar.visualization.emam.application.Application</mainClass>
</manifest>
</archive>
</configuration>
<executions>
<execution>
<id>assemble-all</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- Source Jar Configuration -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>${source.plugin}</version>
<executions>
<execution>
<id>create source jar</id>
<phase>package</phase>
<goals>
<goal>jar-no-fork</goal>
</goals>
<configuration>
<excludeResources>false</excludeResources>
<includes>
<include>**/*.java</include>
<include>**/*.ftl</include>
</includes>
</configuration>
</execution>
</executions>
</plugin>
<!-- Other Plugins -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.0.0-M1</version>
<configuration>
</configuration>
</plugin>
<plugin>
<groupId>org.eluder.coveralls</groupId>
<artifactId>coveralls-maven-plugin</artifactId>
<version>4.3.0</version>
<configuration>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
<version>2.7</version>
<configuration>
<format>xml</format>
<maxmem>256m</maxmem>
<!-- aggregated reports for multi-module projects -->
<aggregate>true</aggregate>
<check/>
</configuration>
</plugin>
<!-- Resource Download -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>${antrun.version}</version>
<executions>
<execution>
<id>Download Visualization</id>
<phase>process-resources</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target>
<ant antfile="build.xml">
<target name="visualization.download()"/>
</ant>
</target>
</configuration>
</execution>
<execution>
<id>Download MathPrettyPrinter</id>
<phase>process-resources</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target>
<ant antfile="build.xml">
<target name="math-pretty-printer.download()"/>
</ant>
</target>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>license-maven-plugin</artifactId>
<version>1.14</version>
<dependencies>
<dependency>
<groupId>org.apache.maven.doxia</groupId>
<artifactId>doxia-core</artifactId>
<version>1.6</version>
</dependency>
<dependency>
<groupId>org.apache.maven.doxia</groupId>
<artifactId>doxia-site-renderer</artifactId>
<version>1.6</version>
</dependency>
</dependencies>
</plugin>
</plugins> </plugins>
</build> </build>
......
<!-- (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.monticar</groupId>
<artifactId>visualization-emam-parent</artifactId>
<version>0.1.2-SNAPSHOT</version>
</parent>
<artifactId>visualization-emam</artifactId>
<properties>
<!-- .. Libraries ..................................................... -->
<guava.version>18.0</guava.version>
<guice.version>4.2.0</guice.version>
<jsr305.version>3.0.0</jsr305.version>
<junit.version>4.11</junit.version>
<logback.version>1.1.2</logback.version>
<math-pretty-printer.version>0.2.0</math-pretty-printer.version>
<commons-cli.version>1.4</commons-cli.version>
<commons-exec.version>1.3</commons-exec.version>
<commons-io.version>2.4</commons-io.version>
<commons-codec.version>1.11</commons-codec.version>
<monticore.version>5.0.0</monticore.version>
<!-- .. Plugins ....................................................... -->
<assembly.plugin>3.2.0</assembly.plugin>
<compiler.plugin>3.2</compiler.plugin>
<source.plugin>3.2.0</source.plugin>
<antrun.version>1.8</antrun.version>
<!-- .. Classifiers ................................................... -->
<grammars.classifier>grammars</grammars.classifier>
<!-- .. Misc .......................................................... -->
<java.version>1.8</java.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<!-- .. Resources ..................................................... -->
<visualization.version>18.07.16</visualization.version>
<math-pretty-printer.version>18.10.01</math-pretty-printer.version>
</properties>
<!-- == PROJECT METAINFORMATION ========================================= -->
<name>VisualizationEMAM :: Tool</name>
<dependencies>
<!-- .. Libraries ..................................................... -->
<dependency>
<groupId>com.google.inject</groupId>
<artifactId>guice</artifactId>
<version>${guice.version}</version>
<classifier>no_aop</classifier>
</dependency>
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
<version>${jsr305.version}</version>
</dependency>
<dependency>
<groupId>commons-cli</groupId>
<artifactId>commons-cli</artifactId>
<version>${commons-cli.version}</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-exec</artifactId>
<version>${commons-exec.version}</version>