Advertisement
Guest User

Untitled

a guest
Feb 15th, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.15 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <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">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>com.mycompany</groupId>
  5. <artifactId>DatabaseConnection</artifactId>
  6. <version>1.0-SNAPSHOT</version>
  7. <packaging>jar</packaging>
  8.  
  9. <dependencies>
  10. <dependency>
  11.  
  12.  
  13. <groupId>mysql</groupId>
  14. <artifactId>mysql-connector-java</artifactId>
  15. <version>6.0.6</version>
  16.  
  17.  
  18. </dependency>
  19. </dependencies>
  20.  
  21. <!--
  22. <properties>
  23. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  24. <maven.compiler.source>1.8</maven.compiler.source>
  25. <maven.compiler.target>1.8</maven.compiler.target>
  26.  
  27.  
  28.  
  29. <jdbc.url>jdbc:hsqldb:mem:testDB</jdbc.url>
  30. <jdbc.username>SA</jdbc.username>
  31. <jdbc.password></jdbc.password>
  32. <jdbc.driver>org.hsqldb.jdbc.JDBCDriver</jdbc.driver>
  33.  
  34. </properties>
  35. -->
  36. <build>
  37. <resources>
  38. <resource>
  39. <directory>src/main/resources</directory>
  40. <filtering>true</filtering>
  41. </resource>
  42. </resources>
  43. </build>
  44.  
  45. <profiles>
  46. <profile>
  47.  
  48. <id>mysql</id>
  49. <properties>
  50.  
  51. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  52. <maven.compiler.source>1.8</maven.compiler.source>
  53. <maven.compiler.target>1.8</maven.compiler.target>
  54.  
  55. <jdbc.url>jdbc:mysql://mysql.cs.bangor.ac.uk:3306/eeu69c</jdbc.url>
  56. <jdbc.username>eeu69c</jdbc.username>
  57. <jdbc.password>eeu69c</jdbc.password>
  58. <jdbc.driver>com.mysql.jdbc.Driver</jdbc.driver>
  59. </properties>
  60.  
  61. </profile>
  62. </profiles>
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement