]>
Commit | Line | Data |
---|---|---|
1 | <?xml version="1.0"?> | |
2 | <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" | |
3 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
4 | <modelVersion>4.0.0</modelVersion> | |
5 | ||
6 | <parent> | |
7 | <groupId>net.rizon</groupId> | |
8 | <artifactId>acid</artifactId> | |
9 | <version>4.1-SNAPSHOT</version> | |
10 | </parent> | |
11 | ||
12 | <artifactId>acid-acid</artifactId> | |
13 | <name>Acid Core</name> | |
14 | ||
15 | <properties> | |
16 | <netty.version>4.1.5.Final</netty.version> | |
17 | <slf4j.version>1.7.21</slf4j.version> | |
18 | <logback.version>1.1.7</logback.version> | |
19 | <aether.version>1.1.0</aether.version> | |
20 | <maven.version>3.1.0</maven.version> | |
21 | </properties> | |
22 | ||
23 | <dependencies> | |
24 | <dependency> | |
25 | <groupId>javax.mail</groupId> | |
26 | <artifactId>javax.mail-api</artifactId> | |
27 | <version>1.5.1</version> | |
28 | </dependency> | |
29 | <dependency> | |
30 | <groupId>mysql</groupId> | |
31 | <artifactId>mysql-connector-java</artifactId> | |
32 | <version>5.1.8</version> | |
33 | </dependency> | |
34 | <dependency> | |
35 | <groupId>org.yaml</groupId> | |
36 | <artifactId>snakeyaml</artifactId> | |
37 | <version>1.11</version> | |
38 | </dependency> | |
39 | <dependency> | |
40 | <groupId>com.google.guava</groupId> | |
41 | <artifactId>guava</artifactId> | |
42 | </dependency> | |
43 | ||
44 | <dependency> | |
45 | <groupId>io.netty</groupId> | |
46 | <artifactId>netty-all</artifactId> | |
47 | <version>${netty.version}</version> | |
48 | </dependency> | |
49 | ||
50 | <dependency> | |
51 | <groupId>org.slf4j</groupId> | |
52 | <artifactId>slf4j-api</artifactId> | |
53 | <version>${slf4j.version}</version> | |
54 | </dependency> | |
55 | <dependency> | |
56 | <groupId>ch.qos.logback</groupId> | |
57 | <artifactId>logback-classic</artifactId> | |
58 | <version>${logback.version}</version> | |
59 | </dependency> | |
60 | <dependency> | |
61 | <groupId>ch.qos.logback</groupId> | |
62 | <artifactId>logback-core</artifactId> | |
63 | <version>${logback.version}</version> | |
64 | </dependency> | |
65 | ||
66 | <dependency> | |
67 | <groupId>org.eclipse.aether</groupId> | |
68 | <artifactId>aether-api</artifactId> | |
69 | <version>${aether.version}</version> | |
70 | </dependency> | |
71 | <dependency> | |
72 | <groupId>org.eclipse.aether</groupId> | |
73 | <artifactId>aether-impl</artifactId> | |
74 | <version>${aether.version}</version> | |
75 | </dependency> | |
76 | <dependency> | |
77 | <groupId>org.apache.maven</groupId> | |
78 | <artifactId>maven-aether-provider</artifactId> | |
79 | <version>${maven.version}</version> | |
80 | </dependency> | |
81 | <dependency> | |
82 | <groupId>org.apache.maven</groupId> | |
83 | <artifactId>maven-settings</artifactId> | |
84 | <version>${maven.version}</version> | |
85 | </dependency> | |
86 | <dependency> | |
87 | <groupId>org.apache.maven</groupId> | |
88 | <artifactId>maven-settings-builder</artifactId> | |
89 | <version>${maven.version}</version> | |
90 | </dependency> | |
91 | ||
92 | <dependency> | |
93 | <groupId>junit</groupId> | |
94 | <artifactId>junit</artifactId> | |
95 | <scope>test</scope> | |
96 | </dependency> | |
97 | <dependency> | |
98 | <groupId>org.mockito</groupId> | |
99 | <artifactId>mockito-all</artifactId> | |
100 | <scope>test</scope> | |
101 | </dependency> | |
102 | </dependencies> | |
103 | ||
104 | <build> | |
105 | <plugins> | |
106 | <plugin> | |
107 | <groupId>com.google.code.maven-replacer-plugin</groupId> | |
108 | <artifactId>maven-replacer-plugin</artifactId> | |
109 | <version>1.4.0</version> | |
110 | <executions> | |
111 | <execution> | |
112 | <phase>generate-sources</phase> | |
113 | <goals> | |
114 | <goal>replace</goal> | |
115 | </goals> | |
116 | </execution> | |
117 | </executions> | |
118 | <configuration> | |
119 | <file>src/main/resources/net/rizon/acid/core/Version.java.template</file> | |
120 | <outputFile>src/main/java/net/rizon/acid/core/Version.java</outputFile> | |
121 | <replacements> | |
122 | <replacement> | |
123 | <token>@Git-Tag@</token> | |
124 | <value>${mvngit.tag}</value> | |
125 | </replacement> | |
126 | <replacement> | |
127 | <token>@Git-Revision@</token> | |
128 | <value>${mvngit.commit.id}</value> | |
129 | </replacement> | |
130 | <replacement> | |
131 | <token>@Git-Revision-Short@</token> | |
132 | <value>${mvngit.commit.abbrev}</value> | |
133 | </replacement> | |
134 | <replacement> | |
135 | <token>@Git-Author@</token> | |
136 | <value>${mvngit.commit.author.name}</value> | |
137 | </replacement> | |
138 | <replacement> | |
139 | <token>@Git-Author-Email@</token> | |
140 | <value>${mvngit.commit.author.email}</value> | |
141 | </replacement> | |
142 | <replacement> | |
143 | <token>@Git-Author-Date@</token> | |
144 | <value>${mvngit.commit.author.date}</value> | |
145 | </replacement> | |
146 | <replacement> | |
147 | <token>@Project-Version@</token> | |
148 | <value>${project.version}</value> | |
149 | </replacement> | |
150 | </replacements> | |
151 | </configuration> | |
152 | </plugin> | |
153 | </plugins> | |
154 | </build> | |
155 | ||
156 | <profiles> | |
157 | <profile> | |
158 | <activation> | |
159 | <os> | |
160 | <family>!windows</family> | |
161 | </os> | |
162 | </activation> | |
163 | <build> | |
164 | <plugins> | |
165 | <plugin> | |
166 | <groupId>org.codehaus.mojo</groupId> | |
167 | <artifactId>exec-maven-plugin</artifactId> | |
168 | <version>1.4.0</version> | |
169 | <configuration> | |
170 | <arguments> | |
171 | <argument>-XX:+HeapDumpOnOutOfMemoryError</argument> | |
172 | <argument>-Xmx256M</argument> | |
173 | <argument>-classpath</argument> | |
174 | <classpath/> | |
175 | <argument>net.rizon.acid.core.Acidictive</argument> | |
176 | </arguments> | |
177 | <workingDirectory>${project.basedir}/..</workingDirectory> | |
178 | </configuration> | |
179 | </plugin> | |
180 | </plugins> | |
181 | </build> | |
182 | </profile> | |
183 | </profiles> | |
184 | ||
185 | </project> |