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