pom.xml
author indvdum (gotoindvdum@gmail.com)
Wed, 23 Nov 2011 17:52:25 +0300
changeset 16 2d6a668325f9
parent 15 739f329b9e1e
permissions -rw-r--r--
Separating projects
     1 <?xml version="1.0" encoding="UTF-8"?>
     2 <project>
     3 	<modelVersion>4.0.0</modelVersion>
     4 	<groupId>ru.indvdum.mywork</groupId>
     5 	<artifactId>mywork-all</artifactId>
     6 	<name>mywork</name>
     7 	<version>0.0.1.0-SNAPSHOT</version>
     8 	<packaging>pom</packaging>
     9 	<properties>
    10 		<commons-dbcp.version>1.4</commons-dbcp.version>
    11 		<derby.version>10.8.2.2</derby.version>
    12 		<groovy.version>1.8.0</groovy.version>
    13 		<openjpa.version>2.1.1</openjpa.version>
    14 		<maven-compiler-plugin.version>2.3.2</maven-compiler-plugin.version>
    15 		<groovy-eclipse-compiler.version>2.5.1-1</groovy-eclipse-compiler.version>
    16 		<build-helper-maven-plugin.version>1.5</build-helper-maven-plugin.version>
    17 		<slf4j-simple.version>1.6.4</slf4j-simple.version>
    18 		<commons-configuration.version>1.7</commons-configuration.version>
    19 		<maven-resources-plugin.version>2.5</maven-resources-plugin.version>
    20 		<junit.version>4.10</junit.version>
    21 	</properties>
    22 	<build>
    23 		<resources>
    24 			<resource>
    25 				<directory>src/main/resources</directory>
    26 				<filtering>true</filtering>
    27 			</resource>
    28 		</resources>
    29 		<plugins>
    30 			<plugin>
    31 				<groupId>org.apache.maven.plugins</groupId>
    32 				<artifactId>maven-compiler-plugin</artifactId>
    33 				<version>${maven-compiler-plugin.version}</version>
    34 				<configuration>
    35 					<source>1.6</source>
    36 					<target>1.6</target>
    37 					<encoding>UTF-8</encoding>
    38 					<fork>true</fork>
    39 					<meminitial>128m</meminitial>
    40 					<maxmem>512m</maxmem>
    41 				</configuration>
    42 			</plugin>
    43 			<plugin>
    44 				<groupId>org.apache.maven.plugins</groupId>
    45 				<artifactId>maven-resources-plugin</artifactId>
    46 				<version>${maven-resources-plugin.version}</version>
    47 				<configuration>
    48 					<encoding>UTF-8</encoding>
    49 				</configuration>
    50 			</plugin>
    51 		</plugins>
    52 		<pluginManagement>
    53 			<plugins>
    54 				<!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
    55 				<plugin>
    56 					<groupId>org.eclipse.m2e</groupId>
    57 					<artifactId>lifecycle-mapping</artifactId>
    58 					<version>1.0.0</version>
    59 					<configuration>
    60 						<lifecycleMappingMetadata>
    61 							<pluginExecutions>
    62 								<pluginExecution>
    63 									<pluginExecutionFilter>
    64 										<groupId>
    65 											org.codehaus.mojo
    66 										</groupId>
    67 										<artifactId>
    68 											openjpa-maven-plugin
    69 										</artifactId>
    70 										<versionRange>
    71 											[1.2,)
    72 										</versionRange>
    73 										<goals>
    74 											<goal>enhance</goal>
    75 										</goals>
    76 									</pluginExecutionFilter>
    77 									<action>
    78 										<ignore></ignore>
    79 									</action>
    80 								</pluginExecution>
    81 							</pluginExecutions>
    82 						</lifecycleMappingMetadata>
    83 					</configuration>
    84 				</plugin>
    85 			</plugins>
    86 		</pluginManagement>
    87 	</build>
    88 	<dependencyManagement>
    89 		<dependencies>
    90 			<dependency>
    91 				<groupId>ru.indvdum.mywork</groupId>
    92 				<artifactId>mywork-model</artifactId>
    93 				<version>${project.version}</version>
    94 			</dependency>
    95 			<dependency>
    96 				<groupId>ru.indvdum.mywork</groupId>
    97 				<artifactId>mywork-web</artifactId>
    98 				<version>${project.version}</version>
    99 			</dependency>
   100 		</dependencies>
   101 	</dependencyManagement>
   102 	<dependencies>
   103 		<dependency>
   104 			<groupId>org.slf4j</groupId>
   105 			<artifactId>slf4j-simple</artifactId>
   106 			<version>${slf4j-simple.version}</version>
   107 		</dependency>
   108 		<dependency>
   109 			<groupId>junit</groupId>
   110 			<artifactId>junit</artifactId>
   111 			<version>${junit.version}</version>
   112 			<scope>test</scope>
   113 		</dependency>
   114 	</dependencies>
   115 	<modules>
   116 		<module>mywork-model</module>
   117 		<module>mywork-web</module>
   118 	</modules>
   119 </project>