Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
CoTA
cota-backend
Commits
0b909163
Commit
0b909163
authored
Oct 18, 2023
by
Lückemeyer
Browse files
added unified ticketing dependency jar and local repo deploy hint
parent
5372c0e5
Changes
4
Hide whitespace changes
Inline
Side-by-side
deployunifiedticketingdeptolocalrepo.txt
0 → 100644
View file @
0b909163
mvn deploy:deploy-file -DgroupId=de.hftstuttgart -DartifactId=unified-ticketing -Dversion=0.2.2 -Durl=file:./local-maven-repo/ -DrepositoryId=local-maven-repo -DupdateReleaseInfo=true -Dfile=./local-maven-repo/unified-ticketing-0.2.2.jar
\ No newline at end of file
local-maven-repo/unified-ticketing-0.2.2.jar
0 → 100644
View file @
0b909163
File added
local-maven-repo/unified-ticketing-0.2.2.pom
0 → 100644
View file @
0b909163
<?xml version="1.0" encoding="UTF-8"?>
<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>
<groupId>
de.hftstuttgart
</groupId>
<artifactId>
unified-ticketing
</artifactId>
<version>
${buildNumber}
</version>
<properties>
<buildNumber>
devel
</buildNumber>
<java.version>
11
</java.version>
<project.build.sourceEncoding>
UTF-8
</project.build.sourceEncoding>
</properties>
<profiles>
<profile>
<id>
ci
</id>
<activation>
<property><name>
env.BUILD_NUMBER
</name></property>
</activation>
<properties>
<buildNumber>
${env.BUILD_NUMBER}
</buildNumber>
</properties>
</profile>
</profiles>
<dependencies>
<!-- https://mvnrepository.com/artifact/com.squareup.okhttp3/okhttp -->
<dependency>
<groupId>
com.squareup.okhttp3
</groupId>
<artifactId>
okhttp
</artifactId>
<version>
4.9.0
</version>
</dependency>
<!-- https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-databind -->
<dependency>
<groupId>
com.fasterxml.jackson.core
</groupId>
<artifactId>
jackson-databind
</artifactId>
<version>
2.11.3
</version>
</dependency>
<dependency>
<groupId>
org.junit.jupiter
</groupId>
<artifactId>
junit-jupiter-api
</artifactId>
<version>
5.7.0
</version>
<scope>
test
</scope>
</dependency>
<dependency>
<groupId>
org.junit.jupiter
</groupId>
<artifactId>
junit-jupiter-engine
</artifactId>
<version>
5.7.0
</version>
<scope>
test
</scope>
</dependency>
<dependency>
<groupId>
org.mockito
</groupId>
<artifactId>
mockito-core
</artifactId>
<version>
3.6.0
</version>
<scope>
test
</scope>
</dependency>
<dependency>
<groupId>
org.mockito
</groupId>
<artifactId>
mockito-junit-jupiter
</artifactId>
<version>
3.6.0
</version>
<scope>
test
</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-compiler-plugin
</artifactId>
<version>
3.8.1
</version>
<configuration>
<source>
17
</source>
<target>
17
</target>
</configuration>
</plugin>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-surefire-plugin
</artifactId>
<version>
2.21.0
</version>
<dependencies>
<dependency>
<groupId>
org.junit.platform
</groupId>
<artifactId>
junit-platform-surefire-provider
</artifactId>
<version>
1.3.2
</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
<repositories>
<repository>
<id>
gitlab-maven
</id>
<url>
https://transfer.hft-stuttgart.de/gitlab/api/v4/projects/${env.CI_PROJECT_ID}/packages/maven
</url>
</repository>
</repositories>
<distributionManagement>
<repository>
<id>
gitlab-maven
</id>
<url>
https://transfer.hft-stuttgart.de/gitlab/api/v4/projects/${env.CI_PROJECT_ID}/packages/maven
</url>
</repository>
<snapshotRepository>
<id>
gitlab-maven
</id>
<url>
https://transfer.hft-stuttgart.de/gitlab/api/v4/projects/${env.CI_PROJECT_ID}/packages/maven
</url>
</snapshotRepository>
</distributionManagement>
</project>
pom.xml
View file @
0b909163
...
@@ -30,6 +30,14 @@
...
@@ -30,6 +30,14 @@
</profile>
</profile>
</profiles>
</profiles>
<repositories>
<repository>
<id>
local-maven-repo
</id>
<url>
file:///${project.basedir}/local-maven-repo
</url>
</repository>
</repositories>
<dependencies>
<dependencies>
<dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<groupId>
org.springframework.boot
</groupId>
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment