pom.xml
changeset 15 739f329b9e1e
parent 13 ad6ffc054537
child 16 2d6a668325f9
equal deleted inserted replaced
14:1d1d4c94d251 15:739f329b9e1e
     8 		<jetty.version>6.1.26</jetty.version>
     8 		<jetty.version>6.1.26</jetty.version>
     9 		<vaadin.version>6.5.0</vaadin.version>
     9 		<vaadin.version>6.5.0</vaadin.version>
    10 		<gwt.version>2.1.1</gwt.version>
    10 		<gwt.version>2.1.1</gwt.version>
    11 		<oracle.jdbc.version>10.1.0.5.0</oracle.jdbc.version>
    11 		<oracle.jdbc.version>10.1.0.5.0</oracle.jdbc.version>
    12 		<openjpa.version>2.1.1</openjpa.version>
    12 		<openjpa.version>2.1.1</openjpa.version>
       
    13 		<commons-dbcp.version>1.4</commons-dbcp.version>
       
    14 		<derby.version>10.8.2.2</derby.version>
       
    15 		<groovy.version>1.8.0</groovy.version>
       
    16 		<maven-compiler-plugin.version>2.3.2</maven-compiler-plugin.version>
       
    17 		<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>
       
    19 		<slf4j-simple.version>1.6.4</slf4j-simple.version>
       
    20 		<commons-configuration.version>1.7</commons-configuration.version>
       
    21 		<maven-resources-plugin.version>2.5</maven-resources-plugin.version>
       
    22 		<junit.version>4.10</junit.version>
    13 	</properties>
    23 	</properties>
    14 	<repositories>
       
    15 		<repository>
       
    16 			<id>archiva.internal</id>
       
    17 			<url>http://10.17.0.7/archiva/repository/internal</url>
       
    18 			<releases>
       
    19 				<enabled>true</enabled>
       
    20 			</releases>
       
    21 			<snapshots>
       
    22 				<enabled>true</enabled>
       
    23 			</snapshots>
       
    24 		</repository>
       
    25 		<repository>
       
    26 			<id>vaadin</id>
       
    27 			<url>http://oss.sonatype.org/content/repositories/vaadin/</url>
       
    28 			<releases>
       
    29 				<enabled>true</enabled>
       
    30 			</releases>
       
    31 			<snapshots>
       
    32 				<enabled>false</enabled>
       
    33 			</snapshots>
       
    34 		</repository>
       
    35 		<repository>
       
    36 			<id>vaadin-addons</id>
       
    37 			<url>http://maven.vaadin.com/vaadin-addons</url>
       
    38 		</repository>
       
    39 	</repositories>
       
    40 	<build>
    24 	<build>
    41 		<resources>
    25 		<resources>
    42 			<resource>
    26 			<resource>
    43 				<directory>src/main/resources</directory>
    27 				<directory>src/main/resources</directory>
    44 				<filtering>false</filtering>
    28 				<filtering>false</filtering>
    45 			</resource>
    29 			</resource>
    46 		</resources>
    30 		</resources>
    47 		<plugins>
    31 		<plugins>
    48 			<plugin>
    32 			<plugin>
    49 				<groupId>org.apache.maven.plugins</groupId>
       
    50 				<artifactId>maven-eclipse-plugin</artifactId>
       
    51 				<configuration>
       
    52 					<downloadSources>true</downloadSources>
       
    53 					<buildcommands>
       
    54 						<buildcommand>org.eclipse.jdt.core.javabuilder</buildcommand>
       
    55 					</buildcommands>
       
    56 					<classpathContainers>
       
    57 						<classpathContainer>org.eclipse.jdt.launching.JRE_CONTAINER</classpathContainer>
       
    58 					</classpathContainers>
       
    59 				</configuration>
       
    60 			</plugin>
       
    61 			<plugin>
       
    62 				<artifactId>maven-compiler-plugin</artifactId>
    33 				<artifactId>maven-compiler-plugin</artifactId>
    63 				<configuration>
    34 				<version>${maven-compiler-plugin.version}</version>
    64 					<source>1.6</source>
    35 				<configuration>
    65 					<target>1.6</target>
    36 					<compilerId>groovy-eclipse-compiler</compilerId>
    66 					<debug>true</debug>
    37 					<compilerArgument>nowarn</compilerArgument>
    67 					<encoding>utf-8</encoding>
    38 					 <verbose>true</verbose>
    68 				</configuration>
    39 				</configuration>
    69 			</plugin>
    40 				<dependencies>
    70 			<plugin>
    41 					<dependency>
    71 				<artifactId>maven-source-plugin</artifactId>
    42 						<groupId>org.codehaus.groovy</groupId>
    72 				<configuration>
    43 						<artifactId>groovy-eclipse-compiler</artifactId>
    73 					<attach>true</attach>
    44 						<version>${groovy-eclipse-compiler.version}</version>
    74 				</configuration>
    45 					</dependency>
    75 				<executions>
    46 				</dependencies>
    76 					<execution>
    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>
    77 						<phase>generate-sources</phase>
    55 						<phase>generate-sources</phase>
    78 						<goals>
    56 						<goals>
    79 							<goal>jar</goal>
    57 							<goal>add-source</goal>
    80 						</goals>
    58 						</goals>
       
    59 						<configuration>
       
    60 							<sources>
       
    61 								<source>src/main/groovy</source>
       
    62 								<source>src/test/groovy</source>
       
    63 							</sources>
       
    64 						</configuration>
    81 					</execution>
    65 					</execution>
    82 				</executions>
    66 				</executions>
    83 			</plugin>
    67 			</plugin>
    84 			<plugin>
    68 			<plugin>
    85 				<groupId>org.codehaus.mojo</groupId>
    69 				<groupId>org.codehaus.mojo</groupId>
    86 				<artifactId>openjpa-maven-plugin</artifactId>
    70 				<artifactId>openjpa-maven-plugin</artifactId>
    87 				<configuration>
    71 				<configuration>
    88 					<includes>ru/indvdum/mywork/openjpa/model/**/*.class</includes>
    72 					<includes>**/model/**/*.class</includes>
    89 					<addDefaultConstructor>true</addDefaultConstructor>
    73 					<addDefaultConstructor>true</addDefaultConstructor>
    90 					<enforcePropertyRestrictions>true</enforcePropertyRestrictions>
    74 					<enforcePropertyRestrictions>true</enforcePropertyRestrictions>
    91 				</configuration>
    75 				</configuration>
    92 				<executions>
    76 				<executions>
    93 					<execution>
    77 					<execution>
   105 						<version>${openjpa.version}</version>
    89 						<version>${openjpa.version}</version>
   106 					</dependency>
    90 					</dependency>
   107 				</dependencies>
    91 				</dependencies>
   108 			</plugin>
    92 			</plugin>
   109 			<plugin>
    93 			<plugin>
       
    94 				<groupId>org.apache.maven.plugins</groupId>
       
    95 				<artifactId>maven-resources-plugin</artifactId>
       
    96 				<version>${maven-resources-plugin.version}</version>
       
    97 				<configuration>
       
    98 					<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>
   110 				<groupId>org.codehaus.mojo</groupId>
   116 				<groupId>org.codehaus.mojo</groupId>
   111 				<artifactId>exec-maven-plugin</artifactId>
   117 				<artifactId>exec-maven-plugin</artifactId>
   112 				<version>1.2</version>
   118 				<version>1.2</version>
   113 				<executions>
   119 				<executions>
   114 					<execution>
   120 					<execution>
   120 				<configuration>
   126 				<configuration>
   121 					<executable>java</executable>
   127 					<executable>java</executable>
   122 					<arguments>
   128 					<arguments>
   123 						<argument>-classpath</argument>
   129 						<argument>-classpath</argument>
   124 						<classpath/>
   130 						<classpath/>
   125 						<argument>-javaagent:${settings.localRepository}/org/apache/openjpa/openjpa/${openjpa.version}/openjpa-${openjpa.version}.jar</argument>
       
   126 						<argument>ru.indvdum.mywork.MyWork</argument>
   131 						<argument>ru.indvdum.mywork.MyWork</argument>
   127 					</arguments>
   132 					</arguments>
   128 				</configuration>
   133 				</configuration>
   129 			</plugin>
   134 			</plugin>
   130 		</plugins>
   135 		</plugins>
       
   136 		<pluginManagement>
       
   137 			<plugins>
       
   138 				<!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
       
   139 				<plugin>
       
   140 					<groupId>org.eclipse.m2e</groupId>
       
   141 					<artifactId>lifecycle-mapping</artifactId>
       
   142 					<version>1.0.0</version>
       
   143 					<configuration>
       
   144 						<lifecycleMappingMetadata>
       
   145 							<pluginExecutions>
       
   146 								<pluginExecution>
       
   147 									<pluginExecutionFilter>
       
   148 										<groupId>
       
   149 											org.codehaus.mojo
       
   150 										</groupId>
       
   151 										<artifactId>
       
   152 											openjpa-maven-plugin
       
   153 										</artifactId>
       
   154 										<versionRange>
       
   155 											[1.2,)
       
   156 										</versionRange>
       
   157 										<goals>
       
   158 											<goal>enhance</goal>
       
   159 										</goals>
       
   160 									</pluginExecutionFilter>
       
   161 									<action>
       
   162 										<ignore></ignore>
       
   163 									</action>
       
   164 								</pluginExecution>
       
   165 							</pluginExecutions>
       
   166 						</lifecycleMappingMetadata>
       
   167 					</configuration>
       
   168 				</plugin>
       
   169 			</plugins>
       
   170 		</pluginManagement>
   131 	</build>
   171 	</build>
   132 	<dependencies>
   172 	<dependencies>
       
   173 		<dependency>
       
   174 			<groupId>org.slf4j</groupId>
       
   175 			<artifactId>slf4j-simple</artifactId>
       
   176 			<version>${slf4j-simple.version}</version>
       
   177 		</dependency>
       
   178 		<dependency>
       
   179 			<groupId>junit</groupId>
       
   180 			<artifactId>junit</artifactId>
       
   181 			<version>${junit.version}</version>
       
   182 			<scope>test</scope>
       
   183 		</dependency>
   133 		<dependency>
   184 		<dependency>
   134 			<groupId>org.mortbay.jetty</groupId>
   185 			<groupId>org.mortbay.jetty</groupId>
   135 			<artifactId>jetty</artifactId>
   186 			<artifactId>jetty</artifactId>
   136 			<version>${jetty.version}</version>
   187 			<version>${jetty.version}</version>
   137 		</dependency>
   188 		</dependency>
   164 		<dependency>
   215 		<dependency>
   165 			<groupId>org.apache.openjpa</groupId>
   216 			<groupId>org.apache.openjpa</groupId>
   166 			<artifactId>openjpa</artifactId>
   217 			<artifactId>openjpa</artifactId>
   167 			<version>${openjpa.version}</version>
   218 			<version>${openjpa.version}</version>
   168 		</dependency>
   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>
   169 	</dependencies>
   237 	</dependencies>
   170 </project>
   238 </project>