Skip to content

Commit

Permalink
Merge pull request #55 from darinpope/add-gitpod
Browse files Browse the repository at this point in the history
Add Gitpod configuration and small fix to .gitignore
  • Loading branch information
darinpope committed Oct 26, 2021
2 parents 8d3a4c5 + 0f663f7 commit 09a8123
Show file tree
Hide file tree
Showing 3 changed files with 79 additions and 10 deletions.
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>

0 comments on commit 09a8123

Please sign in to comment.