git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@69300 d1611594-4594-4d17-8e1d-87c2c4800839
master
edgar 2017-05-25 17:14:52 +00:00
parent dfda2b19e0
commit 6413275d1f
1 changed files with 89 additions and 45 deletions

46
pom.xml
View File

@ -1,9 +1,34 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" <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/xsd/maven-4.0.0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>br.com.rjconsultores</groupId> <groupId>br.com.rjconsultores</groupId>
<artifactId>Flyway</artifactId> <artifactId>Flyway</artifactId>
<version>0.0.1-SNAPSHOT</version> <version>0.0.1-SNAPSHOT</version>
<profiles>
<profile>
<id>local</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<database.host>jdbc:oracle:thin:@192.168.0.164:1521:ORCL</database.host>
<database.user>vtabol</database.user>
<database.password>vtax05</database.password>
</properties>
</profile>
<profile>
<id>guana_teste</id>
<properties>
<database.host>jdbc:oracle:thin:@192.168.0.164:1521:GUANA</database.host>
<database.user>vtabol</database.user>
<database.password>vtax05</database.password>
</properties>
</profile>
</profiles>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>log4j</groupId> <groupId>log4j</groupId>
@ -20,6 +45,11 @@
<artifactId>servlet-api</artifactId> <artifactId>servlet-api</artifactId>
<version>2.5</version> <version>2.5</version>
</dependency> </dependency>
<dependency>
<groupId>br.com.rjconsultores</groupId>
<artifactId>ojdbc14</artifactId>
<version>1.0</version>
</dependency>
</dependencies> </dependencies>
<build> <build>
<sourceDirectory>src</sourceDirectory> <sourceDirectory>src</sourceDirectory>
@ -40,6 +70,20 @@
<target>1.6</target> <target>1.6</target>
</configuration> </configuration>
</plugin> </plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.6.0</version>
<configuration>
<mainClass>com.rjconsultores.ventaboletos.RunFlyway</mainClass>
<systemProperties>
<systemProperty><key>database.host</key><value>${database.host}</value></systemProperty>
<systemProperty><key>database.user</key><value>${database.user}</value></systemProperty>
<systemProperty><key>database.password</key><value>${database.password}</value></systemProperty>
</systemProperties>
</configuration>
</plugin>
</plugins> </plugins>
<finalName>${project.artifactId}</finalName> <finalName>${project.artifactId}</finalName>
</build> </build>