]> jfr.im git - irc/rizon/acid.git/blobdiff - acid/pom.xml
conf: add validator for double
[irc/rizon/acid.git] / acid / pom.xml
index 1ff37be61b287a063dbe52f275c7d5dd6f256218..5ad1bab8c0e9c9edf3f41009ffe624cac26c3300 100644 (file)
@@ -29,7 +29,7 @@
                <dependency>
                        <groupId>mysql</groupId>
                        <artifactId>mysql-connector-java</artifactId>
-                       <version>5.1.8</version>
+                       <version>5.1.49</version>
                </dependency>
                <dependency>
                        <groupId>org.yaml</groupId>
@@ -39,7 +39,6 @@
                <dependency>
                        <groupId>com.google.guava</groupId>
                        <artifactId>guava</artifactId>
-                       <version>19.0</version>
                </dependency>
 
                <dependency>
                        <artifactId>maven-aether-provider</artifactId>
                        <version>${maven.version}</version>
                </dependency>
+               <dependency>
+                       <groupId>org.apache.maven</groupId>
+                       <artifactId>maven-settings</artifactId>
+                       <version>${maven.version}</version>
+               </dependency>
+               <dependency>
+                       <groupId>org.apache.maven</groupId>
+                       <artifactId>maven-settings-builder</artifactId>
+                       <version>${maven.version}</version>
+               </dependency>
 
                <dependency>
                        <groupId>junit</groupId>
                        <artifactId>junit</artifactId>
-                       <version>4.11</version>
+                       <scope>test</scope>
+               </dependency>
+               <dependency>
+                       <groupId>org.mockito</groupId>
+                       <artifactId>mockito-all</artifactId>
                        <scope>test</scope>
                </dependency>
        </dependencies>
 
        <build>
                <plugins>
-                       <plugin>
-                               <artifactId>maven-assembly-plugin</artifactId>
-                               <configuration>
-                                       <archive>
-                                               <manifest>
-                                                       <mainClass>net.rizon.acid.core.Acidictive</mainClass>
-                                               </manifest>
-                                               <manifestEntries>
-                                                       <Author>Adam &lt;Adam@rizon.net&gt;</Author>
-                                               </manifestEntries>
-                                       </archive>
-                                       <descriptorRefs>
-                                               <descriptorRef>jar-with-dependencies</descriptorRef>
-                                       </descriptorRefs>
-                               </configuration>
-                               <executions>
-                                       <execution>
-                                               <phase>package</phase>
-                                               <goals>
-                                                       <goal>single</goal>
-                                               </goals>
-                                       </execution>
-                               </executions>
-                       </plugin>
                        <plugin>
                                <groupId>com.google.code.maven-replacer-plugin</groupId>
                                <artifactId>maven-replacer-plugin</artifactId>
                        </plugin>
                </plugins>
        </build>
+
+       <profiles>
+               <profile>
+                       <activation>
+                               <os>
+                                       <family>!windows</family>
+                               </os>
+                       </activation>
+                       <build>
+                               <plugins>
+                                       <plugin>
+                                               <groupId>org.codehaus.mojo</groupId>
+                                               <artifactId>exec-maven-plugin</artifactId>
+                                               <version>1.4.0</version>
+                                               <configuration>
+                                                       <arguments>
+                                                               <argument>-XX:+HeapDumpOnOutOfMemoryError</argument>
+                                                               <argument>-Xmx256M</argument>
+                                                               <argument>-classpath</argument>
+                                                               <classpath/>
+                                                               <argument>net.rizon.acid.core.Acidictive</argument>
+                                                       </arguments>
+                                                       <workingDirectory>${project.basedir}/..</workingDirectory>
+                                               </configuration>
+                                       </plugin>
+                               </plugins>
+                       </build>
+               </profile>
+       </profiles>
+
 </project>