Skip to content

Commit 107c713

Browse files
authored
Set up dependency management (#3)
1 parent 74bdfec commit 107c713

File tree

3 files changed

+112
-73
lines changed

3 files changed

+112
-73
lines changed

.github.settings.xml

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<settings>
2+
<servers>
3+
<server>
4+
<id>nexus-snapshots</id>
5+
<username>${env.MAVEN_REPO_USERNAME}</username>
6+
<password>${env.MAVEN_REPO_PASSWORD}</password>
7+
</server>
8+
<server>
9+
<id>nexus-releases</id>
10+
<username>${env.MAVEN_REPO_USERNAME}</username>
11+
<password>${env.MAVEN_REPO_PASSWORD}</password>
12+
</server>
13+
</servers>
14+
</settings>

pom.xml

+98-71
Original file line numberDiff line numberDiff line change
@@ -1,83 +1,110 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<project xmlns="http://maven.apache.org/POM/4.0.0"
3-
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">
4-
<modelVersion>4.0.0</modelVersion>
5-
<!-- Project from https://start.vaadin.com/project/25bb864a-5cfc-4bcc-8a0c-1abc5ff20bd8 -->
6-
<groupId>life.qbic</groupId>
7-
<artifactId>datamanager</artifactId>
8-
<name>Data Manager</name>
9-
<version>1.0-SNAPSHOT</version>
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5+
<modelVersion>4.0.0</modelVersion>
6+
<!-- Project from https://start.vaadin.com/project/25bb864a-5cfc-4bcc-8a0c-1abc5ff20bd8 -->
7+
<groupId>life.qbic</groupId>
8+
<artifactId>datamanager</artifactId>
9+
<name>Data Manager</name>
10+
<version>1.0-SNAPSHOT</version>
1011
<modules>
1112
<module>webapp</module>
1213
<module>domain</module>
1314
</modules>
1415
<packaging>pom</packaging>
1516

16-
<properties>
17-
<java.version>17</java.version>
18-
<vaadin.version>23.0.1</vaadin.version>
19-
</properties>
17+
<properties>
18+
<java.version>17</java.version>
19+
<vaadin.version>23.0.1</vaadin.version>
20+
</properties>
2021

21-
<parent>
22-
<groupId>org.springframework.boot</groupId>
23-
<artifactId>spring-boot-starter-parent</artifactId>
24-
<version>2.6.4</version>
25-
</parent>
22+
<parent>
23+
<groupId>org.springframework.boot</groupId>
24+
<artifactId>spring-boot-starter-parent</artifactId>
25+
<version>2.6.4</version>
26+
</parent>
2627

27-
<repositories>
28-
<!-- The order of definitions matters. Explicitly defining central here to make sure it has the highest priority. -->
29-
30-
<!-- Main Maven repository -->
31-
<repository>
32-
<id>central</id>
33-
<url>https://repo.maven.apache.org/maven2</url>
34-
<snapshots>
35-
<enabled>false</enabled>
36-
</snapshots>
37-
</repository>
38-
<repository>
39-
<id>vaadin-prereleases</id>
40-
<url>
41-
https://maven.vaadin.com/vaadin-prereleases/
42-
</url>
43-
</repository>
44-
<!-- Repository used by many Vaadin add-ons -->
45-
<repository>
46-
<id>Vaadin Directory</id>
47-
<url>https://maven.vaadin.com/vaadin-addons</url>
48-
<snapshots>
49-
<enabled>false</enabled>
50-
</snapshots>
51-
</repository>
52-
</repositories>
53-
54-
<pluginRepositories>
55-
<!-- The order of definitions matters. Explicitly defining central here to make sure it has the highest priority. -->
56-
<pluginRepository>
57-
<id>central</id>
58-
<url>https://repo.maven.apache.org/maven2</url>
59-
<snapshots>
60-
<enabled>false</enabled>
61-
</snapshots>
62-
</pluginRepository>
63-
<pluginRepository>
64-
<id>vaadin-prereleases</id>
65-
<url>
66-
https://maven.vaadin.com/vaadin-prereleases/
67-
</url>
68-
</pluginRepository>
69-
</pluginRepositories>
70-
71-
<dependencyManagement>
72-
<dependencies>
73-
<dependency>
74-
<groupId>com.vaadin</groupId>
75-
<artifactId>vaadin-bom</artifactId>
76-
<version>${vaadin.version}</version>
77-
<type>pom</type>
78-
<scope>import</scope>
79-
</dependency>
80-
</dependencies>
81-
</dependencyManagement>
28+
<repositories>
29+
<!-- The order of definitions matters. Explicitly defining central here to make sure it has the highest priority. -->
30+
<!-- Main Maven repository -->
31+
<repository>
32+
<id>central</id>
33+
<url>https://repo.maven.apache.org/maven2</url>
34+
<snapshots>
35+
<enabled>false</enabled>
36+
</snapshots>
37+
</repository>
38+
<repository>
39+
<id>vaadin-prereleases</id>
40+
<url>
41+
https://maven.vaadin.com/vaadin-prereleases/
42+
</url>
43+
</repository>
44+
<!-- Repository used by many Vaadin add-ons -->
45+
<repository>
46+
<id>Vaadin Directory</id>
47+
<url>https://maven.vaadin.com/vaadin-addons</url>
48+
<snapshots>
49+
<enabled>false</enabled>
50+
</snapshots>
51+
</repository>
52+
<repository>
53+
<id>nexus-snapshots</id>
54+
<name>QBiC Snapshots</name>
55+
<releases>
56+
<enabled>false</enabled>
57+
</releases>
58+
<snapshots>
59+
<checksumPolicy>fail</checksumPolicy>
60+
<enabled>true</enabled>
61+
<updatePolicy>always</updatePolicy>
62+
</snapshots>
63+
<url>https://qbic-repo.qbic.uni-tuebingen.de/repository/maven-snapshots</url>
64+
</repository>
65+
<repository>
66+
<id>nexus-releases</id>
67+
<name>QBiC Releases</name>
68+
<releases>
69+
<checksumPolicy>fail</checksumPolicy>
70+
<enabled>true</enabled>
71+
<updatePolicy>always</updatePolicy>
72+
</releases>
73+
<snapshots>
74+
<enabled>false</enabled>
75+
</snapshots>
76+
<url>https://qbic-repo.qbic.uni-tuebingen.de/repository/maven-releases</url>
77+
</repository>
78+
</repositories>
8279

80+
<pluginRepositories>
81+
<!-- The order of definitions matters. Explicitly defining central here to make sure it has the highest priority. -->
82+
<pluginRepository>
83+
<id>central</id>
84+
<url>https://repo.maven.apache.org/maven2</url>
85+
<snapshots>
86+
<enabled>false</enabled>
87+
</snapshots>
88+
</pluginRepository>
89+
<pluginRepository>
90+
<id>vaadin-prereleases</id>
91+
<url>
92+
https://maven.vaadin.com/vaadin-prereleases/
93+
</url>
94+
</pluginRepository>
95+
</pluginRepositories>
96+
<distributionManagement>
97+
<repository>
98+
<uniqueVersion>true</uniqueVersion>
99+
<id>nexus-releases</id>
100+
<name>QBiC Releases</name>
101+
<url>https://qbic-repo.qbic.uni-tuebingen.de/repository/maven-releases</url>
102+
</repository>
103+
<snapshotRepository>
104+
<uniqueVersion>false</uniqueVersion>
105+
<id>nexus-snapshots</id>
106+
<name>QBiC Snapshots</name>
107+
<url>https://qbic-repo.qbic.uni-tuebingen.de/repository/maven-snapshots</url>
108+
</snapshotRepository>
109+
</distributionManagement>
83110
</project>

webapp/pom.xml

-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
<packaging>jar</packaging>
1010

1111
<properties>
12-
<java.version>17</java.version>
1312
<vaadin.version>23.0.1</vaadin.version>
1413
</properties>
1514

@@ -84,7 +83,6 @@
8483
<dependency>
8584
<groupId>life.qbic</groupId>
8685
<artifactId>domain</artifactId>
87-
<version>1.0-SNAPSHOT</version>
8886
</dependency>
8987
<dependency>
9088
<groupId>com.vaadin</groupId>

0 commit comments

Comments
 (0)