Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Documentation
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
DevOps Tools
Documentation
Commits
ec50e394
Commit
ec50e394
authored
4 years ago
by
danielspeicher
Browse files
Options
Downloads
Patches
Plain Diff
docker/l3d#87
parent
03b6a4d9
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#45523
failed
4 years ago
Stage: build
Stage: deploy
Changes
3
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
docs/docker/maven-build/index.md
+46
-2
46 additions, 2 deletions
docs/docker/maven-build/index.md
docs/new-features.md
+6
-2
6 additions, 2 deletions
docs/new-features.md
docs/versions.txt
+2
-1
2 additions, 1 deletion
docs/versions.txt
with
54 additions
and
5 deletions
docs/docker/maven-build/index.md
+
46
−
2
View file @
ec50e394
---
l3d reset
---
title: Docker Maven Build
repo: https://gitlab.lakedrops.com/docker/maven-build
issues: https://gitlab.lakedrops.com/docker/maven-build/-/issues
...
...
@@ -7,4 +7,48 @@ tags:
---
# Maven
Yet to be done.
In case you want to build a Java project, we provide a Docker image for a Java
[
Maven
](
https://maven.apache.org/
)
build.
To use this image in a
**_.gitlab-ci.yml_**
file, you can specify a build stage to build a JAR file:
```
stages:
- build
build_jar:
stage: build
image: registry.lakedrops.com/docker/maven-build/maven
script:
- mvn clean verify
artifacts:
name: your_artifact_name
paths:
- your_artifact_path
```
`
stages:
- build
- deploy
variables:
MAVEN_OPTS: "-Dmaven.repo.local=$CI_PROJECT_DIR/.m2/repository"
GIT_SUBMODULE_STRATEGY: recursive
JAR_FILE: datacore-real-estate-3.0.0.jar
cache:
paths:
- .m2/repository
build_jar:
stage: build
image: registry.lakedrops.com/docker/maven-build/maven
script:
- mvn clean deploy -s ci_settings.xml
artifacts:
name: datacore
paths:
- real-estate/target/${JAR_FILE}
`
This diff is collapsed.
Click to expand it.
docs/new-features.md
+
6
−
2
View file @
ec50e394
# New in version 2021.
1.20
:
# New in version 2021.
3.4
:
--------
-
[
Ansible Docker Framework
](
docker/ansible/index.html
)
-
[
Ansible Wiki ELK Re-Indexing
](
ansible/wiki/elk/re-indexing.html
)
> __
-
[
Docker Node, Gulp SASS and BrowserSync
](
docker/node/gulp-sass.html
)
> __
This diff is collapsed.
Click to expand it.
docs/versions.txt
+
2
−
1
View file @
ec50e394
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment