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/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <groupId>my.org</groupId>
- <artifactId>myproj</artifactId>
- <packaging>${packaging.type}</packaging>
- <version>1.0-SNAPSHOT</version>
- <name>My Project</name>
- <profiles>
- <profile>
- <id>dev</id>
- <properties>
- <packaging.type>war</packaging.type>
- <outputFileNameMapping>@{artifactId}@.@{extension}@</outputFileNameMapping>
- </properties>
- </profile>
- <profile>
- <id>uat</id>
- <activation>
- <activeByDefault>true</activeByDefault>
- </activation>
- <properties>
- <packaging.type>jar</packaging.type>
- <outputFileNameMapping>@{artifactId}@.@{extension}@.@{version}@</outputFileNameMapping>
- </properties>
- </profile>
- </profiles>
- <dependencies>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.11</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.jopendocument</groupId>
- <artifactId>jOpenDocument</artifactId>
- <version>1.3</version>
- </dependency>
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>javax.servlet-api</artifactId>
- <version>3.1.0</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.hibernate</groupId>
- <artifactId>hibernate-core</artifactId>
- <version>3.6.10.Final</version>
- </dependency>
- <dependency>
- <groupId>org.datanucleus</groupId>
- <artifactId>datanucleus-api-jdo</artifactId>
- <version>5.0.7</version>
- </dependency>
- <dependency>
- <groupId>javax.jdo</groupId>
- <artifactId>jdo-api</artifactId>
- <version>3.1</version>
- </dependency>
- <dependency>
- <groupId>org.datanucleus</groupId>
- <artifactId>javax.persistence</artifactId>
- <version>2.1.2</version>
- </dependency>
- <dependency>
- <groupId>org.datanucleus</groupId>
- <artifactId>javax.jdo</artifactId>
- <version>3.2.0-m1</version>
- </dependency>
- <dependency>
- <groupId>org.datanucleus</groupId>
- <artifactId>datanucleus-core</artifactId>
- <version>5.0.7</version>
- </dependency>
- <dependency>
- <groupId>org.datanucleus</groupId>
- <artifactId>datanucleus-odf</artifactId>
- <version>5.0.2</version>
- </dependency>
- <dependency>
- <groupId>org.datanucleus</groupId>
- <artifactId>datanucleus-enhancer</artifactId>
- <version>3.1.1</version>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-lang3</artifactId>
- <version>3.5</version>
- </dependency>
- <dependency>
- <groupId>mysql</groupId>
- <artifactId>mysql-connector-java</artifactId>
- <version>6.0.6</version>
- </dependency>
- <dependency>
- <groupId>org.tmatesoft.svnkit</groupId>
- <artifactId>svnkit</artifactId>
- <version>1.8.11</version>
- </dependency>
- <dependency>
- <groupId>my.org</groupId>
- <artifactId>app1-temp</artifactId>
- <version>1.5-20170412.100057-50</version>
- </dependency>
- <dependency>
- <groupId>com.sun.xml.bind</groupId>
- <artifactId>jaxb-impl</artifactId>
- <version>2.2.4-1</version>
- </dependency>
- <dependency>
- <groupId>org.antlr</groupId>
- <artifactId>antlr4</artifactId>
- <version>4.5</version>
- </dependency>
- </dependencies>
- <repositories>
- <repository>
- <id>myorg-snapshots</id>
- <name>myorg Local Snapshot-Repo</name>
- <url>http://10.1.2.12:8081/nexus/content/repositories/myorg-snapshots/</url>
- </repository>
- <repository>
- <id>myorg-release</id>
- <name>myorg Local Release-Repo</name>
- <url>http://10.1.2.12:8081/nexus/content/repositories/myorg-release/</url>
- </repository>
- </repositories>
- <build>
- <finalName>myapp</finalName>
- <pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>2.1</version>
- <configuration>
- <source>1.8</source>
- <target>1.8</target>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.datanucleus</groupId>
- <artifactId>maven-datanucleus-plugin</artifactId>
- <version>1.1.0</version>
- <configuration>
- <mappingIncludes>**/*.class</mappingIncludes>
- <verbose>true</verbose>
- <enhancerName>ASM</enhancerName>
- <api>JPA</api>
- </configuration>
- <executions>
- <execution>
- <phase>compile</phase>
- <goals>
- <goal>enhance</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.flywaydb</groupId>
- <artifactId>flyway-maven-plugin</artifactId>
- <version>4.1.2</version>
- <executions>
- <execution>
- <id>app2db-migration</id>
- <phase>compile</phase>
- <goals>
- <goal>migrate</goal>
- </goals>
- <configuration>
- <url>jdbc:postgresql://localhost:5432/myorg_cd</url>
- <user>postgres</user>
- <password>postgres</password>
- <locations>
- <location>
- filesystem:src/main/resources/db/migration/myorg
- </location>
- </locations>
- <placeholders>
- <myorg_owner>postgres</myorg_owner>
- </placeholders>
- </configuration>
- </execution>
- <execution>
- <id>appdb-migration</id>
- <phase>compile</phase>
- <goals>
- <goal>migrate</goal>
- </goals>
- <configuration>
- <url>jdbc:postgresql://localhost:5432/myorg_cd</url>
- <user>postgres</user>
- <password>postgres</password>
- <locations>
- <location>filesystem:src/main/resources/db/migration/myorg</location>
- </locations>
- <validateOnMigrate>false</validateOnMigrate>
- </configuration>
- </execution>
- </executions>
- <dependencies>
- <dependency>
- <groupId>org.postgresql</groupId>
- <artifactId>postgresql</artifactId>
- <version>9.4.1212</version>
- </dependency>
- </dependencies>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-project-info-reports-plugin</artifactId>
- <configuration>
- <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
- </configuration>
- </plugin>
- </plugins>
- </pluginManagement>
- <resources>
- <resource>
- <directory>src/main/</directory>
- <includes>
- <include>webapp/admin/**/*</include>
- <include>webapp/config/**/*</include>
- <include>webapp/resources/**/*</include>
- <include>webapp/wsdl/**/*</include>
- </includes>
- </resource>
- <resource>
- <directory>src/main/resources</directory>
- </resource>
- </resources>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <version>3.0.2</version>
- <configuration>
- <archive>
- <manifestFile>src/main/webapp/META-INF/MANIFEST.MF</manifestFile>
- </archive>
- </configuration>
- <executions>
- <execution>
- <goals>
- <goal>test-jar</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-war-plugin</artifactId>
- <version>3.0.0</version>
- <configuration>
- <outputFileNameMapping>${outputFileNameMapping}</outputFileNameMapping>
- <archive>
- <manifestFile>src/main/webapp/META-INF/MANIFEST.MF</manifestFile>
- </archive>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.tomcat.maven</groupId>
- <artifactId>tomcat7-maven-plugin</artifactId>
- <version>2.2</version>
- <configuration>
- <url>http://10.1.2.12:8080/manager/text</url>
- <server>tm12</server>
- <server>tomcat</server>
- <username>admin</username>
- <password>admin</password>
- <path>/${project.artifactId}</path>
- </configuration>
- </plugin>
- </plugins>
- </build>
- <distributionManagement>
- <snapshotRepository>
- <id>myorg-snapshots</id>
- <url>http://10.1.2.12:8081/nexus/content/repositories/myorg-snapshots</url>
- </snapshotRepository>
- </distributionManagement>
- <properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- </properties>
- </project>
Add Comment
Please, Sign In to add comment