| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825 | <?xml version="1.0" encoding="utf-8"?><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>    <groupId>org.yaml</groupId>    <artifactId>snakeyaml</artifactId>    <version>1.33</version>    <packaging>bundle</packaging>    <properties>        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>        <project.scm.id>bitbucket</project.scm.id>        <release.repo.url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</release.repo.url>        <snapshot.repo.url>https://oss.sonatype.org/content/repositories/snapshots/</snapshot.repo.url>        <maven.compiler.source>7</maven.compiler.source>        <maven.compiler.target>7</maven.compiler.target>        <maven.compiler.testSource>8</maven.compiler.testSource>        <maven.compiler.testTarget>8</maven.compiler.testTarget>        <maven.javadoc.failOnError>false</maven.javadoc.failOnError>        <maven-bundle-plugin.version>5.1.8</maven-bundle-plugin.version>        <maven-resources-plugin.version>3.1.0</maven-resources-plugin.version><!-- for Github CI -->        <cobertura-maven-plugin.version>2.7</cobertura-maven-plugin.version>        <maven-site-plugin.version>3.12.1</maven-site-plugin.version>        <maven-surefire-plugin.version>3.0.0-M7</maven-surefire-plugin.version>        <jdk9-illegal-access-level>deny</jdk9-illegal-access-level>    </properties>    <name>SnakeYAML</name>    <description>YAML 1.1 parser and emitter for Java</description>    <inceptionYear>2008</inceptionYear>    <url>https://bitbucket.org/snakeyaml/snakeyaml</url>    <issueManagement>        <system>Bitbucket</system>        <url>https://bitbucket.org/snakeyaml/snakeyaml/issues</url>    </issueManagement>    <mailingLists>        <mailingList>            <name>SnakeYAML developers and users List</name>            <post>snakeyaml-core@googlegroups.com</post>        </mailingList>    </mailingLists>    <scm>        <connection>scm:git:http://bitbucket.org/snakeyaml/snakeyaml</connection>        <developerConnection>scm:git:ssh://git@bitbucket.org/snakeyaml/snakeyaml</developerConnection>        <url>https://bitbucket.org/snakeyaml/snakeyaml/src</url>        <tag>snakeyaml-1.33</tag>    </scm>    <licenses>        <license>            <name>Apache License, Version 2.0</name>            <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>            <distribution>repo</distribution>        </license>    </licenses>    <developers>        <developer>            <id>asomov</id>            <name>Andrey Somov</name>            <email>public.somov@gmail.com</email>        </developer>        <developer>            <id>maslovalex</id>            <name>Alexander Maslov</name>            <email>alexander.maslov@gmail.com</email>        </developer>    </developers>    <dependencies>        <dependency>            <groupId>junit</groupId>            <artifactId>junit</artifactId>            <version>4.13.2</version>            <scope>test</scope>        </dependency>        <dependency>            <groupId>org.apache.velocity</groupId>            <artifactId>velocity-engine-core</artifactId>            <version>2.3</version>            <scope>test</scope>        </dependency>        <dependency>            <groupId>joda-time</groupId>            <artifactId>joda-time</artifactId>            <version>2.11.1</version>            <scope>test</scope>        </dependency>        <dependency>            <groupId>org.projectlombok</groupId>            <artifactId>lombok</artifactId>            <version>1.18.24</version>            <scope>test</scope>        </dependency>    </dependencies>    <distributionManagement>        <repository>            <id>sonatype-nexus-staging</id>            <name>Nexus Release Repository</name>            <url>${release.repo.url}</url>        </repository>        <snapshotRepository>            <id>sonatype-nexus-staging</id>            <name>Sonatype Nexus Snapshots</name>            <url>${snapshot.repo.url}</url>            <uniqueVersion>false</uniqueVersion>        </snapshotRepository>    </distributionManagement>    <build>        <testResources>            <testResource>                <directory>${basedir}/src/test/resources</directory>                <filtering>true</filtering>            </testResource>        </testResources>        <pluginManagement>            <plugins>                <plugin>                    <groupId>org.apache.maven.plugins</groupId>                    <artifactId>maven-resources-plugin</artifactId>                    <version>${maven-resources-plugin.version}</version>                </plugin>                <plugin>                    <groupId>org.apache.maven.plugins</groupId>                    <artifactId>maven-javadoc-plugin</artifactId>                    <version>3.4.1</version>                    <configuration>                        <excludePackageNames>org.yaml.snakeyaml.external.*</excludePackageNames>                    </configuration>                </plugin>                <plugin>                    <groupId>org.apache.maven.plugins</groupId>                    <artifactId>maven-site-plugin</artifactId>                    <version>${maven-site-plugin.version}</version>                </plugin>                <plugin>                    <groupId>org.apache.maven.plugins</groupId>                    <artifactId>maven-jar-plugin</artifactId>                    <version>3.2.2</version>                </plugin>                <plugin>                    <groupId>org.codehaus.mojo</groupId>                    <artifactId>cobertura-maven-plugin</artifactId>                    <version>${cobertura-maven-plugin.version}</version>                </plugin>                <plugin>                    <groupId>org.apache.maven.plugins</groupId>                    <artifactId>maven-compiler-plugin</artifactId>                    <version>3.10.1</version>                </plugin>                <plugin>                    <groupId>org.codehaus.mojo</groupId>                    <artifactId>build-helper-maven-plugin</artifactId>                    <version>3.3.0</version>                </plugin>                <plugin>                    <groupId>org.apache.maven.plugins</groupId>                    <artifactId>maven-surefire-plugin</artifactId>                    <version>${maven-surefire-plugin.version}</version>                    <configuration>                        <environmentVariables>                            <EnvironmentKey1>EnvironmentValue1</EnvironmentKey1>                            <EnvironmentEmpty />                        </environmentVariables>                    </configuration>                </plugin>            </plugins>        </pluginManagement>        <plugins>            <plugin>                <groupId>org.apache.maven.plugins</groupId>                <artifactId>maven-enforcer-plugin</artifactId>                <version>3.1.0</version>                <executions>                    <execution>                        <id>enforce-maven</id>                        <goals>                            <goal>enforce</goal>                        </goals>                        <configuration>                            <rules>                                <requireMavenVersion>                                    <version>3.3.0</version>                                </requireMavenVersion>                            </rules>                        </configuration>                    </execution>                </executions>            </plugin>            <plugin>                <groupId>org.apache.maven.plugins</groupId>                <artifactId>maven-compiler-plugin</artifactId>                <configuration>                    <source>${maven.compiler.source}</source>                    <target>${maven.compiler.target}</target>                    <encoding>${project.build.sourceEncoding}</encoding>                </configuration>            </plugin>            <plugin>                <groupId>org.apache.maven.plugins</groupId>                <artifactId>maven-surefire-plugin</artifactId>                <configuration>                    <argLine>-Xmx512m</argLine>                    <includes>                        <include>**/*Test.java</include>                    </includes>                    <excludes>                        <exclude>**/StressTest.java</exclude>                        <exclude>**/ParallelTest.java</exclude>                    </excludes>                </configuration>            </plugin>            <plugin>                <groupId>org.apache.maven.plugins</groupId>                <artifactId>maven-eclipse-plugin</artifactId>                <version>2.10</version>                <configuration>                    <buildOutputDirectory>bin</buildOutputDirectory>                </configuration>            </plugin>            <plugin>                <groupId>org.apache.maven.plugins</groupId>                <artifactId>maven-changes-plugin</artifactId>                <version>2.12.1</version>                <executions>                    <execution>                        <id>validate-changes</id>                        <phase>pre-site</phase>                        <goals>                            <goal>changes-validate</goal>                        </goals>                        <configuration>                            <failOnError>true</failOnError>                        </configuration>                    </execution>                </executions>            </plugin>            <plugin>                <groupId>org.apache.maven.plugins</groupId>                <artifactId>maven-source-plugin</artifactId>                <version>3.2.1</version>                <executions>                    <execution>                        <goals>                            <goal>jar-no-fork</goal>                        </goals>                    </execution>                </executions>            </plugin>            <plugin>                <groupId>org.apache.maven.plugins</groupId>                <artifactId>maven-javadoc-plugin</artifactId>                <version>3.4.1</version>                <executions>                    <execution>                        <id>attach-javadocs</id>                        <goals>                            <goal>jar</goal>                        </goals>                    </execution>                </executions>            </plugin>            <plugin>                <groupId>com.mycila.maven-license-plugin</groupId>                <artifactId>maven-license-plugin</artifactId>                <version>1.10.b1</version>                <configuration>                    <header>src/etc/header.txt</header>                    <quiet>false</quiet>                    <failIfMissing>true</failIfMissing>                    <aggregate>false</aggregate>                    <includes>                        <include>src/**/*.java</include>                    </includes>                    <excludes>                        <exclude>src/main/java/org/yaml/snakeyaml/external/**</exclude>                    </excludes>                    <useDefaultExcludes>true</useDefaultExcludes>                    <useDefaultMapping>true</useDefaultMapping>                    <strictCheck>true</strictCheck>                    <encoding>UTF-8</encoding>                </configuration>                <executions>                    <execution>                        <phase>site</phase>                        <goals>                            <goal>format</goal>                        </goals>                    </execution>                </executions>            </plugin>            <plugin>                <groupId>org.apache.felix</groupId>                <artifactId>maven-bundle-plugin</artifactId>                <version>${maven-bundle-plugin.version}</version>                <extensions>true</extensions>                <configuration>                    <instructions>                        <_nouses>true</_nouses>                        <Export-Package>                            !org.yaml.snakeyaml.external*,                            org.yaml.snakeyaml.*;version=${project.version}                        </Export-Package>                        <Automatic-Module-Name>org.yaml.snakeyaml</Automatic-Module-Name>                    </instructions>                </configuration>            </plugin>            <plugin>                <artifactId>maven-site-plugin</artifactId>                <version>${maven-site-plugin.version}</version>                <executions>                    <execution>                        <id>attach-descriptor</id>                        <goals>                            <goal>attach-descriptor</goal>                        </goals>                    </execution>                </executions>            </plugin>            <plugin>                <groupId>org.apache.maven.plugins</groupId>                <artifactId>maven-release-plugin</artifactId>                <version>2.5.3</version>                <configuration>                    <autoVersionSubmodules>true</autoVersionSubmodules>                    <useReleaseProfile>false</useReleaseProfile>                    <releaseProfiles>android,release</releaseProfiles>                    <goals>deploy nexus-staging:release</goals>                </configuration>            </plugin>            <plugin>                <groupId>org.sonatype.plugins</groupId>                <artifactId>nexus-staging-maven-plugin</artifactId>                <!-- the version is compatible with Nexus, do not change -->                <version>1.6.8</version>                <extensions>true</extensions>                <configuration>                    <serverId>sonatype-nexus-staging</serverId>                    <nexusUrl>https://oss.sonatype.org/</nexusUrl>                    <autoReleaseAfterClose>false</autoReleaseAfterClose>                    <keepStagingRepositoryOnFailure>true</keepStagingRepositoryOnFailure>                    <keepStagingRepositoryOnCloseRuleFailure>true</keepStagingRepositoryOnCloseRuleFailure>                </configuration>            </plugin>        </plugins>    </build>    <reporting>        <plugins>            <plugin>                <groupId>org.apache.maven.plugins</groupId>                <artifactId>maven-changes-plugin</artifactId>                <version>2.12.1</version>                <configuration>                    <issueLinkTemplate>https://bitbucket.org/snakeyaml/snakeyaml/issues/%ISSUE%</issueLinkTemplate>                </configuration>                <reportSets>                    <reportSet>                        <reports>                            <report>changes-report</report>                        </reports>                    </reportSet>                </reportSets>            </plugin>            <plugin>                <groupId>org.apache.maven.plugins</groupId>                <artifactId>maven-surefire-report-plugin</artifactId>                <version>${maven-surefire-plugin.version}</version>                <configuration>                    <showSuccess>true</showSuccess>                </configuration>            </plugin>            <plugin>                <groupId>org.apache.maven.plugins</groupId>                <artifactId>maven-javadoc-plugin</artifactId>                <reportSets>                    <reportSet>                        <id>html</id>                        <configuration>                            <doctitle>API for ${project.name} ${project.version}</doctitle>                            <windowtitle>API for ${project.name} ${project.version}</windowtitle>                            <testDoctitle>Test API for ${project.name} ${project.version}</testDoctitle>                            <testWindowtitle>Test API for ${project.name} ${project.version}</testWindowtitle>                        </configuration>                        <reports>                            <report>javadoc</report>                        </reports>                    </reportSet>                </reportSets>            </plugin>        </plugins>    </reporting>    <profiles>        <profile>            <id>toolchain</id>            <activation>                <file>                    <exists>${user.home}/.m2/toolchains.xml</exists>                </file>            </activation>            <build>                <plugins>                    <plugin>                        <groupId>org.apache.maven.plugins</groupId>                        <artifactId>maven-toolchains-plugin</artifactId>                        <version>3.1.0</version>                        <executions>                            <execution>                                <phase>validate</phase>                                <goals>                                    <goal>toolchain</goal>                                </goals>                            </execution>                        </executions>                        <configuration>                            <toolchains>                                <jdk>                                    <version>${maven.compiler.testTarget}</version>                                </jdk>                            </toolchains>                        </configuration>                    </plugin>                </plugins>            </build>        </profile>        <profile>            <id>with-coverage</id>            <build>                <plugins>                    <plugin>                        <groupId>org.codehaus.mojo</groupId>                        <artifactId>cobertura-maven-plugin</artifactId>                        <configuration>                            <check>                                <totalBranchRate>80</totalBranchRate>                                <totalLineRate>95</totalLineRate>                            </check>                            <formats>                                <format>html</format>                                <format>xml</format>                            </formats>                            <instrumentation>                                <excludes>                                    <exclude>org/yaml/snakeyaml/external/**</exclude>                                </excludes>                            </instrumentation>                        </configuration>                        <executions>                            <execution>                                <goals>                                    <goal>clean</goal>                                    <goal>check</goal>                                </goals>                            </execution>                        </executions>                    </plugin>                </plugins>            </build>            <reporting>                <plugins>                    <plugin>                        <groupId>org.codehaus.mojo</groupId>                        <artifactId>cobertura-maven-plugin</artifactId>                        <configuration>                            <check>                                <branchRate>85</branchRate>                                <lineRate>85</lineRate>                                <haltOnFailure>true</haltOnFailure>                            </check>                            <formats>                                <format>html</format>                                <format>xml</format>                            </formats>                        </configuration>                        <reportSets>                            <reportSet>                                <reports>                                    <report>cobertura</report>                                </reports>                            </reportSet>                        </reportSets>                    </plugin>                </plugins>            </reporting>        </profile>        <profile>            <id>with-java8-tests</id>            <properties>                <maven.compiler.testSource>1.8</maven.compiler.testSource>                <maven.compiler.testTarget>1.8</maven.compiler.testTarget>            </properties>            <build>                <plugins>                    <plugin>                        <groupId>org.codehaus.mojo</groupId>                        <artifactId>build-helper-maven-plugin</artifactId>                        <executions>                            <execution>                                <id>add-java8-test-source</id>                                <phase>generate-test-sources</phase>                                <goals>                                    <goal>add-test-source</goal>                                </goals>                                <configuration>                                    <sources>                                        <source>${basedir}/src/test/java8/</source>                                    </sources>                                </configuration>                            </execution>                        </executions>                    </plugin>                </plugins>            </build>        </profile>        <profile>            <id>with-java11-tests</id>            <properties>                <maven.compiler.testSource>11</maven.compiler.testSource>                <maven.compiler.testTarget>11</maven.compiler.testTarget>            </properties>            <build>                <plugins>                    <plugin>                        <groupId>org.apache.maven.plugins</groupId>                        <artifactId>maven-surefire-plugin</artifactId>                        <configuration>                            <argLine>--illegal-access=${jdk9-illegal-access-level} -Xmx512m</argLine>                        </configuration>                    </plugin>                    <plugin>                        <groupId>org.apache.maven.plugins</groupId>                        <artifactId>maven-compiler-plugin</artifactId>                        <configuration>                            <compilerArgs>                                <!-- arg>-Xlint:unchecked</arg -->                                <arg>-Xlint:deprecation</arg>                            </compilerArgs>                        </configuration>                    </plugin>                    <plugin>                        <groupId>org.codehaus.mojo</groupId>                        <artifactId>build-helper-maven-plugin</artifactId>                        <executions>                            <execution>                                <id>add-java11-test-source</id>                                <phase>generate-test-sources</phase>                                <goals>                                    <goal>add-test-source</goal>                                </goals>                                <configuration>                                    <sources>                                        <source>${basedir}/src/test/java8/</source>                                        <source>${basedir}/src/test/java11/</source>                                    </sources>                                </configuration>                            </execution>                        </executions>                    </plugin>                </plugins>            </build>        </profile>        <profile>            <id>release</id>            <activation>                <property>                    <name>performRelease</name>                    <value>true</value>                </property>            </activation>            <build>                <plugins>                    <plugin>                        <groupId>org.apache.maven.plugins</groupId>                        <artifactId>maven-gpg-plugin</artifactId>                        <version>3.0.1</version>                        <executions>                            <execution>                                <id>sign-artifacts</id>                                <phase>verify</phase>                                <goals>                                    <goal>sign</goal>                                </goals>                            </execution>                        </executions>                    </plugin>                </plugins>            </build>        </profile>        <profile>            <id>findbugs</id>            <build>                <plugins>                    <plugin>                        <groupId>org.codehaus.mojo</groupId>                        <artifactId>findbugs-maven-plugin</artifactId>                        <version>3.0.5</version>                    </plugin>                    <plugin>                        <groupId>org.apache.maven.plugins</groupId>                        <artifactId>maven-pmd-plugin</artifactId>                        <version>3.19.0</version>                    </plugin>                </plugins>            </build>            <reporting>                <plugins>                    <plugin>                        <groupId>org.apache.maven.plugins</groupId>                        <artifactId>maven-jxr-plugin</artifactId>                        <version>3.3.0</version>                    </plugin>                    <plugin>                        <groupId>org.codehaus.mojo</groupId>                        <artifactId>findbugs-maven-plugin</artifactId>                        <version>3.0.5</version>                    </plugin>                    <plugin>                        <groupId>org.apache.maven.plugins</groupId>                        <artifactId>maven-pmd-plugin</artifactId>                        <version>3.19.0</version>                        <configuration>                            <linkXref>true</linkXref>                            <sourceEncoding>utf-8</sourceEncoding>                            <minimumTokens>100</minimumTokens>                            <targetJdk>1.8</targetJdk>                            <excludes>                                <exclude>**/external/*.java</exclude>                            </excludes>                        </configuration>                    </plugin>                </plugins>            </reporting>        </profile>        <profile>            <id>android</id>            <properties>                <android.src>${project.build.directory}/android/src</android.src>                <android.src.main>${android.src}/main/java</android.src.main>                <android.src.test>${android.src}/test/java</android.src.test>                <android.classes>${project.build.directory}/android/classes/</android.classes>                <android.test.classes>${project.build.directory}/android/test-classes/</android.test.classes>            </properties>            <build>                <plugins>                    <plugin>                        <groupId>org.apache.maven.plugins</groupId>                        <artifactId>maven-resources-plugin</artifactId>                        <version>${maven-resources-plugin.version}</version>                        <executions>                            <execution>                                <id>copy-src-for-android</id>                                <phase>generate-sources</phase>                                <goals>                                    <goal>copy-resources</goal>                                </goals>                                <configuration>                                    <outputDirectory>${android.src.main}</outputDirectory>                                    <resources>                                        <resource>                                            <directory>${basedir}/src/main/java</directory>                                            <filtering>false</filtering>                                            <excludes>                                                <exclude>org/yaml/snakeyaml/introspector/MethodProperty.java</exclude>                                            </excludes>                                        </resource>                                    </resources>                                </configuration>                            </execution>                            <execution>                                <id>copy-test-src-for-android</id>                                <phase>generate-sources</phase>                                <goals>                                    <goal>copy-resources</goal>                                </goals>                                <configuration>                                    <outputDirectory>${android.src.test}</outputDirectory>                                    <resources>                                        <resource>                                            <directory>${basedir}/src/test/java</directory>                                            <filtering>false</filtering>                                            <excludes>                                                <exclude>org/yaml/snakeyaml/introspector/MethodProperty.java</exclude>                                            </excludes>                                        </resource>                                    </resources>                                </configuration>                            </execution>                            <execution>                                <id>copy-test-resources-for-android</id>                                <phase>process-test-resources</phase>                                <goals>                                    <goal>copy-resources</goal>                                </goals>                                <configuration>                                    <outputDirectory>${android.test.classes}</outputDirectory>                                    <resources>                                        <resource>                                            <directory>${basedir}/src/test/resources</directory>                                            <filtering>true</filtering>                                        </resource>                                    </resources>                                </configuration>                            </execution>                        </executions>                    </plugin>                    <plugin>                        <groupId>org.apache.maven.plugins</groupId>                        <artifactId>maven-patch-plugin</artifactId>                        <version>1.2</version>                        <configuration>                            <patchDirectory>${basedir}/src/patches/android/</patchDirectory>                            <targetDirectory>${android.src}</targetDirectory>                            <skipApplication>false</skipApplication>                            <strip>2</strip>                        </configuration>                        <executions>                            <execution>                                <id>android-patches</id>                                <phase>process-sources</phase>                                <goals>                                    <goal>apply</goal>                                </goals>                                <configuration>                                    <patchTrackingFile>${project.build.directory}/android/patches-applied.txt</patchTrackingFile>                                    <naturalOrderProcessing>true</naturalOrderProcessing>                                </configuration>                            </execution>                        </executions>                    </plugin>                    <plugin>                        <groupId>org.apache.maven.plugins</groupId>                        <artifactId>maven-antrun-plugin</artifactId>                        <version>3.1.0</version>                        <executions>                            <execution>                                <id>build-for-android</id>                                <phase>compile</phase>                                <goals>                                    <goal>run</goal>                                </goals>                                <configuration>                                    <target>                                        <mkdir dir="${android.classes}" />                                        <mkdir dir="${android.test.classes}" />                                        <!-- compile patched sources -->                                        <javac srcdir="${android.src.main}" destdir="${android.classes}" classpath="${android.classes}" encoding="${project.build.sourceEncoding}" target="1.7" source="1.7" debug="true" includeantruntime="true" fork="true" />                                        <!-- compile test classes. Exclude some - not for BeanAccess.FIELD -->                                        <javac srcdir="${android.src.test}:${basedir}/src/test/resources" destdir="${android.test.classes}" classpath="${android.classes}:${android.test.classes}:${junit:junit:jar}:${org.apache.velocity:velocity:jar}:${joda-time:joda-time:jar}:${commons-io:commons-io:jar}:${commons-lang:commons-lang:jar}:${org.hamcrest:hamcrest-core:jar}:${org.projectlombok:lombok:jar}" encoding="${project.build.sourceEncoding}" target="1.7" source="1.7" debug="true" includeantruntime="true" fork="true">                                            <exclude name="org/yaml/snakeyaml/introspector/MethodPropertyTest.java" />                                            <exclude name="org/yaml/snakeyaml/representer/FilterPropertyToDumpTest.java" />                                            <exclude name="org/yaml/snakeyaml/issues/issue60/CustomOrderTest.java" />                                            <exclude name="org/yaml/snakeyaml/issues/issue29/FlexibleScalarStylesInJavaBeanTest.java" />                                            <!-- uses filtered resources. Additional tricks needed to be able to run under current build -->                                            <exclude name="org/yaml/snakeyaml/issues/issue318/ContextClassLoaderTest.java" />                                            <exclude name="org/yaml/snakeyaml/emitter/template/VelocityTest.java" />                                        </javac>                                    </target>                                </configuration>                            </execution>                        </executions>                    </plugin>                    <plugin>                        <artifactId>maven-surefire-plugin</artifactId>                        <executions>                            <execution>                                <id>test-android</id>                                <phase>test</phase>                                <goals>                                    <goal>test</goal>                                </goals>                                <configuration>                                    <classesDirectory>${android.classes}</classesDirectory>                                    <reportsDirectory>${project.build.directory}/android/surefire-reports</reportsDirectory>                                    <testClassesDirectory>${android.test.classes}</testClassesDirectory>                                    <!--                                    We ignore test failures for android build at the moment.                                    Most of the FAILs are because of testing with "property" not "field" access.                                    But we still fail whole build if there are test errors.                                    -->                                    <testFailureIgnore>true</testFailureIgnore>                                </configuration>                            </execution>                        </executions>                    </plugin>                    <plugin>                        <artifactId>maven-jar-plugin</artifactId>                        <executions>                            <execution>                                <id>package-android-jar</id>                                <phase>package</phase>                                <goals>                                    <goal>jar</goal>                                </goals>                                <configuration>                                    <classesDirectory>${android.classes}</classesDirectory>                                    <classifier>android</classifier>                                </configuration>                            </execution>                        </executions>                    </plugin>                </plugins>            </build>        </profile>        <profile>            <id>reformat</id>            <build>                <plugins>                    <plugin>                        <groupId>net.revelc.code.formatter</groupId>                        <artifactId>formatter-maven-plugin</artifactId>                        <executions>                            <execution>                                <goals>                                    <goal>format</goal>                                </goals>                                <configuration>                                    <configFile>src/etc/eclipse-java-google-style.xml</configFile>                                    <encoding>UTF-8</encoding>                                </configuration>                            </execution>                        </executions>                    </plugin>                </plugins>            </build>        </profile>    </profiles></project>
 |