1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 3 <!-- 4 Copyright 2006-2009 Henri Tremblay 5 6 Licensed under the Apache License, Version 2.0 (the "License"); 7 you may not use this file except in compliance with the License. 8 You may obtain a copy of the License at 9 10 http://www.apache.org/licenses/LICENSE-2.0 11 12 Unless required by applicable law or agreed to in writing, software 13 distributed under the License is distributed on an "AS IS" BASIS, 14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 See the License for the specific language governing permissions and 16 limitations under the License. 17 --> 18 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 <name>Objenesis parent project</name> 22 <groupId>org.objenesis</groupId> 23 <artifactId>objenesis-parent</artifactId> 24 <version>1.2</version> 25 <packaging>pom</packaging> 26 <inceptionYear>2006</inceptionYear> 27 28 <modules> 29 <module>main</module> 30 <module>tck</module> 31 </modules> 32 33 <licenses> 34 <license> 35 <name>Apache 2</name> 36 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> 37 <distribution>repo</distribution> 38 </license> 39 </licenses> 40 41 <!-- Used for the copyright --> 42 <organization> 43 <name>Joe Walnes, Henri Tremblay, Leonardo Mesquita</name> 44 </organization> 45 46 <scm> 47 <connection>scm:svn:http://objenesis.googlecode.com/svn/trunk</connection> 48 <developerConnection>scm:svn:https://objenesis.googlecode.com/svn/trunk</developerConnection> 49 <url>http://objenesis.googlecode.com/svn/trunk</url> 50 </scm> 51 52 <developers> 53 <developer> 54 <id>joe</id> 55 <name>Joe Walnes</name> 56 <timezone>0</timezone> 57 </developer> 58 <developer> 59 <id>henri</id> 60 <name>Henri Tremblay</name> 61 <organization>Ossia Conseil</organization> 62 <organizationUrl>http://www.ossia-conseil.com</organizationUrl> 63 <timezone>+1</timezone> 64 </developer> 65 <developer> 66 <id>leonardo</id> 67 <name>Leonardo Mesquita</name> 68 <timezone>-5</timezone> 69 </developer> 70 </developers> 71 72 <dependencies> 73 <dependency> 74 <groupId>junit</groupId> 75 <artifactId>junit</artifactId> 76 <version>3.8.2</version> 77 <scope>test</scope> 78 </dependency> 79 </dependencies> 80 81 <build> 82 <sourceDirectory>${basedir}/src</sourceDirectory> 83 <resources> 84 <resource> 85 <!-- Test resources are in the test source directory --> 86 <directory>${basedir}/src</directory> 87 <excludes> 88 <!-- Everything except java files is considered to be a resource --> 89 <exclude>**/*.java</exclude> 90 </excludes> 91 </resource> 92 </resources> 93 <testSourceDirectory>${basedir}/test</testSourceDirectory> 94 <testResources> 95 <testResource> 96 <!-- Test resources are in the test source directory --> 97 <directory>${basedir}/test</directory> 98 <excludes> 99 <!-- Everything except java files is considered to be a resource --> 100 <exclude>**/*.java</exclude> 101 </excludes> 102 </testResource> 103 </testResources> 104 <plugins> 105 <plugin> 106 <artifactId>maven-compiler-plugin</artifactId> 107 <configuration> 108 <source>1.3</source> 109 <target>1.3</target> 110 </configuration> 111 </plugin> 112 <plugin> 113 <groupId>org.apache.maven.plugins</groupId> 114 <artifactId>maven-source-plugin</artifactId> 115 <executions> 116 <execution> 117 <id>attach-sources</id> 118 <goals> 119 <goal>jar</goal> 120 </goals> 121 </execution> 122 </executions> 123 </plugin> 124 <plugin> 125 <artifactId>maven-jar-plugin</artifactId> 126 <configuration> 127 <useDefaultManifestFile>true</useDefaultManifestFile> 128 <archive> 129 <index>true</index> 130 <addMavenDescriptor>false</addMavenDescriptor> 131 <manifest> 132 <addDefaultImplementationEntries>true</addDefaultImplementationEntries> 133 <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries> 134 </manifest> 135 </archive> 136 </configuration> 137 </plugin> 138 <plugin> 139 <groupId>org.apache.maven.plugins</groupId> 140 <artifactId>maven-javadoc-plugin</artifactId> 141 <executions> 142 <execution> 143 <id>attach-javadocs</id> 144 <goals> 145 <goal>jar</goal> 146 </goals> 147 </execution> 148 </executions> 149 </plugin> 150 <plugin> 151 <artifactId>maven-site-plugin</artifactId> 152 <inherited>false</inherited> 153 <configuration> 154 <siteDirectory>${basedir}/website</siteDirectory> 155 </configuration> 156 </plugin> 157 <plugin> 158 <artifactId>maven-eclipse-plugin</artifactId> 159 <version>2.7</version> 160 <configuration> 161 <downloadSources>true</downloadSources> 162 </configuration> 163 </plugin> 164 </plugins> 165 <extensions> 166 <extension> 167 <groupId>org.apache.maven.wagon</groupId> 168 <artifactId>wagon-ssh-external</artifactId> 169 <version>1.0-beta-5</version> 170 </extension> 171 </extensions> 172 <pluginManagement> 173 <plugins> 174 <plugin> 175 <groupId>org.apache.felix</groupId> 176 <artifactId>maven-bundle-plugin</artifactId> 177 <version>2.0.0</version> 178 <executions> 179 <execution> 180 <id>bundle-manifest</id> 181 <phase>prepare-package</phase> 182 <goals> 183 <goal>manifest</goal> 184 </goals> 185 </execution> 186 </executions> 187 </plugin> 188 <plugin> 189 <groupId>com.keyboardsamurais.maven</groupId> 190 <artifactId>maven-timestamp-plugin</artifactId> 191 <version>1.0</version> 192 <executions> 193 <execution> 194 <id>year</id> 195 <goals> 196 <goal>create</goal> 197 </goals> 198 <configuration> 199 <propertyName>year</propertyName> 200 <timestampPattern>yyyy</timestampPattern> 201 </configuration> 202 </execution> 203 </executions> 204 </plugin> 205 <plugin> 206 <groupId>com.google.code.maven-license-plugin</groupId> 207 <artifactId>maven-license-plugin</artifactId> 208 <version>1.4.0</version> 209 <configuration> 210 <header>${basedir}/../header.txt</header> 211 <excludes> 212 <!-- Nothing is copyrighted in target --> 213 <exclude>target/**</exclude> 214 <!-- copyrights to BEA --> 215 <exclude>src/org/objenesis/instantiator/jrockit/*.java</exclude> 216 <!-- generated pom by maven-shade-plugin --> 217 <exclude>dependency-reduced-pom.xml</exclude> 218 <!-- generated by Equinox during OSGi test --> 219 <exclude>eclipse_config/**</exclude> 220 </excludes> 221 <properties> 222 <inceptionYear>${project.inceptionYear}</inceptionYear> 223 <year>${year}</year> 224 </properties> 225 </configuration> 226 <executions> 227 <execution> 228 <id>check</id> 229 <goals> 230 <goal>check</goal> 231 </goals> 232 </execution> 233 </executions> 234 </plugin> 235 <plugin> 236 <groupId>org.apache.maven.plugins</groupId> 237 <artifactId>maven-remote-resources-plugin</artifactId> 238 <version>1.0</version> 239 <executions> 240 <execution> 241 <goals> 242 <goal>process</goal> 243 </goals> 244 <configuration> 245 <resourceBundles> 246 <resourceBundle>org.apache:apache-jar-resource-bundle:1.3</resourceBundle> 247 </resourceBundles> 248 </configuration> 249 </execution> 250 </executions> 251 </plugin> 252 </plugins> 253 </pluginManagement> 254 </build> 255 <reporting> 256 <plugins> 257 <plugin> 258 <groupId>org.codehaus.mojo</groupId> 259 <artifactId>findbugs-maven-plugin</artifactId> 260 <version>2.1</version> 261 </plugin> 262 <plugin> 263 <groupId>org.apache.maven.plugins</groupId> 264 <artifactId>maven-pmd-plugin</artifactId> 265 <version>2.4</version> 266 <configuration> 267 <targetJdk>1.3</targetJdk> 268 </configuration> 269 </plugin> 270 </plugins> 271 </reporting> 272 273 <distributionManagement> 274 <repository> 275 <id>easymock-release</id> 276 <name>EasyMock Repository</name> 277 <url>scpexe://shell.sf.net/home/groups/e/ea/easymock/htdocs/maven/repository</url> 278 </repository> 279 <snapshotRepository> 280 <id>easymock-snapshot</id> 281 <name>EasyMock Snapshot Repository</name> 282 <url>scpexe://shell.sf.net/home/groups/e/ea/easymock/htdocs/maven/repository-snapshot</url> 283 </snapshotRepository> 284 </distributionManagement> 285 286 <profiles> 287 <profile> 288 <!-- Activate to update the license --> 289 <id>license</id> 290 <build> 291 <pluginManagement> 292 <plugins> 293 <plugin> 294 <groupId>com.google.code.maven-license-plugin</groupId> 295 <artifactId>maven-license-plugin</artifactId> 296 <executions> 297 <execution> 298 <id>format</id> 299 <phase>generate-sources</phase> 300 <goals> 301 <goal>format</goal> 302 </goals> 303 </execution> 304 </executions> 305 </plugin> 306 </plugins> 307 </pluginManagement> 308 </build> 309 </profile> 310 <profile> 311 <!-- Activate to generate the website --> 312 <id>website</id> 313 <modules> 314 <module>website</module> 315 </modules> 316 </profile> 317 </profiles> 318 </project> 319