pom.xml
changeset 16 2d6a668325f9
parent 15 739f329b9e1e
equal deleted inserted replaced
15:739f329b9e1e 16:2d6a668325f9
     1 <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">
     1 <?xml version="1.0" encoding="UTF-8"?>
       
     2 <project>
     2 	<modelVersion>4.0.0</modelVersion>
     3 	<modelVersion>4.0.0</modelVersion>
     3 	<groupId>ru.indvdum</groupId>
     4 	<groupId>ru.indvdum.mywork</groupId>
     4 	<artifactId>mywork</artifactId>
     5 	<artifactId>mywork-all</artifactId>
     5 	<version>0.0.1-SNAPSHOT</version>
     6 	<name>mywork</name>
     6 	<description>My Work</description>
     7 	<version>0.0.1.0-SNAPSHOT</version>
       
     8 	<packaging>pom</packaging>
     7 	<properties>
     9 	<properties>
     8 		<jetty.version>6.1.26</jetty.version>
       
     9 		<vaadin.version>6.5.0</vaadin.version>
       
    10 		<gwt.version>2.1.1</gwt.version>
       
    11 		<oracle.jdbc.version>10.1.0.5.0</oracle.jdbc.version>
       
    12 		<openjpa.version>2.1.1</openjpa.version>
       
    13 		<commons-dbcp.version>1.4</commons-dbcp.version>
    10 		<commons-dbcp.version>1.4</commons-dbcp.version>
    14 		<derby.version>10.8.2.2</derby.version>
    11 		<derby.version>10.8.2.2</derby.version>
    15 		<groovy.version>1.8.0</groovy.version>
    12 		<groovy.version>1.8.0</groovy.version>
       
    13 		<openjpa.version>2.1.1</openjpa.version>
    16 		<maven-compiler-plugin.version>2.3.2</maven-compiler-plugin.version>
    14 		<maven-compiler-plugin.version>2.3.2</maven-compiler-plugin.version>
    17 		<groovy-eclipse-compiler.version>2.5.1-1</groovy-eclipse-compiler.version>
    15 		<groovy-eclipse-compiler.version>2.5.1-1</groovy-eclipse-compiler.version>
    18 		<build-helper-maven-plugin.version>1.5</build-helper-maven-plugin.version>
    16 		<build-helper-maven-plugin.version>1.5</build-helper-maven-plugin.version>
    19 		<slf4j-simple.version>1.6.4</slf4j-simple.version>
    17 		<slf4j-simple.version>1.6.4</slf4j-simple.version>
    20 		<commons-configuration.version>1.7</commons-configuration.version>
    18 		<commons-configuration.version>1.7</commons-configuration.version>
    23 	</properties>
    21 	</properties>
    24 	<build>
    22 	<build>
    25 		<resources>
    23 		<resources>
    26 			<resource>
    24 			<resource>
    27 				<directory>src/main/resources</directory>
    25 				<directory>src/main/resources</directory>
    28 				<filtering>false</filtering>
    26 				<filtering>true</filtering>
    29 			</resource>
    27 			</resource>
    30 		</resources>
    28 		</resources>
    31 		<plugins>
    29 		<plugins>
    32 			<plugin>
    30 			<plugin>
       
    31 				<groupId>org.apache.maven.plugins</groupId>
    33 				<artifactId>maven-compiler-plugin</artifactId>
    32 				<artifactId>maven-compiler-plugin</artifactId>
    34 				<version>${maven-compiler-plugin.version}</version>
    33 				<version>${maven-compiler-plugin.version}</version>
    35 				<configuration>
    34 				<configuration>
    36 					<compilerId>groovy-eclipse-compiler</compilerId>
    35 					<source>1.6</source>
    37 					<compilerArgument>nowarn</compilerArgument>
    36 					<target>1.6</target>
    38 					 <verbose>true</verbose>
    37 					<encoding>UTF-8</encoding>
       
    38 					<fork>true</fork>
       
    39 					<meminitial>128m</meminitial>
       
    40 					<maxmem>512m</maxmem>
    39 				</configuration>
    41 				</configuration>
    40 				<dependencies>
       
    41 					<dependency>
       
    42 						<groupId>org.codehaus.groovy</groupId>
       
    43 						<artifactId>groovy-eclipse-compiler</artifactId>
       
    44 						<version>${groovy-eclipse-compiler.version}</version>
       
    45 					</dependency>
       
    46 				</dependencies>
       
    47 			</plugin>
       
    48 			<plugin>
       
    49 				<groupId>org.codehaus.mojo</groupId>
       
    50 				<artifactId>build-helper-maven-plugin</artifactId>
       
    51 				<version>${build-helper-maven-plugin.version}</version>
       
    52 				<executions>
       
    53 					<execution>
       
    54 						<id>add-source</id>
       
    55 						<phase>generate-sources</phase>
       
    56 						<goals>
       
    57 							<goal>add-source</goal>
       
    58 						</goals>
       
    59 						<configuration>
       
    60 							<sources>
       
    61 								<source>src/main/groovy</source>
       
    62 								<source>src/test/groovy</source>
       
    63 							</sources>
       
    64 						</configuration>
       
    65 					</execution>
       
    66 				</executions>
       
    67 			</plugin>
       
    68 			<plugin>
       
    69 				<groupId>org.codehaus.mojo</groupId>
       
    70 				<artifactId>openjpa-maven-plugin</artifactId>
       
    71 				<configuration>
       
    72 					<includes>**/model/**/*.class</includes>
       
    73 					<addDefaultConstructor>true</addDefaultConstructor>
       
    74 					<enforcePropertyRestrictions>true</enforcePropertyRestrictions>
       
    75 				</configuration>
       
    76 				<executions>
       
    77 					<execution>
       
    78 						<id>enhancer</id>
       
    79 						<phase>process-classes</phase>
       
    80 						<goals>
       
    81 							<goal>enhance</goal>
       
    82 						</goals>
       
    83 					</execution>
       
    84 				</executions>
       
    85 				<dependencies>
       
    86 					<dependency>
       
    87 						<groupId>org.apache.openjpa</groupId>
       
    88 						<artifactId>openjpa</artifactId>
       
    89 						<version>${openjpa.version}</version>
       
    90 					</dependency>
       
    91 				</dependencies>
       
    92 			</plugin>
    42 			</plugin>
    93 			<plugin>
    43 			<plugin>
    94 				<groupId>org.apache.maven.plugins</groupId>
    44 				<groupId>org.apache.maven.plugins</groupId>
    95 				<artifactId>maven-resources-plugin</artifactId>
    45 				<artifactId>maven-resources-plugin</artifactId>
    96 				<version>${maven-resources-plugin.version}</version>
    46 				<version>${maven-resources-plugin.version}</version>
    97 				<configuration>
    47 				<configuration>
    98 					<encoding>UTF-8</encoding>
    48 					<encoding>UTF-8</encoding>
    99 				</configuration>
       
   100 			</plugin>
       
   101 			<plugin>
       
   102 				<artifactId>maven-source-plugin</artifactId>
       
   103 				<configuration>
       
   104 					<attach>true</attach>
       
   105 				</configuration>
       
   106 				<executions>
       
   107 					<execution>
       
   108 						<phase>generate-sources</phase>
       
   109 						<goals>
       
   110 							<goal>jar</goal>
       
   111 						</goals>
       
   112 					</execution>
       
   113 				</executions>
       
   114 			</plugin>
       
   115 			<plugin>
       
   116 				<groupId>org.codehaus.mojo</groupId>
       
   117 				<artifactId>exec-maven-plugin</artifactId>
       
   118 				<version>1.2</version>
       
   119 				<executions>
       
   120 					<execution>
       
   121 						<goals>
       
   122 							<goal>exec</goal>
       
   123 						</goals>
       
   124 					</execution>
       
   125 				</executions>
       
   126 				<configuration>
       
   127 					<executable>java</executable>
       
   128 					<arguments>
       
   129 						<argument>-classpath</argument>
       
   130 						<classpath/>
       
   131 						<argument>ru.indvdum.mywork.MyWork</argument>
       
   132 					</arguments>
       
   133 				</configuration>
    49 				</configuration>
   134 			</plugin>
    50 			</plugin>
   135 		</plugins>
    51 		</plugins>
   136 		<pluginManagement>
    52 		<pluginManagement>
   137 			<plugins>
    53 			<plugins>
   167 					</configuration>
    83 					</configuration>
   168 				</plugin>
    84 				</plugin>
   169 			</plugins>
    85 			</plugins>
   170 		</pluginManagement>
    86 		</pluginManagement>
   171 	</build>
    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>
   172 	<dependencies>
   102 	<dependencies>
   173 		<dependency>
   103 		<dependency>
   174 			<groupId>org.slf4j</groupId>
   104 			<groupId>org.slf4j</groupId>
   175 			<artifactId>slf4j-simple</artifactId>
   105 			<artifactId>slf4j-simple</artifactId>
   176 			<version>${slf4j-simple.version}</version>
   106 			<version>${slf4j-simple.version}</version>
   179 			<groupId>junit</groupId>
   109 			<groupId>junit</groupId>
   180 			<artifactId>junit</artifactId>
   110 			<artifactId>junit</artifactId>
   181 			<version>${junit.version}</version>
   111 			<version>${junit.version}</version>
   182 			<scope>test</scope>
   112 			<scope>test</scope>
   183 		</dependency>
   113 		</dependency>
   184 		<dependency>
       
   185 			<groupId>org.mortbay.jetty</groupId>
       
   186 			<artifactId>jetty</artifactId>
       
   187 			<version>${jetty.version}</version>
       
   188 		</dependency>
       
   189 		<dependency>
       
   190 			<groupId>com.vaadin</groupId>
       
   191 			<artifactId>vaadin</artifactId>
       
   192 			<version>${vaadin.version}</version>
       
   193 		</dependency>
       
   194 		<dependency>
       
   195 			<groupId>com.vaadin.addon</groupId>
       
   196 			<artifactId>jpacontainer-addon-agpl-3.0</artifactId>
       
   197 			<version>1.2.0</version>
       
   198 			<exclusions>
       
   199 				<exclusion>
       
   200 					<groupId>javax.persistence</groupId>
       
   201 					<artifactId>persistence-api</artifactId>
       
   202 				</exclusion>
       
   203 			</exclusions>
       
   204 		</dependency>
       
   205 		<dependency>
       
   206 			<groupId>com.google.gwt</groupId>
       
   207 			<artifactId>gwt-user</artifactId>
       
   208 			<version>${gwt.version}</version>
       
   209 		</dependency>
       
   210 		<dependency>
       
   211 			<groupId>com.oracle</groupId>
       
   212 			<artifactId>ojdbc14</artifactId>
       
   213 			<version>${oracle.jdbc.version}</version>
       
   214 		</dependency>
       
   215 		<dependency>
       
   216 			<groupId>org.apache.openjpa</groupId>
       
   217 			<artifactId>openjpa</artifactId>
       
   218 			<version>${openjpa.version}</version>
       
   219 		</dependency>
       
   220 		<dependency>
       
   221 			<groupId>org.codehaus.groovy</groupId>
       
   222 			<artifactId>groovy-all</artifactId>
       
   223 			<version>${groovy.version}</version>
       
   224 		</dependency>
       
   225 		<dependency>
       
   226 			<groupId>commons-dbcp</groupId>
       
   227 			<artifactId>commons-dbcp</artifactId>
       
   228 			<version>${commons-dbcp.version}</version>
       
   229 			<scope>test</scope>
       
   230 		</dependency>
       
   231 		<dependency>
       
   232 			<groupId>org.apache.derby</groupId>
       
   233 			<artifactId>derby</artifactId>
       
   234 			<version>${derby.version}</version>
       
   235 			<scope>test</scope>
       
   236 		</dependency>
       
   237 	</dependencies>
   114 	</dependencies>
       
   115 	<modules>
       
   116 		<module>mywork-model</module>
       
   117 		<module>mywork-web</module>
       
   118 	</modules>
   238 </project>
   119 </project>