1 <?xml version="1.0" encoding="UTF-8"?> 2 3 <!-- 4 Copyright The Codehaus Foundation. 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/xsd/maven-4.0.0.xsd"> 20 <modelVersion>4.0.0</modelVersion> 21 22 <parent> 23 <groupId>org.codehaus.plexus</groupId> 24 <artifactId>plexus</artifactId> 25 <version>2.0.2</version> 26 <relativePath>../pom/pom.xml</relativePath> 27 </parent> 28 29 <artifactId>plexus-utils</artifactId> 30 <version>1.5.15</version> 31 32 <name>Plexus Common Utilities</name> 33 <description>A collection of various utility classes to ease working with strings, files, command lines, XML and more.</description> 34 <url>http://plexus.codehaus.org/plexus-utils</url> 35 36 <scm> 37 <connection>scm:svn:http://svn.codehaus.org/plexus/plexus-utils/tags/plexus-utils-1.5.15</connection> 38 <developerConnection>scm:svn:https://svn.codehaus.org/plexus/plexus-utils/tags/plexus-utils-1.5.15</developerConnection> 39 <url>http://fisheye.codehaus.org/browse/plexus/plexus-utils/tags/plexus-utils-1.5.15</url> 40 </scm> 41 <issueManagement> 42 <system>JIRA</system> 43 <url>http://jira.codehaus.org/browse/PLXUTILS</url> 44 </issueManagement> 45 46 <dependencies> 47 <dependency> 48 <!-- NOTE: plexus-interpolation is SHADED INTO plexus-utils. 49 This is done to provide a migration path from the old 50 interpolation classes in plexus-utils to the current 51 implementation, which was broken out into plexus-interpolation. 52 The old classes still exist in plexus-utils, but are 53 DEPRECATED. 54 --> 55 <groupId>org.codehaus.plexus</groupId> 56 <artifactId>plexus-interpolation</artifactId> 57 <version>1.11</version> 58 <scope>provided</scope> 59 <exclusions> 60 <exclusion> 61 <groupId>org.codehaus.plexus</groupId> 62 <artifactId>plexus-component-api</artifactId> 63 </exclusion> 64 <exclusion> 65 <groupId>org.codehaus.plexus</groupId> 66 <artifactId>plexus-classworlds</artifactId> 67 </exclusion> 68 </exclusions> 69 </dependency> 70 </dependencies> 71 72 <build> 73 <pluginManagement> 74 <plugins> 75 <plugin> 76 <groupId>org.apache.maven.plugins</groupId> 77 <artifactId>maven-shade-plugin</artifactId> 78 <version>1.0.1</version> 79 </plugin> 80 <plugin> 81 <groupId>org.apache.maven.plugins</groupId> 82 <artifactId>maven-release-plugin</artifactId> 83 <version>2.0-beta-7</version> 84 </plugin> 85 </plugins> 86 </pluginManagement> 87 <plugins> 88 <plugin> 89 <groupId>org.apache.maven.plugins</groupId> 90 <artifactId>maven-compiler-plugin</artifactId> 91 <configuration> 92 <!-- surefire requires plexus-utils to be jdk 1.3 compatible --> 93 <source>1.3</source> 94 <target>1.3</target> 95 </configuration> 96 </plugin> 97 <plugin> 98 <groupId>org.apache.maven.plugins</groupId> 99 <artifactId>maven-surefire-plugin</artifactId> 100 <configuration> 101 <!-- required to ensure the test classes are used, not surefire's plexus-utils --> 102 <childDelegation>true</childDelegation> 103 <excludes> 104 <exclude>org/codehaus/plexus/util/FileBasedTestCase.java</exclude> 105 <exclude>**/Test*.java</exclude> 106 </excludes> 107 <systemProperties> 108 <property> 109 <name>JAVA_HOME</name> 110 <value>${JAVA_HOME}</value> 111 </property> 112 <property> 113 <name>M2_HOME</name> 114 <value>${M2_HOME}</value> 115 </property> 116 </systemProperties> 117 </configuration> 118 </plugin> 119 <plugin> 120 <groupId>org.apache.maven.plugins</groupId> 121 <artifactId>maven-shade-plugin</artifactId> 122 <executions> 123 <execution> 124 <id>shade</id> 125 <goals> 126 <goal>shade</goal> 127 </goals> 128 <configuration> 129 <artifactSet> 130 <includes> 131 <include>org.codehaus.plexus:plexus-interpolation</include> 132 </includes> 133 </artifactSet> 134 <relocations> 135 <relocation> 136 <pattern>org.codehaus.plexus.interpolation</pattern> 137 </relocation> 138 </relocations> 139 <keepDependenciesWithProvidedScope>true</keepDependenciesWithProvidedScope> 140 </configuration> 141 </execution> 142 </executions> 143 </plugin> 144 <plugin> 145 <groupId>org.apache.maven.plugins</groupId> 146 <artifactId>maven-release-plugin</artifactId> 147 <configuration> 148 <useReleaseProfile>true</useReleaseProfile> 149 <tagBase>https://svn.codehaus.org/plexus/plexus-utils/tags/</tagBase> 150 <arguments>-Prelease</arguments> 151 </configuration> 152 </plugin> 153 </plugins> 154 </build> 155 156 <profiles> 157 <profile> 158 <id>release</id> 159 <build> 160 <plugins> 161 <plugin> 162 <groupId>org.apache.maven.plugins</groupId> 163 <artifactId>maven-source-plugin</artifactId> 164 <executions> 165 <execution> 166 <id>attach-sources</id> 167 <goals> 168 <goal>jar</goal> 169 </goals> 170 </execution> 171 </executions> 172 </plugin> 173 <plugin> 174 <groupId>org.apache.maven.plugins</groupId> 175 <artifactId>maven-javadoc-plugin</artifactId> 176 <executions> 177 <execution> 178 <id>attach-javadocs</id> 179 <goals> 180 <goal>jar</goal> 181 </goals> 182 </execution> 183 </executions> 184 </plugin> 185 </plugins> 186 </build> 187 </profile> 188 </profiles> 189 190 <reporting> 191 <plugins> 192 <plugin> 193 <artifactId>maven-javadoc-plugin</artifactId> 194 <configuration> 195 <links> 196 <link>http://java.sun.com/j2se/1.4.2/docs/api/</link> 197 </links> 198 </configuration> 199 </plugin> 200 <plugin> 201 <artifactId>maven-jxr-plugin</artifactId> 202 </plugin> 203 </plugins> 204 </reporting> 205 </project> 206