Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Gitpod configuration and small fix to .gitignore #55

Merged
merged 8 commits into from
Oct 26, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 12 additions & 10 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
*.svn
*.idea
.idea/*
*.iml
work/*
target/*
.settings/
.classpath
.project
/target/
target/**
work/**
nbactions-jenkins.xml
/target
/.settings
/.classpath
/.project
/.apt_generated/
/.factorypath
/.idea
/*.iml
/nbproject/
29 changes: 29 additions & 0 deletions .gitpod.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
tasks:
- name: Update settings.xml
before: |
cp .mvn/gitpod-mvn-settings.xml ~/.m2/settings.xml
cd $GITPOD_REPO_ROOT
- name: sdkman auto answer
before: |
sed -i 's/sdkman_auto_answer=false/sdkman_auto_answer=true/' $HOME/.sdkman/etc/config
- name: SDKMAN
before: |
sdk selfupdate
sdk update
sdk install maven 3.8.3
sdk use maven 3.8.3
vscode:
extensions:
- bierner.markdown-preview-github-styles
- github.vscode-pull-request-github
- redhat.fabric8-analytics
- redhat.java
- redhat.vscode-commons
- redhat.vscode-xml
- vscjava.vscode-maven
- vscjava.vscode-java-debug
- vscjava.vscode-java-dependency
- vscjava.vscode-java-pack
- vscjava.vscode-java-test
- hbenl.vscode-test-explorer
- hbenl.test-adapter-converter
38 changes: 38 additions & 0 deletions .mvn/gitpod-mvn-settings.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
http://maven.apache.org/xsd/settings-1.0.0.xsd">
<localRepository>/workspace/m2-repository/</localRepository>
<pluginGroups>
<pluginGroup>org.jenkins-ci.tools</pluginGroup>
</pluginGroups>

<profiles>
<!-- Give access to Jenkins plugins -->
<profile>
<id>jenkins</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<repositories>
<repository>
<id>repo.jenkins-ci.org</id>
<url>https://repo.jenkins-ci.org/public/</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>repo.jenkins-ci.org</id>
<url>https://repo.jenkins-ci.org/public/</url>
</pluginRepository>
</pluginRepositories>
</profile>
</profiles>
<mirrors>
<mirror>
<id>repo.jenkins-ci.org</id>
<url>https://repo.jenkins-ci.org/public/</url>
<mirrorOf>m.g.o-public</mirrorOf>
</mirror>
</mirrors>
</settings>