| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| |
| DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. |
| |
| Copyright (c) 2013-2014 Oracle and/or its affiliates. All rights reserved. |
| |
| The contents of this file are subject to the terms of either the GNU |
| General Public License Version 2 only ("GPL") or the Common Development |
| and Distribution License("CDDL") (collectively, the "License"). You |
| may not use this file except in compliance with the License. You can |
| obtain a copy of the License at |
| http://glassfish.java.net/public/CDDL+GPL_1_1.html |
| or packager/legal/LICENSE.txt. See the License for the specific |
| language governing permissions and limitations under the License. |
| |
| When distributing the software, include this License Header Notice in each |
| file and include the License file at packager/legal/LICENSE.txt. |
| |
| GPL Classpath Exception: |
| Oracle designates this particular file as subject to the "Classpath" |
| exception as provided by Oracle in the GPL Version 2 section of the License |
| file that accompanied this code. |
| |
| Modifications: |
| If applicable, add the following below the License Header, with the fields |
| enclosed by brackets [] replaced by your own identifying information: |
| "Portions Copyright [year] [name of copyright owner]" |
| |
| Contributor(s): |
| If you wish your version of this file to be governed by only the CDDL or |
| only the GPL Version 2, indicate your decision by adding "[Contributor] |
| elects to include this software in this distribution under the [CDDL or GPL |
| Version 2] license." If you don't indicate a single choice of license, a |
| recipient has the option to distribute your version of this file under |
| either the CDDL, the GPL Version 2 or to extend the choice of license to |
| its licensees as provided above. However, if you add GPL Version 2 code |
| and therefore, elected the GPL Version 2 license, then the option applies |
| only if the new code is made subject to such option by the copyright |
| holder. |
| |
| --> |
| <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"> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>com.sun.xml.bind</groupId> |
| <artifactId>jaxb-bom-ext</artifactId> |
| <version>2.2.11</version> |
| <relativePath>boms/bom-ext/pom.xml</relativePath> |
| </parent> |
| |
| <groupId>com.sun.xml.bind.mvn</groupId> |
| <artifactId>jaxb-parent</artifactId> |
| |
| <packaging>pom</packaging> |
| <name>JAXB Reference Implementation</name> |
| <description> |
| Open source Reference Implementation of JSR-222: Java Architecture for XML Binding |
| </description> |
| |
| <url>http://jaxb.java.net</url> |
| <organization> |
| <name>Oracle Corporation</name> |
| <url>http://www.oracle.com/</url> |
| </organization> |
| |
| <licenses> |
| <license> |
| <name>CDDL+GPL License</name> |
| <url>http://glassfish.java.net/public/CDDL+GPL_1_1.html</url> |
| <distribution>repo</distribution> |
| </license> |
| </licenses> |
| |
| <developers> |
| <developer> |
| <name>Martin Grebac</name> |
| <email>martin.grebac@oracle.com</email> |
| <organization>Oracle Corporation</organization> |
| </developer> |
| <developer> |
| <name>Jaroslav Savytskyi</name> |
| <email>iaroslav.savytskyi@oracle.com</email> |
| <organization>Oracle Corporation</organization> |
| </developer> |
| </developers> |
| |
| <scm> |
| <connection>scm:git:git://java.net/jaxb~v2</connection> |
| <developerConnection>scm:git:ssh://git.java.net/jaxb~v2</developerConnection> |
| <url>http://java.net/projects/jaxb/sources/v2/show</url> |
| </scm> |
| |
| <issueManagement> |
| <system>jira</system> |
| <url>http://java.net/jira/browse/JAXB</url> |
| </issueManagement> |
| |
| <mailingLists> |
| <mailingList> |
| <name>JAXB RI Users List</name> |
| <post>users@jaxb.java.net</post> |
| <archive>http://java.net/projects/jaxb/lists/users/archive</archive> |
| </mailingList> |
| <mailingList> |
| <name>JAXB Implementation Dev List</name> |
| <post>dev@jaxb.java.net</post> |
| <archive>http://java.net/projects/jaxb/lists/dev/archive</archive> |
| </mailingList> |
| </mailingLists> |
| |
| <repositories> |
| <repository> |
| <id>releases.java.net</id> |
| <url>https://maven.java.net/content/repositories/releases/</url> |
| <layout>default</layout> |
| </repository> |
| <repository> |
| <id>jvnet-nexus-staging</id> |
| <url>https://maven.java.net/content/repositories/staging/</url> |
| <layout>default</layout> |
| </repository> |
| </repositories> |
| |
| <pluginRepositories> |
| <pluginRepository> |
| <id>releases.java.net</id> |
| <url>https://maven.java.net/content/repositories/releases/</url> |
| <layout>default</layout> |
| </pluginRepository> |
| <pluginRepository> |
| <id>jvnet-nexus-staging</id> |
| <url>https://maven.java.net/content/repositories/staging/</url> |
| <layout>default</layout> |
| </pluginRepository> |
| </pluginRepositories> |
| |
| <properties> |
| <junit.version>4.11</junit.version> |
| <args4j.version>1.0</args4j.version> |
| |
| <endorsed.dir>${project.build.directory}/endorsed</endorsed.dir> |
| <!-- This will work ONLY if mvn is run from root folder. In case of runing from submodules - fail :( --> |
| <javadoc.links.dir>${user.dir}/tools/javadoc-link</javadoc.links.dir> |
| <findbugs.skip>false</findbugs.skip> |
| <findbugs.threshold>High</findbugs.threshold> |
| <findbugs.common>exclude-common.xml</findbugs.common> |
| <findbugs.exclude/> |
| <findbugs.version>2.5.2</findbugs.version> |
| <skipSources>true</skipSources> |
| <netbeans.hint.jdkPlatform>JDK_1.6</netbeans.hint.jdkPlatform> |
| </properties> |
| |
| <dependencyManagement> |
| <dependencies> |
| <dependency> |
| <groupId>args4j</groupId> |
| <artifactId>args4j</artifactId> |
| <version>${args4j.version}</version> |
| </dependency> |
| <!-- Test --> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>${junit.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>xmlunit</groupId> |
| <artifactId>xmlunit</artifactId> |
| <version>1.3</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>com.google.code.javaparser</groupId> |
| <artifactId>javaparser</artifactId> |
| <version>1.0.8</version> |
| <scope>test</scope> |
| </dependency> |
| <!-- JDK dependencies --> |
| <dependency> |
| <groupId>com.sun</groupId> |
| <artifactId>tools</artifactId> |
| <version>1.6</version> |
| <scope>system</scope> |
| <systemPath>${tools.jar}</systemPath> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| |
| <build> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <artifactId>maven-shade-plugin</artifactId> |
| <version>2.0</version> |
| <configuration> |
| <createDependencyReducedPom>false</createDependencyReducedPom> |
| </configuration> |
| </plugin> |
| <plugin> |
| <artifactId>maven-clean-plugin</artifactId> |
| <version>2.4.1</version> |
| </plugin> |
| <plugin> |
| <artifactId>maven-resources-plugin</artifactId> |
| <version>2.5</version> |
| <configuration> |
| <escapeString>\</escapeString> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>maven-bundle-plugin</artifactId> |
| <version>2.3.7</version> |
| <extensions>true</extensions> |
| </plugin> |
| <plugin> |
| <groupId>org.glassfish.hk2</groupId> |
| <artifactId>osgiversion-maven-plugin</artifactId> |
| <version>2.1.14</version> |
| </plugin> |
| <plugin> |
| <artifactId>maven-jar-plugin</artifactId> |
| <version>2.4</version> |
| <configuration> |
| <archive> |
| <manifestEntries> |
| <Specification-Title>Java Architecture for XML Binding</Specification-Title> |
| <Specification-Version>${jaxb-api.majorVersion}.${jaxb-api.minorVersion}</Specification-Version> |
| <Implementation-Title>JAXB Implementation</Implementation-Title> |
| <Implementation-Version>${project.version}</Implementation-Version> |
| <Implementation-Vendor>Oracle</Implementation-Vendor> |
| <Implementation-Vendor-Id>com.oracle</Implementation-Vendor-Id> |
| <Git-Revision>${buildNumber}</Git-Revision> |
| <Git-Url>${project.scm.connection}</Git-Url> |
| <Build-Id>${project.version}</Build-Id> |
| <Build-Version>JAXB RI ${project.version}</Build-Version> |
| <Major-Version>${jaxb.majorVersion}.${jaxb.minorVersion}.${jaxb.incrementalVersion}</Major-Version> |
| </manifestEntries> |
| <manifest> |
| <addClasspath>true</addClasspath> |
| </manifest> |
| </archive> |
| </configuration> |
| </plugin> |
| <plugin> |
| <artifactId>maven-dependency-plugin</artifactId> |
| <version>2.8</version> |
| <executions> |
| <execution> |
| <id>prepare-endorsed</id> |
| <phase>validate</phase> |
| <goals> |
| <goal>copy-dependencies</goal> |
| </goals> |
| <configuration> |
| <skip>${maven.endorsed.skip}</skip> |
| <outputDirectory>${endorsed.dir}</outputDirectory> |
| <silent>false</silent> |
| <includeArtifactIds>jaxb-api</includeArtifactIds> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>2.5.1</version> |
| <configuration> |
| <source>1.6</source> |
| <target>1.6</target> |
| <fork>true</fork> |
| <compilerArguments> |
| <endorseddirs>${endorsed.dir}</endorseddirs> |
| <XDignore.symbol.file/> |
| </compilerArguments> |
| </configuration> |
| </plugin> |
| <plugin> |
| <artifactId>maven-source-plugin</artifactId> |
| <version>2.2.1</version> |
| <configuration> |
| <archive> |
| <manifestEntries> |
| <Specification-Title>Java Architecture for XML Binding</Specification-Title> |
| <Specification-Version>${jaxb-api.majorVersion}.${jaxb-api.minorVersion}</Specification-Version> |
| <Implementation-Title>JAXB Implementation</Implementation-Title> |
| <Implementation-Version>${project.version}</Implementation-Version> |
| <Implementation-Vendor>Oracle</Implementation-Vendor> |
| <Implementation-Vendor-Id>com.oracle</Implementation-Vendor-Id> |
| <Git-Revision>${buildNumber}</Git-Revision> |
| <Git-Url>${project.scm.connection}</Git-Url> |
| <Build-Id>${project.version}</Build-Id> |
| <Build-Version>JAXB RI ${project.version}</Build-Version> |
| <Major-Version>${jaxb.majorVersion}.${jaxb.minorVersion}.${jaxb.incrementalVersion}</Major-Version> |
| </manifestEntries> |
| </archive> |
| </configuration> |
| </plugin> |
| <plugin> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <version>2.3</version> |
| <configuration> |
| <archive> |
| <manifestEntries> |
| <Specification-Title>Java Architecture for XML Binding</Specification-Title> |
| <Specification-Version>${jaxb-api.majorVersion}.${jaxb-api.minorVersion}</Specification-Version> |
| <Implementation-Title>JAXB Implementation</Implementation-Title> |
| <Implementation-Version>${project.version}</Implementation-Version> |
| <Implementation-Vendor>Oracle</Implementation-Vendor> |
| <Implementation-Vendor-Id>com.oracle</Implementation-Vendor-Id> |
| <Git-Revision>${buildNumber}</Git-Revision> |
| <Git-Url>${project.scm.connection}</Git-Url> |
| <Build-Id>${project.version}</Build-Id> |
| <Build-Version>JAXB RI ${project.version}</Build-Version> |
| <Major-Version>${jaxb.majorVersion}.${jaxb.minorVersion}.${jaxb.incrementalVersion}</Major-Version> |
| </manifestEntries> |
| </archive> |
| </configuration> |
| </plugin> |
| <plugin> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <version>2.8.1</version> |
| <configuration> |
| <aggregate>false</aggregate> |
| <dependencySourceExcludes> |
| <dependencySourceExclude>com.sun.xml:*</dependencySourceExclude> |
| </dependencySourceExcludes> |
| <additionalJOption>-J-Djava.endorsed.dirs=${endorsed.dir}</additionalJOption> |
| <offlineLinks> |
| <offlineLink> |
| <url>http://docs.oracle.com/javase/6/docs/api/</url> |
| <location>${javadoc.links.dir}/javase6/</location> |
| </offlineLink> |
| <offlineLink> |
| <url>http://jaxb.java.net/nonav/${project.version}/docs/api/</url> |
| <location>${javadoc.links.dir}/jaxb-api/</location> |
| </offlineLink> |
| </offlineLinks> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>build-helper-maven-plugin</artifactId> |
| <version>1.8</version> |
| <executions> |
| <execution> |
| <id>jaxb.version</id> |
| <phase>compile</phase> |
| <goals> |
| <goal>parse-version</goal> |
| </goals> |
| <configuration> |
| <propertyPrefix>jaxb</propertyPrefix> |
| </configuration> |
| </execution> |
| <execution> |
| <id>jaxb-api.version</id> |
| <phase>compile</phase> |
| <goals> |
| <goal>parse-version</goal> |
| </goals> |
| <configuration> |
| <propertyPrefix>jaxb-api</propertyPrefix> |
| <versionString>${jaxb-api.version}</versionString> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.glassfish.copyright</groupId> |
| <artifactId>glassfish-copyright-maven-plugin</artifactId> |
| <version>1.29</version> |
| <configuration> |
| <templateFile>src/main/resources/copyright.txt</templateFile> |
| <!--todo: fix me--> |
| <excludeFile>src/main/resources/copyright-exclude</excludeFile> |
| <!--svn|mercurial|git - defaults to svn--> |
| <scm>git</scm> |
| <!-- turn on/off debugging --> |
| <debug>false</debug> |
| <!-- skip files not under SCM--> |
| <scmOnly>true</scmOnly> |
| <!-- turn off warnings --> |
| <warn>true</warn> |
| <!-- for use with repair --> |
| <update>false</update> |
| <!-- check that year is correct --> |
| <ignoreYear>false</ignoreYear> |
| <templateFile>tools/config/copyright.txt</templateFile> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>findbugs-maven-plugin</artifactId> |
| <version>${findbugs.version}</version> |
| <configuration> |
| <skip>${findbugs.skip}</skip> |
| <threshold>${findbugs.threshold}</threshold> |
| <findbugsXmlWithMessages>true</findbugsXmlWithMessages> |
| <excludeFilterFile> |
| ${findbugs.common},${findbugs.exclude} |
| </excludeFilterFile> |
| <fork>true</fork> |
| <jvmArgs>-Xms64m -Xmx256m</jvmArgs> |
| </configuration> |
| <dependencies> |
| <dependency> |
| <groupId>org.glassfish.findbugs</groupId> |
| <artifactId>findbugs</artifactId> |
| <version>1.2</version> |
| </dependency> |
| </dependencies> |
| </plugin> |
| <plugin> |
| <artifactId>maven-deploy-plugin</artifactId> |
| <version>2.7</version> |
| <configuration> |
| <retryFailedDeploymentCount>10</retryFailedDeploymentCount> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>properties-maven-plugin</artifactId> |
| <version>1.0-alpha-2</version> |
| </plugin> |
| <plugin> |
| <artifactId>maven-site-plugin</artifactId> |
| <version>3.2</version> |
| </plugin> |
| <plugin> |
| <artifactId>maven-gpg-plugin</artifactId> |
| <version>1.4</version> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>buildnumber-maven-plugin</artifactId> |
| <version>1.1</version> |
| <configuration> |
| <locale>en-US</locale> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.glassfish.build</groupId> |
| <artifactId>gfnexus-maven-plugin</artifactId> |
| <version>0.18</version> |
| <configuration> |
| <stagingRepos> |
| <stagingRepo> |
| <ref>org.glassfish.jaxb:jaxb-core:${project.version}:jar</ref> |
| <profile>org.glassfish.jaxb</profile> |
| </stagingRepo> |
| <stagingRepo> |
| <ref>com.sun.xml.bind:jaxb-core:${project.version}:jar</ref> |
| <profile>javax.xml.bind</profile> |
| </stagingRepo> |
| </stagingRepos> |
| <promotionProfile>metro</promotionProfile> |
| <message>JAXB-${project.version}</message> |
| </configuration> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| |
| <plugins> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>build-helper-maven-plugin</artifactId> |
| </plugin> |
| <plugin> |
| <artifactId>maven-enforcer-plugin</artifactId> |
| <version>1.0.1</version> |
| <executions> |
| <execution> |
| <id>enforce-versions</id> |
| <goals> |
| <goal>enforce</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <rules> |
| <requireJavaVersion> |
| <version>[1.6,)</version> |
| </requireJavaVersion> |
| <requireMavenVersion> |
| <version>[3.0.3,)</version> |
| </requireMavenVersion> |
| <DependencyConvergence/> |
| </rules> |
| </configuration> |
| </plugin> |
| <plugin> |
| <artifactId>maven-site-plugin</artifactId> |
| <configuration> |
| <reportPlugins> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>findbugs-maven-plugin</artifactId> |
| <version>${findbugs.version}</version> |
| <configuration> |
| <skip>${findbugs.skip}</skip> |
| <threshold>${findbugs.threshold}</threshold> |
| <excludeFilterFile> |
| ${findbugs.common},${findbugs.exclude} |
| </excludeFilterFile> |
| </configuration> |
| </plugin> |
| </reportPlugins> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>buildnumber-maven-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>create-buildnumber</id> |
| <goals> |
| <goal>create</goal> |
| </goals> |
| <configuration> |
| <getRevisionOnlyOnce>true</getRevisionOnlyOnce> |
| <revisionOnScmFailure>unknown</revisionOnScmFailure> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.glassfish.build</groupId> |
| <artifactId>gfnexus-maven-plugin</artifactId> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <modules> |
| <module>boms/bom</module> |
| <module>boms/bom-ext</module> |
| <module>external</module> |
| <module>codemodel</module> |
| <module>txw</module> |
| <module>core</module> |
| <module>runtime</module> |
| <module>xjc</module> |
| <module>jxc</module> |
| <module>bundles</module> |
| </modules> |
| |
| <profiles> |
| <profile> |
| <id>default-profile</id> |
| <activation> |
| <property> |
| <name>!dev</name> |
| </property> |
| </activation> |
| <modules> |
| <module>docs</module> |
| </modules> |
| </profile> |
| <profile> |
| <id>sources-profile</id> |
| <properties> |
| <skipSources>false</skipSources> |
| </properties> |
| <build> |
| <plugins> |
| <plugin> |
| <artifactId>maven-source-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>attach-sources</id> |
| <goals> |
| <goal>jar-no-fork</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>attach-javadocs</id> |
| <goals> |
| <goal>jar</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| <profile> |
| <id>release-profile</id> |
| <properties> |
| <skipSources>false</skipSources> |
| </properties> |
| <build> |
| <plugins> |
| <plugin> |
| <artifactId>maven-site-plugin</artifactId> |
| <configuration> |
| <skipDeploy>true</skipDeploy> |
| </configuration> |
| </plugin> |
| <plugin> |
| <artifactId>maven-source-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>attach-sources</id> |
| <goals> |
| <goal>jar-no-fork</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>attach-javadocs</id> |
| <goals> |
| <goal>jar</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <artifactId>maven-gpg-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>sign-artifacts</id> |
| <phase>verify</phase> |
| <goals> |
| <goal>sign</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <artifactId>maven-deploy-plugin</artifactId> |
| <inherited>true</inherited> |
| <configuration> |
| <retryFailedDeploymentCount>10</retryFailedDeploymentCount> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| <profile> |
| <id>default-tools.jar</id> |
| <activation> |
| <file> |
| <exists>${java.home}/../lib/tools.jar</exists> |
| </file> |
| </activation> |
| <properties> |
| <tools.jar>${java.home}/../lib/tools.jar</tools.jar> |
| </properties> |
| </profile> |
| <profile> |
| <id>default-tools.jar-mac</id> |
| <activation> |
| <file> |
| <exists>${java.home}/../Classes/classes.jar</exists> |
| </file> |
| </activation> |
| <properties> |
| <tools.jar>${java.home}/../Classes/classes.jar</tools.jar> |
| </properties> |
| </profile> |
| <profile> |
| <id>default-rt.jar</id> |
| <activation> |
| <file> |
| <exists>${java.home}/../jre/lib/rt.jar</exists> |
| </file> |
| </activation> |
| <properties> |
| <rt.jar>${java.home}/../jre/lib/rt.jar</rt.jar> |
| </properties> |
| </profile> |
| <profile> <!--todo: remove me--> |
| <id>default-rt.jar-mac</id> |
| <activation> |
| <file> |
| <exists>${java.home}/../Classes/classes.jar</exists> |
| </file> |
| </activation> |
| <properties> |
| <rt.jar>${java.home}/../Classes/classes.jar</rt.jar> |
| </properties> |
| </profile> |
| <profile> |
| <id>dev-impl</id> |
| <activation> |
| <property> |
| <name>dev</name> |
| </property> |
| </activation> |
| </profile> |
| <profile> |
| <id>coverage</id> |
| <activation> |
| <property> |
| <name>cobertura-build</name> |
| </property> |
| </activation> |
| <properties> |
| <cobertura.report.format>xml</cobertura.report.format> |
| <cobertura.version>1.9.4.1</cobertura.version> |
| <cobertura.skip>false</cobertura.skip> |
| <net.sourceforge.cobertura.datafile>${basedir}/target/cobertura/cobertura.ser</net.sourceforge.cobertura.datafile> |
| </properties> |
| <dependencies> |
| <!-- cobertura library --> |
| <dependency> |
| <groupId>net.sourceforge.cobertura</groupId> |
| <artifactId>cobertura</artifactId> |
| <version>${cobertura.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>oro</groupId> |
| <artifactId>oro</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>asm</groupId> |
| <artifactId>asm</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>asm</groupId> |
| <artifactId>asm-tree</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>log4j</groupId> |
| <artifactId>log4j</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <!-- needed for cobertura-instrument ant task to work |
| and to not be included in assemblies/shaded jars --> |
| <dependency> |
| <groupId>oro</groupId> |
| <artifactId>oro</artifactId> |
| <version>2.0.8</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>asm</groupId> |
| <artifactId>asm</artifactId> |
| <version>3.3.1</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>asm</groupId> |
| <artifactId>asm-tree</artifactId> |
| <version>3.3.1</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>log4j</groupId> |
| <artifactId>log4j</artifactId> |
| <version>1.2.17</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| <build> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>cobertura-maven-plugin</artifactId> |
| <version>2.5.2</version> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>cobertura-maven-plugin</artifactId> |
| <inherited>true</inherited> |
| <configuration> |
| <attach>true</attach> |
| <skip>${cobertura.skip}</skip> |
| </configuration> |
| <executions> |
| <execution> |
| <id>instrument-code</id> |
| <phase>process-classes</phase> |
| <goals> |
| <goal>instrument</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-source-plugin</artifactId> |
| <inherited>true</inherited> |
| <executions> |
| <execution> |
| <id>attach-sources</id> |
| <goals> |
| <goal>jar</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| </project> |