Mercurial > dive4elements > river
annotate backend/pom.xml @ 9779:3847836c60b5 3.2.x
Improve backend build for different database backends
Use profiles instead of multiple almost identical POMs.
Introduce build-time argument for Docker build.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Tue, 07 Feb 2023 16:11:43 +0100 |
parents | b57b236c4f4e |
children | 47eee0be5792 |
rev | line source |
---|---|
165
a69b8494fcac
Created a new empty maven project
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
a69b8494fcac
Created a new empty maven project
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
2 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
a69b8494fcac
Created a new empty maven project
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
3 <modelVersion>4.0.0</modelVersion> |
a69b8494fcac
Created a new empty maven project
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
4 |
5830
160f53ee0870
Repaired pom.xml
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5122
diff
changeset
|
5 <groupId>org.dive4elements.river</groupId> |
160f53ee0870
Repaired pom.xml
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5122
diff
changeset
|
6 <artifactId>river-backend</artifactId> |
165
a69b8494fcac
Created a new empty maven project
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
7 <version>1.0-SNAPSHOT</version> |
a69b8494fcac
Created a new empty maven project
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
8 <packaging>jar</packaging> |
a69b8494fcac
Created a new empty maven project
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
9 |
5830
160f53ee0870
Repaired pom.xml
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5122
diff
changeset
|
10 <name>river-backend</name> |
165
a69b8494fcac
Created a new empty maven project
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
11 <url>http://maven.apache.org</url> |
a69b8494fcac
Created a new empty maven project
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
12 |
a69b8494fcac
Created a new empty maven project
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
13 <properties> |
a69b8494fcac
Created a new empty maven project
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
14 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
a69b8494fcac
Created a new empty maven project
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
15 </properties> |
a69b8494fcac
Created a new empty maven project
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
16 |
167
15d515fe15f5
Added POJOs to be mapped to schema.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
166
diff
changeset
|
17 <build> |
15d515fe15f5
Added POJOs to be mapped to schema.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
166
diff
changeset
|
18 <plugins> |
15d515fe15f5
Added POJOs to be mapped to schema.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
166
diff
changeset
|
19 <plugin> |
168
86a1bd9cc50e
More Hibernate/JPA stuff
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
167
diff
changeset
|
20 <groupId>org.apache.maven.plugins</groupId> |
86a1bd9cc50e
More Hibernate/JPA stuff
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
167
diff
changeset
|
21 <artifactId>maven-compiler-plugin</artifactId> |
86a1bd9cc50e
More Hibernate/JPA stuff
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
167
diff
changeset
|
22 <version>2.0.2</version> |
86a1bd9cc50e
More Hibernate/JPA stuff
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
167
diff
changeset
|
23 <configuration> |
9774
823d4afb616c
Update Java compatibility
Tom Gottfried <tom@intevation.de>
parents:
9773
diff
changeset
|
24 <source>1.8</source> |
823d4afb616c
Update Java compatibility
Tom Gottfried <tom@intevation.de>
parents:
9773
diff
changeset
|
25 <target>1.8</target> |
9669
aee871c60599
Ensure the build does not fail due to non-ASCII characters
Tom Gottfried <tom@intevation.de>
parents:
8859
diff
changeset
|
26 <encoding>UTF-8</encoding> |
9773
71188efb16b0
Make compiler more verbose
Tom Gottfried <tom@intevation.de>
parents:
9750
diff
changeset
|
27 <showDeprecation>true</showDeprecation> |
71188efb16b0
Make compiler more verbose
Tom Gottfried <tom@intevation.de>
parents:
9750
diff
changeset
|
28 <showWarnings>true</showWarnings> |
168
86a1bd9cc50e
More Hibernate/JPA stuff
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
167
diff
changeset
|
29 </configuration> |
86a1bd9cc50e
More Hibernate/JPA stuff
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
167
diff
changeset
|
30 </plugin> |
5052
fa600417a335
Use maven jar and maven assemply plugins to create a single jar
Andre Heinecke <aheinecke@intevation.de>
parents:
3951
diff
changeset
|
31 <plugin> |
fa600417a335
Use maven jar and maven assemply plugins to create a single jar
Andre Heinecke <aheinecke@intevation.de>
parents:
3951
diff
changeset
|
32 <groupId>org.apache.maven.plugins</groupId> |
8772
be28bb0c7f50
Force clean dependency management in backend.
Tom Gottfried <tom@intevation.de>
parents:
8771
diff
changeset
|
33 <artifactId>maven-dependency-plugin</artifactId> |
be28bb0c7f50
Force clean dependency management in backend.
Tom Gottfried <tom@intevation.de>
parents:
8771
diff
changeset
|
34 <version>2.10</version> |
be28bb0c7f50
Force clean dependency management in backend.
Tom Gottfried <tom@intevation.de>
parents:
8771
diff
changeset
|
35 <executions> |
be28bb0c7f50
Force clean dependency management in backend.
Tom Gottfried <tom@intevation.de>
parents:
8771
diff
changeset
|
36 <execution> |
be28bb0c7f50
Force clean dependency management in backend.
Tom Gottfried <tom@intevation.de>
parents:
8771
diff
changeset
|
37 <id>analyze</id> |
be28bb0c7f50
Force clean dependency management in backend.
Tom Gottfried <tom@intevation.de>
parents:
8771
diff
changeset
|
38 <goals> |
be28bb0c7f50
Force clean dependency management in backend.
Tom Gottfried <tom@intevation.de>
parents:
8771
diff
changeset
|
39 <goal>analyze-only</goal> |
be28bb0c7f50
Force clean dependency management in backend.
Tom Gottfried <tom@intevation.de>
parents:
8771
diff
changeset
|
40 </goals> |
be28bb0c7f50
Force clean dependency management in backend.
Tom Gottfried <tom@intevation.de>
parents:
8771
diff
changeset
|
41 <configuration> |
be28bb0c7f50
Force clean dependency management in backend.
Tom Gottfried <tom@intevation.de>
parents:
8771
diff
changeset
|
42 <failOnWarning>true</failOnWarning> |
be28bb0c7f50
Force clean dependency management in backend.
Tom Gottfried <tom@intevation.de>
parents:
8771
diff
changeset
|
43 <ignoreNonCompile>true</ignoreNonCompile> |
be28bb0c7f50
Force clean dependency management in backend.
Tom Gottfried <tom@intevation.de>
parents:
8771
diff
changeset
|
44 </configuration> |
be28bb0c7f50
Force clean dependency management in backend.
Tom Gottfried <tom@intevation.de>
parents:
8771
diff
changeset
|
45 </execution> |
be28bb0c7f50
Force clean dependency management in backend.
Tom Gottfried <tom@intevation.de>
parents:
8771
diff
changeset
|
46 </executions> |
be28bb0c7f50
Force clean dependency management in backend.
Tom Gottfried <tom@intevation.de>
parents:
8771
diff
changeset
|
47 </plugin> |
be28bb0c7f50
Force clean dependency management in backend.
Tom Gottfried <tom@intevation.de>
parents:
8771
diff
changeset
|
48 <plugin> |
be28bb0c7f50
Force clean dependency management in backend.
Tom Gottfried <tom@intevation.de>
parents:
8771
diff
changeset
|
49 <groupId>org.apache.maven.plugins</groupId> |
5052
fa600417a335
Use maven jar and maven assemply plugins to create a single jar
Andre Heinecke <aheinecke@intevation.de>
parents:
3951
diff
changeset
|
50 <artifactId>maven-jar-plugin</artifactId> |
9676
faccc67cac1d
Add plugin versions where missing
Tom Gottfried <tom@intevation.de>
parents:
9669
diff
changeset
|
51 <version>2.4</version> |
5052
fa600417a335
Use maven jar and maven assemply plugins to create a single jar
Andre Heinecke <aheinecke@intevation.de>
parents:
3951
diff
changeset
|
52 <configuration> |
fa600417a335
Use maven jar and maven assemply plugins to create a single jar
Andre Heinecke <aheinecke@intevation.de>
parents:
3951
diff
changeset
|
53 <archive> |
fa600417a335
Use maven jar and maven assemply plugins to create a single jar
Andre Heinecke <aheinecke@intevation.de>
parents:
3951
diff
changeset
|
54 <manifest> |
5830
160f53ee0870
Repaired pom.xml
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5122
diff
changeset
|
55 <mainClass>org.dive4elements.river.importer.Importer</mainClass> |
160f53ee0870
Repaired pom.xml
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5122
diff
changeset
|
56 <packageName>org.dive4elements.river.importer</packageName> |
5052
fa600417a335
Use maven jar and maven assemply plugins to create a single jar
Andre Heinecke <aheinecke@intevation.de>
parents:
3951
diff
changeset
|
57 </manifest> |
fa600417a335
Use maven jar and maven assemply plugins to create a single jar
Andre Heinecke <aheinecke@intevation.de>
parents:
3951
diff
changeset
|
58 </archive> |
fa600417a335
Use maven jar and maven assemply plugins to create a single jar
Andre Heinecke <aheinecke@intevation.de>
parents:
3951
diff
changeset
|
59 </configuration> |
fa600417a335
Use maven jar and maven assemply plugins to create a single jar
Andre Heinecke <aheinecke@intevation.de>
parents:
3951
diff
changeset
|
60 </plugin> |
fa600417a335
Use maven jar and maven assemply plugins to create a single jar
Andre Heinecke <aheinecke@intevation.de>
parents:
3951
diff
changeset
|
61 <plugin> |
8675
ae3df0f96e15
Mavenize importer packaging and allow packaging for specific versions and database systems.
Tom Gottfried <tom@intevation.de>
parents:
8502
diff
changeset
|
62 <groupId>org.apache.maven.plugins</groupId> |
ae3df0f96e15
Mavenize importer packaging and allow packaging for specific versions and database systems.
Tom Gottfried <tom@intevation.de>
parents:
8502
diff
changeset
|
63 <artifactId>maven-shade-plugin</artifactId> |
ae3df0f96e15
Mavenize importer packaging and allow packaging for specific versions and database systems.
Tom Gottfried <tom@intevation.de>
parents:
8502
diff
changeset
|
64 <version>2.3</version> |
ae3df0f96e15
Mavenize importer packaging and allow packaging for specific versions and database systems.
Tom Gottfried <tom@intevation.de>
parents:
8502
diff
changeset
|
65 <configuration> |
ae3df0f96e15
Mavenize importer packaging and allow packaging for specific versions and database systems.
Tom Gottfried <tom@intevation.de>
parents:
8502
diff
changeset
|
66 <transformers> |
ae3df0f96e15
Mavenize importer packaging and allow packaging for specific versions and database systems.
Tom Gottfried <tom@intevation.de>
parents:
8502
diff
changeset
|
67 <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> |
ae3df0f96e15
Mavenize importer packaging and allow packaging for specific versions and database systems.
Tom Gottfried <tom@intevation.de>
parents:
8502
diff
changeset
|
68 <mainClass>org.dive4elements.river.importer.Importer</mainClass> |
ae3df0f96e15
Mavenize importer packaging and allow packaging for specific versions and database systems.
Tom Gottfried <tom@intevation.de>
parents:
8502
diff
changeset
|
69 </transformer> |
ae3df0f96e15
Mavenize importer packaging and allow packaging for specific versions and database systems.
Tom Gottfried <tom@intevation.de>
parents:
8502
diff
changeset
|
70 </transformers> |
ae3df0f96e15
Mavenize importer packaging and allow packaging for specific versions and database systems.
Tom Gottfried <tom@intevation.de>
parents:
8502
diff
changeset
|
71 </configuration> |
ae3df0f96e15
Mavenize importer packaging and allow packaging for specific versions and database systems.
Tom Gottfried <tom@intevation.de>
parents:
8502
diff
changeset
|
72 <executions> |
ae3df0f96e15
Mavenize importer packaging and allow packaging for specific versions and database systems.
Tom Gottfried <tom@intevation.de>
parents:
8502
diff
changeset
|
73 <execution> |
ae3df0f96e15
Mavenize importer packaging and allow packaging for specific versions and database systems.
Tom Gottfried <tom@intevation.de>
parents:
8502
diff
changeset
|
74 <phase>package</phase> |
ae3df0f96e15
Mavenize importer packaging and allow packaging for specific versions and database systems.
Tom Gottfried <tom@intevation.de>
parents:
8502
diff
changeset
|
75 <goals> |
ae3df0f96e15
Mavenize importer packaging and allow packaging for specific versions and database systems.
Tom Gottfried <tom@intevation.de>
parents:
8502
diff
changeset
|
76 <goal>shade</goal> |
ae3df0f96e15
Mavenize importer packaging and allow packaging for specific versions and database systems.
Tom Gottfried <tom@intevation.de>
parents:
8502
diff
changeset
|
77 </goals> |
ae3df0f96e15
Mavenize importer packaging and allow packaging for specific versions and database systems.
Tom Gottfried <tom@intevation.de>
parents:
8502
diff
changeset
|
78 </execution> |
ae3df0f96e15
Mavenize importer packaging and allow packaging for specific versions and database systems.
Tom Gottfried <tom@intevation.de>
parents:
8502
diff
changeset
|
79 </executions> |
ae3df0f96e15
Mavenize importer packaging and allow packaging for specific versions and database systems.
Tom Gottfried <tom@intevation.de>
parents:
8502
diff
changeset
|
80 </plugin> |
ae3df0f96e15
Mavenize importer packaging and allow packaging for specific versions and database systems.
Tom Gottfried <tom@intevation.de>
parents:
8502
diff
changeset
|
81 <plugin> |
5052
fa600417a335
Use maven jar and maven assemply plugins to create a single jar
Andre Heinecke <aheinecke@intevation.de>
parents:
3951
diff
changeset
|
82 <artifactId>maven-assembly-plugin</artifactId> |
fa600417a335
Use maven jar and maven assemply plugins to create a single jar
Andre Heinecke <aheinecke@intevation.de>
parents:
3951
diff
changeset
|
83 <configuration> |
8675
ae3df0f96e15
Mavenize importer packaging and allow packaging for specific versions and database systems.
Tom Gottfried <tom@intevation.de>
parents:
8502
diff
changeset
|
84 <descriptors> |
ae3df0f96e15
Mavenize importer packaging and allow packaging for specific versions and database systems.
Tom Gottfried <tom@intevation.de>
parents:
8502
diff
changeset
|
85 <descriptor>src/assembly/assembly.xml</descriptor> |
ae3df0f96e15
Mavenize importer packaging and allow packaging for specific versions and database systems.
Tom Gottfried <tom@intevation.de>
parents:
8502
diff
changeset
|
86 </descriptors> |
5052
fa600417a335
Use maven jar and maven assemply plugins to create a single jar
Andre Heinecke <aheinecke@intevation.de>
parents:
3951
diff
changeset
|
87 </configuration> |
fa600417a335
Use maven jar and maven assemply plugins to create a single jar
Andre Heinecke <aheinecke@intevation.de>
parents:
3951
diff
changeset
|
88 </plugin> |
8859
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
8810
diff
changeset
|
89 <plugin> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
8810
diff
changeset
|
90 <groupId>org.apache.maven.plugins</groupId> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
8810
diff
changeset
|
91 <artifactId>maven-checkstyle-plugin</artifactId> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
8810
diff
changeset
|
92 <version>3.0.0</version> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
8810
diff
changeset
|
93 <configuration> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
8810
diff
changeset
|
94 <configLocation>../checkstyle.xml</configLocation> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
8810
diff
changeset
|
95 <encoding>UTF-8</encoding> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
8810
diff
changeset
|
96 </configuration> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
8810
diff
changeset
|
97 <executions> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
8810
diff
changeset
|
98 <execution> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
8810
diff
changeset
|
99 <id>validate</id> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
8810
diff
changeset
|
100 <phase>validate</phase> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
8810
diff
changeset
|
101 <configuration> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
8810
diff
changeset
|
102 <consoleOutput>true</consoleOutput> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
8810
diff
changeset
|
103 <failsOnError>true</failsOnError> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
8810
diff
changeset
|
104 </configuration> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
8810
diff
changeset
|
105 <goals> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
8810
diff
changeset
|
106 <goal>check</goal> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
8810
diff
changeset
|
107 </goals> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
8810
diff
changeset
|
108 </execution> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
8810
diff
changeset
|
109 </executions> |
0862ea5d66ba
Add Checkstyle configuration.
Tom Gottfried <tom@intevation.de>
parents:
8810
diff
changeset
|
110 </plugin> |
167
15d515fe15f5
Added POJOs to be mapped to schema.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
166
diff
changeset
|
111 </plugins> |
15d515fe15f5
Added POJOs to be mapped to schema.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
166
diff
changeset
|
112 </build> |
15d515fe15f5
Added POJOs to be mapped to schema.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
166
diff
changeset
|
113 |
9750 | 114 <dependencyManagement> |
115 <dependencies> | |
116 <dependency> | |
117 <groupId>org.apache.logging.log4j</groupId> | |
118 <artifactId>log4j-bom</artifactId> | |
119 <version>2.17.1</version> | |
120 <scope>import</scope> | |
121 <type>pom</type> | |
122 </dependency> | |
123 </dependencies> | |
124 </dependencyManagement> | |
125 | |
165
a69b8494fcac
Created a new empty maven project
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
126 <dependencies> |
a69b8494fcac
Created a new empty maven project
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
127 <dependency> |
5835
821a02bbfb4e
Fixed internal java dependencies
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5830
diff
changeset
|
128 <groupId>org.dive4elements</groupId> |
175
7cdac4324609
Added dependency to artifacts-commons to be able to use the global configuration of the artifact database.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
169
diff
changeset
|
129 <artifactId>artifacts-common</artifactId> |
7cdac4324609
Added dependency to artifacts-commons to be able to use the global configuration of the artifact database.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
169
diff
changeset
|
130 <version>1.0-SNAPSHOT</version> |
8502
7f63ad20d4f0
Whitespace-cleanup in XML-files.
"Tom Gottfried <tom@intevation.de>"
parents:
8480
diff
changeset
|
131 </dependency> |
175
7cdac4324609
Added dependency to artifacts-commons to be able to use the global configuration of the artifact database.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
169
diff
changeset
|
132 <dependency> |
8801
dece88059a36
(Issue1856) Exclude ACC 3.1, use 3.2.2 instead.
Tom Gottfried <tom@intevation.de>
parents:
8772
diff
changeset
|
133 <!-- Add less unsave version of transitive hibernate dependency --> |
dece88059a36
(Issue1856) Exclude ACC 3.1, use 3.2.2 instead.
Tom Gottfried <tom@intevation.de>
parents:
8772
diff
changeset
|
134 <groupId>commons-collections</groupId> |
dece88059a36
(Issue1856) Exclude ACC 3.1, use 3.2.2 instead.
Tom Gottfried <tom@intevation.de>
parents:
8772
diff
changeset
|
135 <artifactId>commons-collections</artifactId> |
dece88059a36
(Issue1856) Exclude ACC 3.1, use 3.2.2 instead.
Tom Gottfried <tom@intevation.de>
parents:
8772
diff
changeset
|
136 <version>3.2.2</version> |
dece88059a36
(Issue1856) Exclude ACC 3.1, use 3.2.2 instead.
Tom Gottfried <tom@intevation.de>
parents:
8772
diff
changeset
|
137 <scope>runtime</scope> |
dece88059a36
(Issue1856) Exclude ACC 3.1, use 3.2.2 instead.
Tom Gottfried <tom@intevation.de>
parents:
8772
diff
changeset
|
138 </dependency> |
dece88059a36
(Issue1856) Exclude ACC 3.1, use 3.2.2 instead.
Tom Gottfried <tom@intevation.de>
parents:
8772
diff
changeset
|
139 <dependency> |
166
56eb8f1b42cf
Added dependency Hibernate Core 3.6.1 Final
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
165
diff
changeset
|
140 <groupId>org.hibernate</groupId> |
56eb8f1b42cf
Added dependency Hibernate Core 3.6.1 Final
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
165
diff
changeset
|
141 <artifactId>hibernate-core</artifactId> |
8480 | 142 <version>3.6.10.Final</version> |
8801
dece88059a36
(Issue1856) Exclude ACC 3.1, use 3.2.2 instead.
Tom Gottfried <tom@intevation.de>
parents:
8772
diff
changeset
|
143 <exclusions> |
dece88059a36
(Issue1856) Exclude ACC 3.1, use 3.2.2 instead.
Tom Gottfried <tom@intevation.de>
parents:
8772
diff
changeset
|
144 <!-- exclude unsafe transitive dependency --> |
dece88059a36
(Issue1856) Exclude ACC 3.1, use 3.2.2 instead.
Tom Gottfried <tom@intevation.de>
parents:
8772
diff
changeset
|
145 <exclusion> |
dece88059a36
(Issue1856) Exclude ACC 3.1, use 3.2.2 instead.
Tom Gottfried <tom@intevation.de>
parents:
8772
diff
changeset
|
146 <groupId>commons-collections</groupId> |
dece88059a36
(Issue1856) Exclude ACC 3.1, use 3.2.2 instead.
Tom Gottfried <tom@intevation.de>
parents:
8772
diff
changeset
|
147 <artifactId>commons-collections</artifactId> |
dece88059a36
(Issue1856) Exclude ACC 3.1, use 3.2.2 instead.
Tom Gottfried <tom@intevation.de>
parents:
8772
diff
changeset
|
148 </exclusion> |
dece88059a36
(Issue1856) Exclude ACC 3.1, use 3.2.2 instead.
Tom Gottfried <tom@intevation.de>
parents:
8772
diff
changeset
|
149 </exclusions> |
168
86a1bd9cc50e
More Hibernate/JPA stuff
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
167
diff
changeset
|
150 </dependency> |
86a1bd9cc50e
More Hibernate/JPA stuff
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
167
diff
changeset
|
151 <dependency> |
8771
2bba7f551225
Cleanup backend dependencies.
Tom Gottfried <tom@intevation.de>
parents:
8763
diff
changeset
|
152 <groupId>org.hibernate.javax.persistence</groupId> |
2bba7f551225
Cleanup backend dependencies.
Tom Gottfried <tom@intevation.de>
parents:
8763
diff
changeset
|
153 <artifactId>hibernate-jpa-2.0-api</artifactId> |
2bba7f551225
Cleanup backend dependencies.
Tom Gottfried <tom@intevation.de>
parents:
8763
diff
changeset
|
154 <version>1.0.1.Final</version> |
168
86a1bd9cc50e
More Hibernate/JPA stuff
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
167
diff
changeset
|
155 </dependency> |
9750 | 156 |
157 <!-- Logging --> | |
168
86a1bd9cc50e
More Hibernate/JPA stuff
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
167
diff
changeset
|
158 <dependency> |
9726 | 159 <groupId>org.apache.logging.log4j</groupId> |
160 <artifactId>log4j-api</artifactId> | |
161 </dependency> | |
162 <dependency> | |
163 <groupId>org.apache.logging.log4j</groupId> | |
164 <artifactId>log4j-core</artifactId> | |
165 <scope>runtime</scope> | |
168
86a1bd9cc50e
More Hibernate/JPA stuff
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
167
diff
changeset
|
166 </dependency> |
86a1bd9cc50e
More Hibernate/JPA stuff
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
167
diff
changeset
|
167 <dependency> |
9750 | 168 <groupId>org.apache.logging.log4j</groupId> |
169 <artifactId>log4j-slf4j-impl</artifactId> | |
170 <scope>runtime</scope> | |
171 </dependency> | |
172 <dependency> | |
173 <groupId>org.apache.logging.log4j</groupId> | |
174 <artifactId>log4j-jul</artifactId> | |
175 <scope>runtime</scope> | |
176 </dependency> | |
177 | |
178 <dependency> | |
8763 | 179 <groupId>org.apache.commons</groupId> |
180 <artifactId>commons-dbcp2</artifactId> | |
181 <version>2.1.1</version> | |
166
56eb8f1b42cf
Added dependency Hibernate Core 3.6.1 Final
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
165
diff
changeset
|
182 </dependency> |
169
7929f4144d2f
Bound Apache Commons DBCP with Hibernate.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
168
diff
changeset
|
183 <dependency> |
8771
2bba7f551225
Cleanup backend dependencies.
Tom Gottfried <tom@intevation.de>
parents:
8763
diff
changeset
|
184 <groupId>com.vividsolutions</groupId> |
2bba7f551225
Cleanup backend dependencies.
Tom Gottfried <tom@intevation.de>
parents:
8763
diff
changeset
|
185 <artifactId>jts</artifactId> |
2bba7f551225
Cleanup backend dependencies.
Tom Gottfried <tom@intevation.de>
parents:
8763
diff
changeset
|
186 <version>1.11</version> |
2bba7f551225
Cleanup backend dependencies.
Tom Gottfried <tom@intevation.de>
parents:
8763
diff
changeset
|
187 </dependency> |
9779
3847836c60b5
Improve backend build for different database backends
Tom Gottfried <tom@intevation.de>
parents:
9778
diff
changeset
|
188 </dependencies> |
3847836c60b5
Improve backend build for different database backends
Tom Gottfried <tom@intevation.de>
parents:
9778
diff
changeset
|
189 |
3847836c60b5
Improve backend build for different database backends
Tom Gottfried <tom@intevation.de>
parents:
9778
diff
changeset
|
190 <profiles> |
3847836c60b5
Improve backend build for different database backends
Tom Gottfried <tom@intevation.de>
parents:
9778
diff
changeset
|
191 <!-- Build with support for PostgreSQL/PostGIS by default --> |
3847836c60b5
Improve backend build for different database backends
Tom Gottfried <tom@intevation.de>
parents:
9778
diff
changeset
|
192 <profile> |
3847836c60b5
Improve backend build for different database backends
Tom Gottfried <tom@intevation.de>
parents:
9778
diff
changeset
|
193 <id>postgis</id> |
3847836c60b5
Improve backend build for different database backends
Tom Gottfried <tom@intevation.de>
parents:
9778
diff
changeset
|
194 <activation> |
3847836c60b5
Improve backend build for different database backends
Tom Gottfried <tom@intevation.de>
parents:
9778
diff
changeset
|
195 <activeByDefault>true</activeByDefault> |
3847836c60b5
Improve backend build for different database backends
Tom Gottfried <tom@intevation.de>
parents:
9778
diff
changeset
|
196 </activation> |
3847836c60b5
Improve backend build for different database backends
Tom Gottfried <tom@intevation.de>
parents:
9778
diff
changeset
|
197 <dependencies> |
3847836c60b5
Improve backend build for different database backends
Tom Gottfried <tom@intevation.de>
parents:
9778
diff
changeset
|
198 <dependency> |
3847836c60b5
Improve backend build for different database backends
Tom Gottfried <tom@intevation.de>
parents:
9778
diff
changeset
|
199 <!-- overwrite dependency of postgis-jdbc --> |
3847836c60b5
Improve backend build for different database backends
Tom Gottfried <tom@intevation.de>
parents:
9778
diff
changeset
|
200 <groupId>org.postgresql</groupId> |
8810
dbdb7c9bd51b
Upgrade to new PostgreSQL JDBC-driver.
Tom Gottfried <tom@intevation.de>
parents:
8801
diff
changeset
|
201 <artifactId>postgresql</artifactId> |
9779
3847836c60b5
Improve backend build for different database backends
Tom Gottfried <tom@intevation.de>
parents:
9778
diff
changeset
|
202 <version>42.0.0.jre7</version> |
3847836c60b5
Improve backend build for different database backends
Tom Gottfried <tom@intevation.de>
parents:
9778
diff
changeset
|
203 <scope>runtime</scope> |
3847836c60b5
Improve backend build for different database backends
Tom Gottfried <tom@intevation.de>
parents:
9778
diff
changeset
|
204 </dependency> |
3847836c60b5
Improve backend build for different database backends
Tom Gottfried <tom@intevation.de>
parents:
9778
diff
changeset
|
205 <dependency> |
3847836c60b5
Improve backend build for different database backends
Tom Gottfried <tom@intevation.de>
parents:
9778
diff
changeset
|
206 <groupId>org.postgis</groupId> |
3847836c60b5
Improve backend build for different database backends
Tom Gottfried <tom@intevation.de>
parents:
9778
diff
changeset
|
207 <artifactId>postgis-jdbc</artifactId> |
3847836c60b5
Improve backend build for different database backends
Tom Gottfried <tom@intevation.de>
parents:
9778
diff
changeset
|
208 <version>1.3.3</version> |
3847836c60b5
Improve backend build for different database backends
Tom Gottfried <tom@intevation.de>
parents:
9778
diff
changeset
|
209 <scope>runtime</scope> |
3847836c60b5
Improve backend build for different database backends
Tom Gottfried <tom@intevation.de>
parents:
9778
diff
changeset
|
210 <exclusions> |
3847836c60b5
Improve backend build for different database backends
Tom Gottfried <tom@intevation.de>
parents:
9778
diff
changeset
|
211 <exclusion> |
3847836c60b5
Improve backend build for different database backends
Tom Gottfried <tom@intevation.de>
parents:
9778
diff
changeset
|
212 <groupId>postgresql</groupId> |
3847836c60b5
Improve backend build for different database backends
Tom Gottfried <tom@intevation.de>
parents:
9778
diff
changeset
|
213 <artifactId>postgresql</artifactId> |
3847836c60b5
Improve backend build for different database backends
Tom Gottfried <tom@intevation.de>
parents:
9778
diff
changeset
|
214 </exclusion> |
3847836c60b5
Improve backend build for different database backends
Tom Gottfried <tom@intevation.de>
parents:
9778
diff
changeset
|
215 </exclusions> |
3847836c60b5
Improve backend build for different database backends
Tom Gottfried <tom@intevation.de>
parents:
9778
diff
changeset
|
216 </dependency> |
3847836c60b5
Improve backend build for different database backends
Tom Gottfried <tom@intevation.de>
parents:
9778
diff
changeset
|
217 <dependency> |
3847836c60b5
Improve backend build for different database backends
Tom Gottfried <tom@intevation.de>
parents:
9778
diff
changeset
|
218 <groupId>org.hibernatespatial</groupId> |
3847836c60b5
Improve backend build for different database backends
Tom Gottfried <tom@intevation.de>
parents:
9778
diff
changeset
|
219 <artifactId>hibernate-spatial-postgis</artifactId> |
3847836c60b5
Improve backend build for different database backends
Tom Gottfried <tom@intevation.de>
parents:
9778
diff
changeset
|
220 <version>1.1.1</version> |
3847836c60b5
Improve backend build for different database backends
Tom Gottfried <tom@intevation.de>
parents:
9778
diff
changeset
|
221 <scope>runtime</scope> |
3847836c60b5
Improve backend build for different database backends
Tom Gottfried <tom@intevation.de>
parents:
9778
diff
changeset
|
222 </dependency> |
3847836c60b5
Improve backend build for different database backends
Tom Gottfried <tom@intevation.de>
parents:
9778
diff
changeset
|
223 </dependencies> |
3847836c60b5
Improve backend build for different database backends
Tom Gottfried <tom@intevation.de>
parents:
9778
diff
changeset
|
224 </profile> |
3847836c60b5
Improve backend build for different database backends
Tom Gottfried <tom@intevation.de>
parents:
9778
diff
changeset
|
225 |
3847836c60b5
Improve backend build for different database backends
Tom Gottfried <tom@intevation.de>
parents:
9778
diff
changeset
|
226 <!-- Build with Oracle support by setting environment variable ORACLE=true --> |
3847836c60b5
Improve backend build for different database backends
Tom Gottfried <tom@intevation.de>
parents:
9778
diff
changeset
|
227 <profile> |
3847836c60b5
Improve backend build for different database backends
Tom Gottfried <tom@intevation.de>
parents:
9778
diff
changeset
|
228 <id>oracle</id> |
3847836c60b5
Improve backend build for different database backends
Tom Gottfried <tom@intevation.de>
parents:
9778
diff
changeset
|
229 <activation> |
3847836c60b5
Improve backend build for different database backends
Tom Gottfried <tom@intevation.de>
parents:
9778
diff
changeset
|
230 <property> |
3847836c60b5
Improve backend build for different database backends
Tom Gottfried <tom@intevation.de>
parents:
9778
diff
changeset
|
231 <name>env.ORACLE</name> |
3847836c60b5
Improve backend build for different database backends
Tom Gottfried <tom@intevation.de>
parents:
9778
diff
changeset
|
232 <value>true</value> |
3847836c60b5
Improve backend build for different database backends
Tom Gottfried <tom@intevation.de>
parents:
9778
diff
changeset
|
233 </property> |
3847836c60b5
Improve backend build for different database backends
Tom Gottfried <tom@intevation.de>
parents:
9778
diff
changeset
|
234 </activation> |
3847836c60b5
Improve backend build for different database backends
Tom Gottfried <tom@intevation.de>
parents:
9778
diff
changeset
|
235 <dependencies> |
3847836c60b5
Improve backend build for different database backends
Tom Gottfried <tom@intevation.de>
parents:
9778
diff
changeset
|
236 <dependency> |
3847836c60b5
Improve backend build for different database backends
Tom Gottfried <tom@intevation.de>
parents:
9778
diff
changeset
|
237 <groupId>org.hibernatespatial</groupId> |
3847836c60b5
Improve backend build for different database backends
Tom Gottfried <tom@intevation.de>
parents:
9778
diff
changeset
|
238 <artifactId>hibernate-spatial-oracle</artifactId> |
3847836c60b5
Improve backend build for different database backends
Tom Gottfried <tom@intevation.de>
parents:
9778
diff
changeset
|
239 <version>1.1.1</version> |
3847836c60b5
Improve backend build for different database backends
Tom Gottfried <tom@intevation.de>
parents:
9778
diff
changeset
|
240 <scope>runtime</scope> |
3847836c60b5
Improve backend build for different database backends
Tom Gottfried <tom@intevation.de>
parents:
9778
diff
changeset
|
241 </dependency> |
3847836c60b5
Improve backend build for different database backends
Tom Gottfried <tom@intevation.de>
parents:
9778
diff
changeset
|
242 <dependency> |
3847836c60b5
Improve backend build for different database backends
Tom Gottfried <tom@intevation.de>
parents:
9778
diff
changeset
|
243 <groupId>com.oracle.database.jdbc</groupId> |
3847836c60b5
Improve backend build for different database backends
Tom Gottfried <tom@intevation.de>
parents:
9778
diff
changeset
|
244 <artifactId>ojdbc8</artifactId> |
3847836c60b5
Improve backend build for different database backends
Tom Gottfried <tom@intevation.de>
parents:
9778
diff
changeset
|
245 <version>[19,20)</version> |
3847836c60b5
Improve backend build for different database backends
Tom Gottfried <tom@intevation.de>
parents:
9778
diff
changeset
|
246 <scope>runtime</scope> |
3847836c60b5
Improve backend build for different database backends
Tom Gottfried <tom@intevation.de>
parents:
9778
diff
changeset
|
247 </dependency> |
3847836c60b5
Improve backend build for different database backends
Tom Gottfried <tom@intevation.de>
parents:
9778
diff
changeset
|
248 </dependencies> |
3847836c60b5
Improve backend build for different database backends
Tom Gottfried <tom@intevation.de>
parents:
9778
diff
changeset
|
249 </profile> |
3847836c60b5
Improve backend build for different database backends
Tom Gottfried <tom@intevation.de>
parents:
9778
diff
changeset
|
250 </profiles> |
166
56eb8f1b42cf
Added dependency Hibernate Core 3.6.1 Final
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
165
diff
changeset
|
251 |
56eb8f1b42cf
Added dependency Hibernate Core 3.6.1 Final
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
165
diff
changeset
|
252 <repositories> |
56eb8f1b42cf
Added dependency Hibernate Core 3.6.1 Final
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
165
diff
changeset
|
253 <repository> |
1230
e2deda3b77a7
Introduced support for FLYS spatial data.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1228
diff
changeset
|
254 <id>Hibernate Spatial repo</id> |
e2deda3b77a7
Introduced support for FLYS spatial data.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1228
diff
changeset
|
255 <url>http://www.hibernatespatial.org/repository</url> |
e2deda3b77a7
Introduced support for FLYS spatial data.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1228
diff
changeset
|
256 </repository> |
166
56eb8f1b42cf
Added dependency Hibernate Core 3.6.1 Final
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
165
diff
changeset
|
257 </repositories> |
165
a69b8494fcac
Created a new empty maven project
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
258 </project> |