Created
          December 24, 2017 17:19 
        
      - 
      
 - 
        
Save MenukaIshan/d5b930c652a9da03c8303535249c40ba to your computer and use it in GitHub Desktop.  
    Sample Pom.xml for Maven release plugin. Created for blog https://goo.gl/y9CfVM 
  
        
  
    
      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/maven-v4_0_0.xsd"> | |
| <modelVersion>4.0.0</modelVersion> | |
| <groupId>menuka</groupId> | |
| <artifactId>menukanows</artifactId> | |
| <packaging>war</packaging> | |
| <version>1.2-SNAPSHOT</version> | |
| <name>menukanows Maven Webapp</name> | |
| <url>http://maven.apache.org</url> | |
| <dependencies> | |
| <dependency> | |
| <groupId>junit</groupId> | |
| <artifactId>junit</artifactId> | |
| <version>3.8.1</version> | |
| <scope>test</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-release-plugin</artifactId> | |
| <version>2.5.3</version> | |
| </dependency> | |
| </dependencies> | |
| <properties> | |
| <project.scm.id>githubcredentials</project.scm.id> | |
| </properties> | |
| <scm> | |
| <developerConnection>scm:git:https://github.com/Menuka5/MavenPluginTest.git</developerConnection> | |
| <tag>HEAD</tag> | |
| </scm> | |
| <build> | |
| <finalName>menukanows</finalName> | |
| <pluginManagement> | |
| <plugins> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-release-plugin</artifactId> | |
| <version>2.5.3</version> | |
| <configuration> | |
| <checkModificationExcludes> | |
| <checkModificationExclude>pom.xml</checkModificationExclude> | |
| </checkModificationExcludes> | |
| </configuration> | |
| </plugin> | |
| </plugins> | |
| </pluginManagement> | |
| <plugins> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-compiler-plugin</artifactId> | |
| <version>3.3</version> | |
| <configuration> | |
| <source>1.8</source> | |
| <target>1.8</target> | |
| </configuration> | |
| </plugin> | |
| </plugins> | |
| </build> | |
| </project> | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment