Home  >  Article  >  Web Front-end  >  Using the Maven configuration file pom.xml

Using the Maven configuration file pom.xml

php中世界最好的语言
php中世界最好的语言Original
2018-03-07 16:44:411470browse

This time I will show you how to use MavenConfiguration filepom.xml, what are the notes of using Maven configuration file pom.xml, the following is a practical case, let's go together take a look.


  4.0.0
  com.troyforever
  example
  war
  0.0.1-SNAPSHOT
  example Maven Webapp
  http://maven.apache.org
  
  
    
      junit
      junit
      3.8.1
      test
    
    
    
        mysql
        mysql-connector-java
        6.0.3
    
    
    
        javax.servlet
        javax.servlet-api
        3.1.0
    
    
    
        com.alibaba
        fastjson
        1.2.13
    

    
        org.springframework
        spring-webmvc
        4.3.1.RELEASE
    
    
    
        org.springframework
        spring-hibernate3
        2.0.8
    
    
    
        javax.transaction
        jta
        1.1
    
    
    
        javax.servlet
        jstl
        1.2
    
    
  
  
    example
    
        
            org.apache.maven.plugins
            maven-compiler-plugin
            3.1
            
                1.8
                1.8
                utf-8
            
        
    
  

I believe you have mastered the method after reading the case in this article. For more exciting information, please pay attention to the php Chinese website Other related articles!

Related reading:

Detailed graphic explanation of Switchery.js

How to use xml2js in nodej

The above is the detailed content of Using the Maven configuration file pom.xml. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn