author | indvdum (gotoindvdum@gmail.com) |
Wed, 23 Nov 2011 17:25:20 +0300 | |
changeset 15 | 739f329b9e1e |
parent 13 | ad6ffc054537 |
child 16 | 2d6a668325f9 |
permissions | -rw-r--r-- |
indvdum@0 | 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"> |
indvdum@0 | 2 |
<modelVersion>4.0.0</modelVersion> |
indvdum@0 | 3 |
<groupId>ru.indvdum</groupId> |
indvdum@0 | 4 |
<artifactId>mywork</artifactId> |
indvdum@0 | 5 |
<version>0.0.1-SNAPSHOT</version> |
indvdum@0 | 6 |
<description>My Work</description> |
indvdum@0 | 7 |
<properties> |
indvdum@0 | 8 |
<jetty.version>6.1.26</jetty.version> |
indvdum@0 | 9 |
<vaadin.version>6.5.0</vaadin.version> |
indvdum@0 | 10 |
<gwt.version>2.1.1</gwt.version> |
indvdum@2 | 11 |
<oracle.jdbc.version>10.1.0.5.0</oracle.jdbc.version> |
indvdum@7 | 12 |
<openjpa.version>2.1.1</openjpa.version> |
indvdum@15 | 13 |
<commons-dbcp.version>1.4</commons-dbcp.version> |
indvdum@15 | 14 |
<derby.version>10.8.2.2</derby.version> |
indvdum@15 | 15 |
<groovy.version>1.8.0</groovy.version> |
indvdum@15 | 16 |
<maven-compiler-plugin.version>2.3.2</maven-compiler-plugin.version> |
indvdum@15 | 17 |
<groovy-eclipse-compiler.version>2.5.1-1</groovy-eclipse-compiler.version> |
indvdum@15 | 18 |
<build-helper-maven-plugin.version>1.5</build-helper-maven-plugin.version> |
indvdum@15 | 19 |
<slf4j-simple.version>1.6.4</slf4j-simple.version> |
indvdum@15 | 20 |
<commons-configuration.version>1.7</commons-configuration.version> |
indvdum@15 | 21 |
<maven-resources-plugin.version>2.5</maven-resources-plugin.version> |
indvdum@15 | 22 |
<junit.version>4.10</junit.version> |
indvdum@0 | 23 |
</properties> |
indvdum@0 | 24 |
<build> |
indvdum@0 | 25 |
<resources> |
indvdum@0 | 26 |
<resource> |
indvdum@0 | 27 |
<directory>src/main/resources</directory> |
indvdum@0 | 28 |
<filtering>false</filtering> |
indvdum@0 | 29 |
</resource> |
indvdum@0 | 30 |
</resources> |
indvdum@0 | 31 |
<plugins> |
indvdum@0 | 32 |
<plugin> |
indvdum@15 | 33 |
<artifactId>maven-compiler-plugin</artifactId> |
indvdum@15 | 34 |
<version>${maven-compiler-plugin.version}</version> |
indvdum@0 | 35 |
<configuration> |
indvdum@15 | 36 |
<compilerId>groovy-eclipse-compiler</compilerId> |
indvdum@15 | 37 |
<compilerArgument>nowarn</compilerArgument> |
indvdum@15 | 38 |
<verbose>true</verbose> |
indvdum@0 | 39 |
</configuration> |
indvdum@15 | 40 |
<dependencies> |
indvdum@15 | 41 |
<dependency> |
indvdum@15 | 42 |
<groupId>org.codehaus.groovy</groupId> |
indvdum@15 | 43 |
<artifactId>groovy-eclipse-compiler</artifactId> |
indvdum@15 | 44 |
<version>${groovy-eclipse-compiler.version}</version> |
indvdum@15 | 45 |
</dependency> |
indvdum@15 | 46 |
</dependencies> |
indvdum@0 | 47 |
</plugin> |
indvdum@3 | 48 |
<plugin> |
indvdum@15 | 49 |
<groupId>org.codehaus.mojo</groupId> |
indvdum@15 | 50 |
<artifactId>build-helper-maven-plugin</artifactId> |
indvdum@15 | 51 |
<version>${build-helper-maven-plugin.version}</version> |
indvdum@3 | 52 |
<executions> |
indvdum@3 | 53 |
<execution> |
indvdum@15 | 54 |
<id>add-source</id> |
indvdum@3 | 55 |
<phase>generate-sources</phase> |
indvdum@3 | 56 |
<goals> |
indvdum@15 | 57 |
<goal>add-source</goal> |
indvdum@3 | 58 |
</goals> |
indvdum@15 | 59 |
<configuration> |
indvdum@15 | 60 |
<sources> |
indvdum@15 | 61 |
<source>src/main/groovy</source> |
indvdum@15 | 62 |
<source>src/test/groovy</source> |
indvdum@15 | 63 |
</sources> |
indvdum@15 | 64 |
</configuration> |
indvdum@3 | 65 |
</execution> |
indvdum@3 | 66 |
</executions> |
indvdum@3 | 67 |
</plugin> |
indvdum@5 | 68 |
<plugin> |
indvdum@5 | 69 |
<groupId>org.codehaus.mojo</groupId> |
indvdum@5 | 70 |
<artifactId>openjpa-maven-plugin</artifactId> |
indvdum@5 | 71 |
<configuration> |
indvdum@15 | 72 |
<includes>**/model/**/*.class</includes> |
indvdum@5 | 73 |
<addDefaultConstructor>true</addDefaultConstructor> |
indvdum@5 | 74 |
<enforcePropertyRestrictions>true</enforcePropertyRestrictions> |
indvdum@5 | 75 |
</configuration> |
indvdum@5 | 76 |
<executions> |
indvdum@5 | 77 |
<execution> |
indvdum@5 | 78 |
<id>enhancer</id> |
indvdum@5 | 79 |
<phase>process-classes</phase> |
indvdum@5 | 80 |
<goals> |
indvdum@5 | 81 |
<goal>enhance</goal> |
indvdum@5 | 82 |
</goals> |
indvdum@5 | 83 |
</execution> |
indvdum@5 | 84 |
</executions> |
indvdum@5 | 85 |
<dependencies> |
indvdum@5 | 86 |
<dependency> |
indvdum@5 | 87 |
<groupId>org.apache.openjpa</groupId> |
indvdum@5 | 88 |
<artifactId>openjpa</artifactId> |
indvdum@5 | 89 |
<version>${openjpa.version}</version> |
indvdum@5 | 90 |
</dependency> |
indvdum@5 | 91 |
</dependencies> |
indvdum@5 | 92 |
</plugin> |
indvdum@7 | 93 |
<plugin> |
indvdum@15 | 94 |
<groupId>org.apache.maven.plugins</groupId> |
indvdum@15 | 95 |
<artifactId>maven-resources-plugin</artifactId> |
indvdum@15 | 96 |
<version>${maven-resources-plugin.version}</version> |
indvdum@15 | 97 |
<configuration> |
indvdum@15 | 98 |
<encoding>UTF-8</encoding> |
indvdum@15 | 99 |
</configuration> |
indvdum@15 | 100 |
</plugin> |
indvdum@15 | 101 |
<plugin> |
indvdum@15 | 102 |
<artifactId>maven-source-plugin</artifactId> |
indvdum@15 | 103 |
<configuration> |
indvdum@15 | 104 |
<attach>true</attach> |
indvdum@15 | 105 |
</configuration> |
indvdum@15 | 106 |
<executions> |
indvdum@15 | 107 |
<execution> |
indvdum@15 | 108 |
<phase>generate-sources</phase> |
indvdum@15 | 109 |
<goals> |
indvdum@15 | 110 |
<goal>jar</goal> |
indvdum@15 | 111 |
</goals> |
indvdum@15 | 112 |
</execution> |
indvdum@15 | 113 |
</executions> |
indvdum@15 | 114 |
</plugin> |
indvdum@15 | 115 |
<plugin> |
indvdum@7 | 116 |
<groupId>org.codehaus.mojo</groupId> |
indvdum@7 | 117 |
<artifactId>exec-maven-plugin</artifactId> |
indvdum@7 | 118 |
<version>1.2</version> |
indvdum@7 | 119 |
<executions> |
indvdum@7 | 120 |
<execution> |
indvdum@7 | 121 |
<goals> |
indvdum@7 | 122 |
<goal>exec</goal> |
indvdum@7 | 123 |
</goals> |
indvdum@7 | 124 |
</execution> |
indvdum@7 | 125 |
</executions> |
indvdum@7 | 126 |
<configuration> |
indvdum@7 | 127 |
<executable>java</executable> |
indvdum@7 | 128 |
<arguments> |
indvdum@7 | 129 |
<argument>-classpath</argument> |
indvdum@7 | 130 |
<classpath/> |
indvdum@7 | 131 |
<argument>ru.indvdum.mywork.MyWork</argument> |
indvdum@7 | 132 |
</arguments> |
indvdum@7 | 133 |
</configuration> |
indvdum@7 | 134 |
</plugin> |
indvdum@0 | 135 |
</plugins> |
indvdum@15 | 136 |
<pluginManagement> |
indvdum@15 | 137 |
<plugins> |
indvdum@15 | 138 |
<!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.--> |
indvdum@15 | 139 |
<plugin> |
indvdum@15 | 140 |
<groupId>org.eclipse.m2e</groupId> |
indvdum@15 | 141 |
<artifactId>lifecycle-mapping</artifactId> |
indvdum@15 | 142 |
<version>1.0.0</version> |
indvdum@15 | 143 |
<configuration> |
indvdum@15 | 144 |
<lifecycleMappingMetadata> |
indvdum@15 | 145 |
<pluginExecutions> |
indvdum@15 | 146 |
<pluginExecution> |
indvdum@15 | 147 |
<pluginExecutionFilter> |
indvdum@15 | 148 |
<groupId> |
indvdum@15 | 149 |
org.codehaus.mojo |
indvdum@15 | 150 |
</groupId> |
indvdum@15 | 151 |
<artifactId> |
indvdum@15 | 152 |
openjpa-maven-plugin |
indvdum@15 | 153 |
</artifactId> |
indvdum@15 | 154 |
<versionRange> |
indvdum@15 | 155 |
[1.2,) |
indvdum@15 | 156 |
</versionRange> |
indvdum@15 | 157 |
<goals> |
indvdum@15 | 158 |
<goal>enhance</goal> |
indvdum@15 | 159 |
</goals> |
indvdum@15 | 160 |
</pluginExecutionFilter> |
indvdum@15 | 161 |
<action> |
indvdum@15 | 162 |
<ignore></ignore> |
indvdum@15 | 163 |
</action> |
indvdum@15 | 164 |
</pluginExecution> |
indvdum@15 | 165 |
</pluginExecutions> |
indvdum@15 | 166 |
</lifecycleMappingMetadata> |
indvdum@15 | 167 |
</configuration> |
indvdum@15 | 168 |
</plugin> |
indvdum@15 | 169 |
</plugins> |
indvdum@15 | 170 |
</pluginManagement> |
indvdum@0 | 171 |
</build> |
indvdum@0 | 172 |
<dependencies> |
indvdum@0 | 173 |
<dependency> |
indvdum@15 | 174 |
<groupId>org.slf4j</groupId> |
indvdum@15 | 175 |
<artifactId>slf4j-simple</artifactId> |
indvdum@15 | 176 |
<version>${slf4j-simple.version}</version> |
indvdum@15 | 177 |
</dependency> |
indvdum@15 | 178 |
<dependency> |
indvdum@15 | 179 |
<groupId>junit</groupId> |
indvdum@15 | 180 |
<artifactId>junit</artifactId> |
indvdum@15 | 181 |
<version>${junit.version}</version> |
indvdum@15 | 182 |
<scope>test</scope> |
indvdum@15 | 183 |
</dependency> |
indvdum@15 | 184 |
<dependency> |
indvdum@0 | 185 |
<groupId>org.mortbay.jetty</groupId> |
indvdum@0 | 186 |
<artifactId>jetty</artifactId> |
indvdum@0 | 187 |
<version>${jetty.version}</version> |
indvdum@0 | 188 |
</dependency> |
indvdum@0 | 189 |
<dependency> |
indvdum@0 | 190 |
<groupId>com.vaadin</groupId> |
indvdum@0 | 191 |
<artifactId>vaadin</artifactId> |
indvdum@0 | 192 |
<version>${vaadin.version}</version> |
indvdum@0 | 193 |
</dependency> |
indvdum@0 | 194 |
<dependency> |
indvdum@6 | 195 |
<groupId>com.vaadin.addon</groupId> |
indvdum@6 | 196 |
<artifactId>jpacontainer-addon-agpl-3.0</artifactId> |
indvdum@6 | 197 |
<version>1.2.0</version> |
indvdum@7 | 198 |
<exclusions> |
indvdum@7 | 199 |
<exclusion> |
indvdum@7 | 200 |
<groupId>javax.persistence</groupId> |
indvdum@7 | 201 |
<artifactId>persistence-api</artifactId> |
indvdum@7 | 202 |
</exclusion> |
indvdum@7 | 203 |
</exclusions> |
indvdum@6 | 204 |
</dependency> |
indvdum@6 | 205 |
<dependency> |
indvdum@0 | 206 |
<groupId>com.google.gwt</groupId> |
indvdum@0 | 207 |
<artifactId>gwt-user</artifactId> |
indvdum@0 | 208 |
<version>${gwt.version}</version> |
indvdum@0 | 209 |
</dependency> |
indvdum@2 | 210 |
<dependency> |
indvdum@2 | 211 |
<groupId>com.oracle</groupId> |
indvdum@2 | 212 |
<artifactId>ojdbc14</artifactId> |
indvdum@2 | 213 |
<version>${oracle.jdbc.version}</version> |
indvdum@2 | 214 |
</dependency> |
indvdum@5 | 215 |
<dependency> |
indvdum@5 | 216 |
<groupId>org.apache.openjpa</groupId> |
indvdum@5 | 217 |
<artifactId>openjpa</artifactId> |
indvdum@5 | 218 |
<version>${openjpa.version}</version> |
indvdum@5 | 219 |
</dependency> |
indvdum@15 | 220 |
<dependency> |
indvdum@15 | 221 |
<groupId>org.codehaus.groovy</groupId> |
indvdum@15 | 222 |
<artifactId>groovy-all</artifactId> |
indvdum@15 | 223 |
<version>${groovy.version}</version> |
indvdum@15 | 224 |
</dependency> |
indvdum@15 | 225 |
<dependency> |
indvdum@15 | 226 |
<groupId>commons-dbcp</groupId> |
indvdum@15 | 227 |
<artifactId>commons-dbcp</artifactId> |
indvdum@15 | 228 |
<version>${commons-dbcp.version}</version> |
indvdum@15 | 229 |
<scope>test</scope> |
indvdum@15 | 230 |
</dependency> |
indvdum@15 | 231 |
<dependency> |
indvdum@15 | 232 |
<groupId>org.apache.derby</groupId> |
indvdum@15 | 233 |
<artifactId>derby</artifactId> |
indvdum@15 | 234 |
<version>${derby.version}</version> |
indvdum@15 | 235 |
<scope>test</scope> |
indvdum@15 | 236 |
</dependency> |
indvdum@0 | 237 |
</dependencies> |
indvdum@3 | 238 |
</project> |