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