#Java - Code Snippets for '#Pom' - 4 code snippet(s) found |
|
Sample 1. Maven - Add Dependency in Pom File | |
|
<dependencies>
<dependency>
<groupId></groupId>
<artifactId></artifactId>
</dependency>
</dependencies>
|
|
Like Feedback maven pom |
|
|
Sample 2. Maven - Add Dependency and excluding transitive dependency | |
|
<dependencies>
<dependency>
<groupId></groupId>
<artifactId></artifactId>
<exclusions>
<exclusion>
<groupId></groupId>
<artifactId></artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
|
|
Like Feedback maven pom excluding transitive depedency |
|
|
Sample 3. Maven Pom File Template | |
|
<project>
<parent>
<groupId></groupId>
<artifactId></artifactId>
<version></version>
</parent>
<modelVersion></modelVersion>
<artifactId></artifactId>
<packaging></packaging>
<name></name>
<url></url>
<properties>
</properties>
<dependencies>
<dependency>
<groupId></groupId>
<artifactId></artifactId>
</dependency>
</dependencies>
<build>
<resources>
<resource>
<directory></directory>
<filtering></filtering>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>
|
|
Like Feedback maven pom file sample pom file |
|
|
Sample 4. Maven - SCM ( Source Code Management ) config in POM file | |
|
<scm>
<connection></connection>
<developerConnection></developerConnection>
<url></url>
</scm>
|
|
Like Feedback maven pom file maven scm configuration |
|
|