-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpom.xml
More file actions
172 lines (163 loc) · 6.04 KB
/
pom.xml
File metadata and controls
172 lines (163 loc) · 6.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
<?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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.nablarch.tool</groupId>
<artifactId>sql-executor</artifactId>
<version>1.3.1</version>
<packaging>jar</packaging>
<scm>
<connection>scm:git:git://github.com/nablarch/${project.artifactId}.git</connection>
<developerConnection>scm:git:git://github.com/nablarch/${project.artifactId}.git</developerConnection>
<url>https://github.com/nablarch/${project.artifactId}/tree/master</url>
</scm>
<parent>
<groupId>com.nablarch</groupId>
<artifactId>nablarch-parent</artifactId>
<version>5u25</version>
</parent>
<!--
以下は本ツールの開発時に実行しているCI向けのprofileである(ツール利用時には不要であるため削除してもよい)。
本ツールはNablarch 5をベースに作成されている。Nablarch 6が既にリリースされいるが開発環境で利用するツールであることから、無理にマイグレーションを行っていない。
ただし、Nablarch 6をベースとしたアプリケーションの開発にも使用できるよう、動作確認対象のDBはNablarch 6に合わせている。
CIで使用する各DB用のprofileはnablarch-parentに定義されているが、本ツールでは上記の通りNablarch 5のnablarch-parentを親としているため、profileが不足している。
以下は不足しているprofileを利用するために定義している。
-->
<profiles>
<profile>
<id>postgres174</id>
<dependencies>
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<version>42.7.2</version>
<scope>test</scope>
</dependency>
</dependencies>
<properties>
<junit.additionalArgLine.db-profile>-Ddb-profile=postgres174</junit.additionalArgLine.db-profile>
</properties>
</profile>
<profile>
<id>db2121</id>
<dependencies>
<dependency>
<groupId>com.ibm.db2</groupId>
<artifactId>jcc</artifactId>
<version>12.1.0.0</version>
<scope>test</scope>
</dependency>
</dependencies>
<properties>
<junit.additionalArgLine.db-profile>-Ddb-profile=db2121</junit.additionalArgLine.db-profile>
</properties>
</profile>
</profiles>
<dependencies>
<dependency>
<groupId>com.nablarch.profile</groupId>
<artifactId>nablarch-all-in-one</artifactId>
</dependency>
<dependency>
<groupId>com.nablarch.configuration</groupId>
<artifactId>nablarch-main-default-configuration</artifactId>
</dependency>
<dependency>
<groupId>com.nablarch.framework</groupId>
<artifactId>nablarch-testing</artifactId>
</dependency>
<dependency>
<groupId>com.nablarch.framework</groupId>
<artifactId>nablarch-testing-jetty9</artifactId>
</dependency>
<dependency>
<groupId>com.nablarch.framework</groupId>
<artifactId>nablarch-backward-compatibility</artifactId>
</dependency>
<dependency>
<groupId>commons-dbcp</groupId>
<artifactId>commons-dbcp</artifactId>
<version>1.4</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>com.nablarch.dev</groupId>
<artifactId>nablarch-test-support</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13.1</version>
<scope>test</scope>
</dependency>
<!-- 使用するRDBMSにあわせて、下記JDBCドライバの dependency を更新してください。 -->
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<scope>runtime</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.2.1</version>
<configuration>
<mainClass>nablarch.fw.launcher.Main</mainClass>
<arguments>
<argument>-diConfig</argument>
<argument>classpath:config.xml</argument>
<argument>-requestPath</argument>
<argument>nse</argument>
<argument>-userId</argument>
<argument>testUser</argument>
<argument>-g</argument>
</arguments>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>3.1.1</version>
<executions>
<!-- jarを生成する -->
<execution>
<id>make-executable-jar</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<finalName>${project.artifactId}</finalName>
<appendAssemblyId>false</appendAssemblyId>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
<archive>
<manifest>
<mainClass>nablarch.fw.launcher.Main</mainClass>
</manifest>
</archive>
</configuration>
</execution>
<!-- jar, batが含まれたzipを生成する -->
<execution>
<id>make-zip</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<finalName>${project.artifactId}</finalName>
<descriptors>
<descriptor>src/assembly/distribution.xml</descriptor>
</descriptors>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>