- <artifactId>maven-compiler-plugin</artifactId>
- <configuration>
- <source>1.5</source>
- <target>1.5</target>
- </configuration>
- </plugin>
- <plugin>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <includes>
- <include>**/*Test.java</include>
- </includes>
- <systemProperties>
- <property>
- <name>hibernate.connection.driver_class</name>
- <value>${hibernate.connection.driver_class}</value>
- </property>
- <property>
- <name>hibernate.connection.url</name>
- <value>${hibernate.connection.url}</value>
- </property>
- <property>
- <name>hibernate.connection.username</name>
- <value>${hibernate.connection.username}</value>
- </property>
- <property>
- <name>hibernate.connection.password</name>
- <value>${hibernate.connection.password}</value>
- </property>
- </systemProperties>
- </configuration>
- </plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>2.3.2</version>
+ <configuration>
+ <source>1.6</source>
+ <target>1.6</target>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <version>2.6</version>
+ <configuration>
+ <includes>
+ <include>**/*Test.java</include>
+ </includes>
+ <systemPropertyVariables>
+ <property>
+ <name>hibernate.connection.driver_class</name>
+ <value>${hibernate.connection.driver_class}</value>
+ </property>
+ <property>
+ <name>hibernate.connection.url</name>
+ <value>${hibernate.connection.url}</value>
+ </property>
+ <property>
+ <name>hibernate.connection.username</name>
+ <value>${hibernate.connection.username}</value>
+ </property>
+ <property>
+ <name>hibernate.connection.password</name>
+ <value>${hibernate.connection.password}</value>
+ </property>
+ </systemPropertyVariables>
+ </configuration>
+ </plugin>