Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <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><!-- Config --></groupId>
- <artifactId><!-- Config --></artifactId>
- <version>1.0.0-SNAPSHOT</version>
- <packaging>pom</packaging>
- <name><!-- Config --></name>
- <modules>
- <!-- Config -->
- </modules>
- <scm>
- <!-- Config -->
- </scm>
- <distributionManagement>
- <repository>
- <!-- Config -->
- </repository>
- <snapshotRepository>
- <!-- Config -->
- </snapshotRepository>
- </distributionManagement>
- <properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- </properties>
- <dependencies>
- <!-- Config -->
- </dependencies>
- <repositories>
- <repository>
- <releases>
- <enabled>true</enabled>
- </releases>
- <snapshots>
- <enabled>false</enabled>
- </snapshots>
- <id>Releases</id>
- <name>our.repository.site.com-releases</name>
- <url>http://our.repository.site.com/artifactory/releases</url>
- </repository>
- <repository>
- <releases>
- <enabled>true</enabled>
- </releases>
- <snapshots>
- <enabled>false</enabled>
- </snapshots>
- <id>Libs Releases</id>
- <name>our.repository.site.com-libs-releases</name>
- <url>http://our.repository.site.com/artifactory/libs-release-local</url>
- </repository>
- <repository>
- <snapshots>
- <enabled>true</enabled>
- <updatePolicy>always</updatePolicy>
- </snapshots>
- <id>Snapshots</id>
- <name>our.repository.site.com-snapshots</name>
- <url>http://our.repository.site.com/artifactory/snapshots</url>
- </repository>
- <repository>
- <snapshots>
- <enabled>true</enabled>
- <updatePolicy>always</updatePolicy>
- </snapshots>
- <id>Libs Snapshots</id>
- <name>our.repository.site.com-snapshots</name>
- <url>http://our.repository.site.com/artifactory/libs-snapshot-local</url>
- </repository>
- <repository>
- <snapshots>
- <enabled>false</enabled>
- </snapshots>
- <id>central</id>
- <name>Central Repository</name>
- <url>https://repo.maven.apache.org/maven2</url>
- </repository>
- </repositories>
- <pluginRepositories>
- <pluginRepository>
- <snapshots>
- <enabled>false</enabled>
- </snapshots>
- <id>central</id>
- <name>plugins-release</name>
- <url>http://our.repository.site.com/artifactory/plugins-release</url>
- </pluginRepository>
- <pluginRepository>
- <snapshots>
- <enabled>true</enabled>
- <updatePolicy>always</updatePolicy>
- </snapshots>
- <id>snapshots</id>
- <name>plugins-snapshot</name>
- <url>http://our.repository.site.com/artifactory/plugins-snapshot</url>
- </pluginRepository>
- </pluginRepositories>
- <build>
- <sourceDirectory>C:\Fake-Path\src\main\java</sourceDirectory>
- <scriptSourceDirectory>C:\Fake-Path\src\main\scripts</scriptSourceDirectory>
- <testSourceDirectory>C:\Fake-Path\src\test\java</testSourceDirectory>
- <outputDirectory>C:\Fake-Path\target\classes</outputDirectory>
- <testOutputDirectory>C:\Fake-Path\target\test-classes</testOutputDirectory>
- <resources>
- <resource>
- <directory>C:\Fake-Path\src\main\resources</directory>
- </resource>
- </resources>
- <testResources>
- <testResource>
- <directory>C:\Fake-Path\src\test\resources</directory>
- </testResource>
- </testResources>
- <directory>C:\Fake-Path\target</directory>
- <finalName>MyFileName.ear</finalName>
- <pluginManagement>
- <plugins>
- <plugin>
- <artifactId>maven-antrun-plugin</artifactId>
- <version>1.3</version>
- </plugin>
- <plugin>
- <artifactId>maven-assembly-plugin</artifactId>
- <version>2.2-beta-5</version>
- </plugin>
- <plugin>
- <artifactId>maven-dependency-plugin</artifactId>
- <version>2.8</version>
- </plugin>
- <plugin>
- <artifactId>maven-release-plugin</artifactId>
- <version>2.3.2</version>
- </plugin>
- </plugins>
- </pluginManagement>
- <plugins>
- <plugin>
- <artifactId>maven-dependency-plugin</artifactId>
- <version>2.9</version>
- <executions>
- <execution>
- <id>copy-dependencies</id>
- <phase>package</phase>
- <goals>
- <goal>copy-dependencies</goal>
- </goals>
- <configuration>
- <outputDirectory>C:\Fake-Path\target</outputDirectory>
- <overWriteReleases>false</overWriteReleases>
- <overWriteSnapshots>false</overWriteSnapshots>
- <overWriteIfNewer>true</overWriteIfNewer>
- <includeGroupIds>My.group.ids</includeGroupIds>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>my.group.id.mavenplugins</groupId>
- <artifactId>my.artifact.id</artifactId>
- <version>1.0.1</version>
- <executions>
- <execution>
- <phase>package</phase>
- <goals>
- <goal>mygoal</goal>
- </goals>
- <configuration>
- <params>
- <!-- My Params -->
- </params>
- </configuration>
- </execution>
- </executions>
- <configuration>
- <params>
- <!-- My Params -->
- </params>
- </configuration>
- </plugin>
- <plugin>
- <artifactId>maven-release-plugin</artifactId>
- <version>2.4</version>
- <configuration>
- <goals>clean package deploy</goals>
- <tagBase>MyTagBase</tagBase>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>build-helper-maven-plugin</artifactId>
- <version>1.9.1</version>
- <executions>
- <execution>
- <id>attach-artifacts</id>
- <phase>package</phase>
- <goals>
- <goal>attach-artifact</goal>
- </goals>
- <configuration>
- <artifacts>
- <artifact>
- <file>C:\Fake-Path\target/MyFinalFile.ear</file>
- <type>ear</type>
- </artifact>
- </artifacts>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <artifactId>maven-clean-plugin</artifactId>
- <version>2.5</version>
- <executions>
- <execution>
- <id>default-clean</id>
- <phase>clean</phase>
- <goals>
- <goal>clean</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <artifactId>maven-install-plugin</artifactId>
- <version>2.4</version>
- <executions>
- <execution>
- <id>default-install</id>
- <phase>install</phase>
- <goals>
- <goal>install</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <artifactId>maven-deploy-plugin</artifactId>
- <version>2.7</version>
- <executions>
- <execution>
- <id>default-deploy</id>
- <phase>deploy</phase>
- <goals>
- <goal>deploy</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <artifactId>maven-site-plugin</artifactId>
- <version>3.3</version>
- <executions>
- <execution>
- <id>default-site</id>
- <phase>site</phase>
- <goals>
- <goal>site</goal>
- </goals>
- <configuration>
- <outputDirectory>C:\Fake-Path\target\site</outputDirectory>
- <reportPlugins>
- <reportPlugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-project-info-reports-plugin</artifactId>
- </reportPlugin>
- </reportPlugins>
- </configuration>
- </execution>
- <execution>
- <id>default-deploy</id>
- <phase>site-deploy</phase>
- <goals>
- <goal>deploy</goal>
- </goals>
- <configuration>
- <outputDirectory>C:\Fake-Path\target\site</outputDirectory>
- <reportPlugins>
- <reportPlugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-project-info-reports-plugin</artifactId>
- </reportPlugin>
- </reportPlugins>
- </configuration>
- </execution>
- </executions>
- <configuration>
- <outputDirectory>C:\Fake-Path\target\site</outputDirectory>
- <reportPlugins>
- <reportPlugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-project-info-reports-plugin</artifactId>
- </reportPlugin>
- </reportPlugins>
- </configuration>
- </plugin>
- </plugins>
- </build>
- <reporting>
- <outputDirectory>C:\Fake-Path\target\site</outputDirectory>
- </reporting>
- </project>
Advertisement
Add Comment
Please, Sign In to add comment