|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<!-- |
| 3 | + Licensed to the Apache Software Foundation (ASF) under one |
| 4 | + or more contributor license agreements. See the NOTICE file |
| 5 | + distributed with this work for additional information |
| 6 | + regarding copyright ownership. The ASF licenses this file |
| 7 | + to you under the Apache License, Version 2.0 (the |
| 8 | + "License"); you may not use this file except in compliance |
| 9 | + with the License. You may obtain a copy of the License at |
| 10 | + |
| 11 | + http://www.apache.org/licenses/LICENSE-2.0 |
| 12 | + |
| 13 | + Unless required by applicable law or agreed to in writing, |
| 14 | + software distributed under the License is distributed on an |
| 15 | + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 16 | + KIND, either express or implied. See the License for the |
| 17 | + specific language governing permissions and limitations |
| 18 | + under the License. |
| 19 | +--><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"> |
| 20 | + <modelVersion>4.0.0</modelVersion> |
| 21 | + |
| 22 | + <parent> |
| 23 | + <groupId>com.iluwatar</groupId> |
| 24 | + <artifactId>naked-objects</artifactId> |
| 25 | + <version>1.0-SNAPSHOT</version> |
| 26 | + </parent> |
| 27 | + |
| 28 | + <artifactId>naked-objects-dom</artifactId> |
| 29 | + <name>Simple App DOM</name> |
| 30 | + |
| 31 | + <build> |
| 32 | + <resources> |
| 33 | + <resource> |
| 34 | + <directory>src/main/resources</directory> |
| 35 | + </resource> |
| 36 | + <resource> |
| 37 | + <directory>src/main/java</directory> |
| 38 | + <includes> |
| 39 | + <include>**</include> |
| 40 | + </includes> |
| 41 | + <excludes> |
| 42 | + <exclude>**/*.java</exclude> |
| 43 | + </excludes> |
| 44 | + </resource> |
| 45 | + </resources> |
| 46 | + </build> |
| 47 | + |
| 48 | + <dependencies> |
| 49 | + <dependency> |
| 50 | + <groupId>org.apache.isis.core</groupId> |
| 51 | + <artifactId>isis-core-applib</artifactId> |
| 52 | + </dependency> |
| 53 | + |
| 54 | + <dependency> |
| 55 | + <groupId>org.apache.isis.core</groupId> |
| 56 | + <artifactId>isis-core-unittestsupport</artifactId> |
| 57 | + <scope>test</scope> |
| 58 | + </dependency> |
| 59 | + |
| 60 | + <!-- Bytecode libraries (for mocking) --> |
| 61 | + <dependency> |
| 62 | + <groupId>org.objenesis</groupId> |
| 63 | + <artifactId>objenesis</artifactId> |
| 64 | + <scope>test</scope> |
| 65 | + </dependency> |
| 66 | + |
| 67 | + <dependency> |
| 68 | + <groupId>org.assertj</groupId> |
| 69 | + <artifactId>assertj-core</artifactId> |
| 70 | + <scope>test</scope> |
| 71 | + </dependency> |
| 72 | + |
| 73 | + </dependencies> |
| 74 | + |
| 75 | + <profiles> |
| 76 | + <profile> |
| 77 | + <id>enhance</id> |
| 78 | + <activation> |
| 79 | + <activeByDefault>true</activeByDefault> |
| 80 | + </activation> |
| 81 | + <properties> |
| 82 | + <datanucleus-maven-plugin.version>4.0.0-release</datanucleus-maven-plugin.version> |
| 83 | + </properties> |
| 84 | + <build> |
| 85 | + <pluginManagement> |
| 86 | + <plugins> |
| 87 | + <plugin> |
| 88 | + <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.--> |
| 89 | + <groupId>org.eclipse.m2e</groupId> |
| 90 | + <artifactId>lifecycle-mapping</artifactId> |
| 91 | + <version>1.0.0</version> |
| 92 | + <configuration> |
| 93 | + <lifecycleMappingMetadata> |
| 94 | + <pluginExecutions> |
| 95 | + <pluginExecution> |
| 96 | + <pluginExecutionFilter> |
| 97 | + <groupId>org.datanucleus</groupId> |
| 98 | + <artifactId>datanucleus-maven-plugin</artifactId> |
| 99 | + <versionRange>[${datanucleus-maven-plugin.version},)</versionRange> |
| 100 | + <goals> |
| 101 | + <goal>enhance</goal> |
| 102 | + </goals> |
| 103 | + </pluginExecutionFilter> |
| 104 | + <action> |
| 105 | + <ignore></ignore> |
| 106 | + </action> |
| 107 | + </pluginExecution> |
| 108 | + </pluginExecutions> |
| 109 | + </lifecycleMappingMetadata> |
| 110 | + </configuration> |
| 111 | + </plugin> |
| 112 | + </plugins> |
| 113 | + </pluginManagement> |
| 114 | + <plugins> |
| 115 | + <plugin> |
| 116 | + <groupId>org.datanucleus</groupId> |
| 117 | + <artifactId>datanucleus-maven-plugin</artifactId> |
| 118 | + <version>${datanucleus-maven-plugin.version}</version> |
| 119 | + <configuration> |
| 120 | + <fork>false</fork> |
| 121 | + <log4jConfiguration>${basedir}/log4j.properties</log4jConfiguration> |
| 122 | + <verbose>true</verbose> |
| 123 | + <props>${basedir}/datanucleus.properties</props> |
| 124 | + </configuration> |
| 125 | + <executions> |
| 126 | + <execution> |
| 127 | + <phase>process-classes</phase> |
| 128 | + <goals> |
| 129 | + <goal>enhance</goal> |
| 130 | + </goals> |
| 131 | + </execution> |
| 132 | + </executions> |
| 133 | + </plugin> |
| 134 | + </plugins> |
| 135 | + </build> |
| 136 | + <dependencies> |
| 137 | + <dependency> |
| 138 | + <groupId>org.datanucleus</groupId> |
| 139 | + <artifactId>datanucleus-core</artifactId> |
| 140 | + </dependency> |
| 141 | + <dependency> |
| 142 | + <groupId>org.datanucleus</groupId> |
| 143 | + <artifactId>datanucleus-jodatime</artifactId> |
| 144 | + </dependency> |
| 145 | + <dependency> |
| 146 | + <groupId>org.datanucleus</groupId> |
| 147 | + <artifactId>datanucleus-api-jdo</artifactId> |
| 148 | + </dependency> |
| 149 | + </dependencies> |
| 150 | + </profile> |
| 151 | + <profile> |
| 152 | + <id>isis-validate</id> |
| 153 | + <activation> |
| 154 | + </activation> |
| 155 | + <build> |
| 156 | + <plugins> |
| 157 | + <plugin> |
| 158 | + <groupId>org.apache.isis.tool</groupId> |
| 159 | + <artifactId>isis-maven-plugin</artifactId> |
| 160 | + <version>1.9.0-SNAPSHOT</version> |
| 161 | + <configuration> |
| 162 | + <isisConfigDir>../webapp/src/main/webapp/WEB-INF</isisConfigDir> |
| 163 | + </configuration> |
| 164 | + <dependencies> |
| 165 | + <dependency> |
| 166 | + <groupId>org.apache.isis.example.application</groupId> |
| 167 | + <artifactId>simpleapp-dom</artifactId> |
| 168 | + <version>1.9.0-SNAPSHOT</version> |
| 169 | + </dependency> |
| 170 | + <!-- |
| 171 | + ... workaround to avoid conflict with plexus-default |
| 172 | + (not sure why exclusions in the isis-maven-plugin aren't sufficient, though ... |
| 173 | + --> |
| 174 | + <dependency> |
| 175 | + <groupId>com.google.guava</groupId> |
| 176 | + <artifactId>guava</artifactId> |
| 177 | + <version>16.0.1</version> |
| 178 | + </dependency> |
| 179 | + </dependencies> |
| 180 | + <executions> |
| 181 | + <execution> |
| 182 | + <phase>test</phase> |
| 183 | + <goals> |
| 184 | + <goal>validate</goal> |
| 185 | + </goals> |
| 186 | + </execution> |
| 187 | + </executions> |
| 188 | + </plugin> |
| 189 | + </plugins> |
| 190 | + </build> |
| 191 | + </profile> |
| 192 | + </profiles> |
| 193 | + |
| 194 | +</project> |
0 commit comments