Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
X
xta-client-lib
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OZG-Cloud
lib
xta-client-lib
Commits
cbe731ff
Commit
cbe731ff
authored
11 months ago
by
Jörg Bolay
Browse files
Options
Downloads
Patches
Plain Diff
KOP-2329 settings.xml und gitlab ci file kopiert und dem Projekt hinzugefügt
parent
7353e131
No related branches found
No related tags found
No related merge requests found
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
.gitignore
+1
-0
1 addition, 0 deletions
.gitignore
.gitlab-ci.yml
+20
-0
20 additions, 0 deletions
.gitlab-ci.yml
.m2/settings.xml
+55
-0
55 additions, 0 deletions
.m2/settings.xml
src/main/java/de/ozgcloud/xtaClientLib/Main.java
+9
-0
9 additions, 0 deletions
src/main/java/de/ozgcloud/xtaClientLib/Main.java
with
85 additions
and
0 deletions
.gitignore
+
1
−
0
View file @
cbe731ff
...
@@ -2,6 +2,7 @@ target/
...
@@ -2,6 +2,7 @@ target/
.classpath
.classpath
.project
.project
.settings
.settings
.gitlab-ci-local
# IDE
# IDE
.settings/
.settings/
...
...
This diff is collapsed.
Click to expand it.
.gitlab-ci.yml
0 → 100644
+
20
−
0
View file @
cbe731ff
image
:
dimage-base-release.repo-ex.zcdi.dataport.de/sdks/maven:3.9.2-java-21
variables
:
MAVEN_CLI_OPTS
:
"
-s
.m2/settings.xml
--batch-mode"
MAVEN_OPTS
:
"
-Dmaven.repo.local=.m2/repository"
cache
:
paths
:
-
.m2/repository/
-
target/
package
:
stage
:
deploy
script
:
-
mvn $MAVEN_CLI_OPTS package
artifacts
:
paths
:
-
target/*.jar
This diff is collapsed.
Click to expand it.
.m2/settings.xml
0 → 100644
+
55
−
0
View file @
cbe731ff
<?xml version="1.0" encoding="UTF-8"?>
<settings
xsi:schemaLocation=
"http://maven.apache.org/SETTINGS/1.2.0 http://maven.apache.org/xsd/settings-1.2.0.xsd"
xmlns=
"http://maven.apache.org/SETTINGS/1.2.0"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
>
<localRepository>
.m2/repository
</localRepository>
<servers>
<server>
<id>
artifactory
</id>
<username>
${env.Artifactory_REPO_USER}
</username>
<password>
${env.Artifactory_REPO_PASS}
</password>
</server>
<server>
<id>
artifactory-snapshots
</id>
<username>
${env.Artifactory_REPO_USER}
</username>
<password>
${env.Artifactory_REPO_PASS}
</password>
</server>
</servers>
<profiles>
<profile>
<id>
local-build
</id>
<repositories>
<repository>
<id>
artifactory
</id>
<name>
artifactory
</name>
<url>
${env.DATAPORT_ARTIFACTORY_URL}
</url>
</repository>
<repository>
<id>
artifactory-snapshots
</id>
<name>
artifactory-snapshots
</name>
<url>
${env.DATAPORT_ARTIFACTORY_URL}
</url>
<snapshots><enabled>
true
</enabled></snapshots>
</repository>
</repositories>
</profile>
</profiles>
<activeProfiles>
<activeProfile>
local-build
</activeProfile>
</activeProfiles>
<proxies>
<proxy>
<id>
dataport-proxy
</id>
<active>
true
</active>
<protocol>
http
</protocol>
<host>
10.65.108.2
</host>
<port>
${env.DATAPORT_PROXY_PORT}
</port>
<nonProxyHosts>
localhost,127.0.0.1,*.dataport.de
</nonProxyHosts>
</proxy>
<proxy>
<id>
dataport-gitlab-proxy
</id>
<active>
false
</active>
<protocol>
http
</protocol>
<host>
${env.DATAPORT_PROXY}
</host>
<port>
${env.DATAPORT_PROXY_PORT}
</port>
<nonProxyHosts>
localhost,127.0.0.1,*.dataport.de
</nonProxyHosts>
</proxy>
</proxies>
</settings>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
src/main/java/de/ozgcloud/xtaClientLib/Main.java
0 → 100644
+
9
−
0
View file @
cbe731ff
package
de.ozgcloud.xtaClientLib
;
public
class
Main
{
public
static
void
main
(
String
[]
args
)
{
System
.
out
.
println
(
"Hello World!"
);
}
}
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