Created
January 22, 2018 05:26
-
-
Save darbyluv2code/ce99f1f7103ee957e4f15100a0e09445 to your computer and use it in GitHub Desktop.
Do you already have a pom.xml file that I can use with Maven?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <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"> | |
| <modelVersion>4.0.0</modelVersion> | |
| <groupId>spring-hibernate-for-beginners</groupId> | |
| <artifactId>spring-demo-app</artifactId> | |
| <version>1.0.0</version> | |
| <packaging>jar</packaging> | |
| <properties> | |
| <springframework.version>5.0.2.RELEASE</springframework.version> | |
| </properties> | |
| <dependencies> | |
| <!-- Spring --> | |
| <dependency> | |
| <groupId>org.springframework</groupId> | |
| <artifactId>spring-context</artifactId> | |
| <version>${springframework.version}</version> | |
| </dependency> | |
| </dependencies> | |
| <build> | |
| <finalName>spring-demo-app</finalName> | |
| <plugins> | |
| <!-- The Compiler Plugin is used to compile the sources of your project. --> | |
| <plugin> | |
| <artifactId>maven-compiler-plugin</artifactId> | |
| <version>3.6.0</version> | |
| <configuration> | |
| <source>1.8</source> | |
| <target>1.8</target> | |
| </configuration> | |
| </plugin> | |
| </plugins> | |
| </build> | |
| </project> | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <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"> | |
| <modelVersion>4.0.0</modelVersion> | |
| <groupId>spring-hibernate-for-beginners</groupId> | |
| <artifactId>spring-web-customer-tracker</artifactId> | |
| <version>1.0.0</version> | |
| <packaging>war</packaging> | |
| <properties> | |
| <springframework.version>5.0.2.RELEASE</springframework.version> | |
| <hibernate.version>5.2.12.Final</hibernate.version> | |
| <mysql.connector.version>5.1.45</mysql.connector.version> | |
| </properties> | |
| <dependencies> | |
| <!-- Spring --> | |
| <dependency> | |
| <groupId>org.springframework</groupId> | |
| <artifactId>spring-webmvc</artifactId> | |
| <version>${springframework.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.springframework</groupId> | |
| <artifactId>spring-tx</artifactId> | |
| <version>${springframework.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.springframework</groupId> | |
| <artifactId>spring-orm</artifactId> | |
| <version>${springframework.version}</version> | |
| </dependency> | |
| <!-- Hibernate --> | |
| <dependency> | |
| <groupId>org.hibernate</groupId> | |
| <artifactId>hibernate-core</artifactId> | |
| <version>${hibernate.version}</version> | |
| </dependency> | |
| <!-- MySQL --> | |
| <dependency> | |
| <groupId>mysql</groupId> | |
| <artifactId>mysql-connector-java</artifactId> | |
| <version>${mysql.connector.version}</version> | |
| </dependency> | |
| <!-- C3PO --> | |
| <dependency> | |
| <groupId>com.mchange</groupId> | |
| <artifactId>c3p0</artifactId> | |
| <version>0.9.5.2</version> | |
| </dependency> | |
| <!-- Servlet+JSP+JSTL --> | |
| <dependency> | |
| <groupId>javax.servlet</groupId> | |
| <artifactId>javax.servlet-api</artifactId> | |
| <version>3.1.0</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>javax.servlet.jsp</groupId> | |
| <artifactId>javax.servlet.jsp-api</artifactId> | |
| <version>2.3.1</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>javax.servlet</groupId> | |
| <artifactId>jstl</artifactId> | |
| <version>1.2</version> | |
| </dependency> | |
| </dependencies> | |
| <build> | |
| <finalName>spring-web-customer-tracker</finalName> | |
| <plugins> | |
| <!-- The Compiler Plugin is used to compile the sources of your project. --> | |
| <plugin> | |
| <artifactId>maven-compiler-plugin</artifactId> | |
| <version>3.6.0</version> | |
| <configuration> | |
| <source>1.8</source> | |
| <target>1.8</target> | |
| </configuration> | |
| </plugin> | |
| <!-- Builds a Web Application Archive (WAR) file from the project output and its dependencies. --> | |
| <plugin> | |
| <artifactId>maven-war-plugin</artifactId> | |
| <version>3.2.0</version> | |
| </plugin> | |
| </plugins> | |
| </build> | |
| </project> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment