-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# Conflicts: # cobigen-cli/cli/pom.xml
- Loading branch information
Showing
737 changed files
with
2,049 additions
and
2,841 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# This workflow builds and tests Cobigen run in parallel and stops if one build doesn't work | ||
|
||
name: build & test sequentially # on Ubuntu and Windows with OpenJDK8 and OpenJDK11 | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
|
||
jobs: | ||
build-and-test: | ||
|
||
strategy: | ||
matrix: | ||
# test against Java version 8 and 11: | ||
javaVersion: [ 8, 11 ] | ||
os: [windows-latest,ubuntu-latest] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- name: Support longpaths for Windows | ||
if: ${{ matrix.os == 'windows-latest' }} | ||
run: git config --system core.longpaths true | ||
- name: Support longpaths for Linux | ||
if: ${{ matrix.os == 'ubuntu-latest' }} | ||
run: sudo git config --system core.longpaths true | ||
- uses: actions/checkout@v2 | ||
- name: Set up OpenJDK | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: ${{ matrix.javaVersion }} | ||
server-id: github | ||
settings-path: ${{ github.workspace }} | ||
- name: Build with Maven | ||
run: | ||
mvn clean install -e -U -P "p2-build-photon,p2-build-stable" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# This workflow builds and tests Cobigen run in parallel and stops if one build doesn't work | ||
|
||
name: build & test # on Ubuntu with OpenJDK8 and OpenJDK11 | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
build-and-test: | ||
|
||
strategy: | ||
matrix: | ||
# test against Java version 8 and 11: | ||
javaVersion: [ 8, 11 ] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up OpenJDK | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: ${{ matrix.javaVersion }} | ||
settings-path: ${{ github.workspace }} | ||
|
||
- name: Build with Maven | ||
run: ./build.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,4 +17,4 @@ | |
<password>${env.BINTRAY_PASSWORD}</password> | ||
</server> | ||
</servers> | ||
</settings> | ||
</settings> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
set -e | ||
|
||
# build core without system test | ||
mvn clean install -f cobigen --projects !cobigen-core-systemtest -DtrimStackTrace=false | ||
|
||
# build & test plugins ones | ||
mvn clean install -f cobigen-plugins -DtrimStackTrace=false | ||
|
||
# build plugin p2 repositories | ||
mvn clean install p2:site -f cobigen-plugins bundle:bundle -Pp2-bundle --projects !cobigen-javaplugin-parent/cobigen-javaplugin-model,!cobigen-openapiplugin-parent/cobigen-openapiplugin-model,!:plugins-parent,!cobigen-javaplugin-parent,!cobigen-openapiplugin-parent,!cobigen-templateengines -DtrimStackTrace=false | ||
|
||
# execute core system tests | ||
mvn clean verify -f cobigen --projects cobigen-core-systemtest -DtrimStackTrace=false | ||
|
||
# package everything. core and plugins will be skipped since they were build already | ||
mvn package -Pp2-build-photon,p2-build-stable,p2-build-experimental -DtrimStackTrace=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,16 @@ | ||
<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"> | ||
<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> | ||
<artifactId>class-loader-agent</artifactId> | ||
<version>7.1.0</version> | ||
<name>Class loader agent</name> | ||
<description>Class loader agent for CobiGen CLI</description> | ||
<name>CobiGen - CLI Classloader Agent</name> | ||
|
||
<parent> | ||
<groupId>com.devonfw.cobigen</groupId> | ||
<artifactId>cli-parent</artifactId> | ||
<version>dev-SNAPSHOT</version> | ||
<version>${revision}</version> | ||
</parent> | ||
|
||
<properties> | ||
<skip.deployment>false</skip.deployment> | ||
</properties> | ||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-jar-plugin</artifactId> | ||
<configuration> | ||
<archive> | ||
<manifestEntries> | ||
<Launcher-Agent-Class>classloader.Agent</Launcher-Agent-Class> | ||
<Agent-Class>classloader.Agent</Agent-Class> | ||
<Premain-Class>classloader.Agent</Premain-Class> | ||
</manifestEntries> | ||
</archive> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.