pom.xml 8.2 KB
Newer Older
1
<project xmlns="http://maven.apache.org/POM/4.0.0"
2 3
		 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">
4

5
  <!--
6 7 8 9 10
      
      This POM cannot be used to build Spring; it is a work in progress and should only be used as
      part of a Maven repository upload bundle using artifacts created by the spring build system. 
      
	-->
11

12 13
  <modelVersion>4.0.0</modelVersion>
  <groupId>org.springframework</groupId>
M
Mark Pollack 已提交
14
  <artifactId>spring-parent</artifactId>
15
  <packaging>pom</packaging>
16
  <name>Spring Framework - Parent</name>
A
Arjen Poutsma 已提交
17
  <version>3.0.5.BUILD-SNAPSHOT</version>
18
  <description>Spring Framework Parent</description>
19 20 21 22 23
  <scm>
    <url>https://fisheye.springframework.org/browse/spring-framework</url>
    <connection>scm:svn:https://src.springframework.org/svn/spring-framework/trunk</connection>
    <developerConnection>scm:svn:https://src.springframework.org/svn/spring-framework/trunk</developerConnection>
  </scm>
24 25 26 27 28 29 30 31 32 33 34 35 36 37

  <dependencyManagement>
    <dependencies>
      <dependency>
        <groupId>javax.xml.ws</groupId>
        <artifactId>jaxws-api</artifactId>
        <version>2.1-1</version>
        <exclusions>
          <exclusion>
            <groupId>javax.jws</groupId>
            <artifactId>jsr181</artifactId>
          </exclusion>
        </exclusions>
      </dependency>
M
Mark Pollack 已提交
38
      <dependency>
39 40
		<groupId>javax.inject</groupId>
		<artifactId>com.springsource.javax.inject</artifactId>
C
Costin Leau 已提交
41
		<version>1.0.0</version>
42
		<scope>provided</scope> 
M
Mark Pollack 已提交
43
      </dependency>
44 45 46
      <dependency>
        <groupId>junit</groupId>
        <artifactId>junit</artifactId>
M
Mark Pollack 已提交
47
        <version>4.7</version>
48 49 50
        <scope>test</scope>
      </dependency>
      <dependency>
51 52
		<groupId>org.aspectj</groupId>
		<artifactId>aspectjweaver</artifactId>
C
Costin Leau 已提交
53
		<version>1.6.8</version>
54
		<optional>true</optional>
M
Mark Pollack 已提交
55 56
      </dependency>
      <dependency>
57 58 59 60
		<groupId>org.easymock</groupId>
		<artifactId>easymock</artifactId>
		<version>2.5.1</version>
		<scope>test</scope>
M
Mark Pollack 已提交
61 62
      </dependency>
      <dependency>
63 64
		<groupId>org.slf4j</groupId>
		<artifactId>slf4j-api</artifactId>
C
Costin Leau 已提交
65
		<version>1.5.10</version>
66 67 68 69
      </dependency>
      <dependency>
		<groupId>org.slf4j</groupId>
		<artifactId>slf4j-log4j12</artifactId>
C
Costin Leau 已提交
70
		<version>1.5.10</version>
71 72 73 74
      </dependency>
      <dependency>
		<groupId>log4j</groupId>
		<artifactId>log4j</artifactId>
M
Mark Pollack 已提交
75
        <version>1.2.15</version>
76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94
		<scope>test</scope>
		<exclusions>
		  <exclusion>
			<groupId>javax.mail</groupId>
			<artifactId>mail</artifactId>
		  </exclusion>
		  <exclusion>
			<groupId>javax.jms</groupId>
			<artifactId>jms</artifactId>
		  </exclusion>
		  <exclusion>
			<groupId>com.sun.jdmk</groupId>
			<artifactId>jmxtools</artifactId>
		  </exclusion>
		  <exclusion>
			<groupId>com.sun.jmx</groupId>
			<artifactId>jmxri</artifactId>
		  </exclusion>
		</exclusions>
95
      </dependency>
96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117
    </dependencies>
  </dependencyManagement>

  <profiles>
    <profile>
      <id>strict</id>
      <properties>
        <maven.test.failure.ignore>false</maven.test.failure.ignore>
      </properties>
    </profile>
    <profile>
      <id>fast</id>
      <properties>
        <maven.test.skip>true</maven.test.skip>
        <maven.javadoc.skip>true</maven.javadoc.skip>
      </properties>
    </profile>
    <profile>
      <id>staging</id>
      <distributionManagement>
        <site>
          <id>staging</id>
118
          <url>file:///${user.dir}/target/staging</url>
119 120 121
        </site>
        <repository>
          <id>staging</id>
122
          <url>file:///${user.dir}/target/staging</url>
123 124 125
        </repository>
        <snapshotRepository>
          <id>staging</id>
126
          <url>file:///${user.dir}/target/staging</url>
127 128 129
        </snapshotRepository>
      </distributionManagement>
    </profile>
130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148
    <profile>
      <id>central</id>
      <distributionManagement>
        <site>
          <id>staging</id>
          <url>file:///${user.dir}/target/staging</url>
        </site>
        <repository>
          <id>spring-milestone</id>
          <name>Spring Milestone Repository</name>
          <url>s3://maven.springframework.org/milestone</url>
        </repository>
        <snapshotRepository>
          <id>spring-snapshot</id>
          <name>Spring Snapshot Repository</name>
          <url>s3://maven.springframework.org/snapshot</url>
        </snapshotRepository>
      </distributionManagement>
    </profile>
149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166
    <profile>
      <id>release</id>
      <build>
        <plugins>
          <plugin>
            <artifactId>maven-source-plugin</artifactId>
            <executions>
              <execution>
                <id>attach-sources</id>
                <goals>
                  <goal>jar</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
    </profile>
167 168
    <profile>
      <id>build</id>
169 170 171 172 173 174 175 176 177 178 179
	  <repositories>
		<repository>
		  <id>org.springframework.repository.maven</id>
		  <name>SpringSource Maven Repository</name>
		  <url>http://repository.springframework.org/maven/</url>
		  <snapshots><enabled>false</enabled></snapshots>
		</repository>
	  </repositories>
    </profile>
    <profile>
      <id>legacy-build</id>
180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220
      <repositories>
        <repository>
          <id>java.net</id>
          <name>Java.net Repository for Maven</name>
          <url>http://download.java.net/maven/1/</url>
          <layout>legacy</layout>
          <snapshots><enabled>false</enabled></snapshots>
        </repository>
        <!-- for use with jexcelapi 2.6.8, portlet 2.0, javax.el/el-api 2.1 -->
        <repository>
          <id>jboss</id>
          <name>JBoss Repository</name>
          <url>http://repository.jboss.org/maven2</url>
          <snapshots><enabled>false</enabled></snapshots>
        </repository>
        <repository>
          <id>EclipseLink Repo</id>
          <url>http://mirror.cc.vt.edu/pub/eclipse/rt/eclipselink/maven.repo/</url>
          <snapshots><enabled>false</enabled></snapshots>
        </repository>
        <!-- for rome 1.0 -->
        <repository>
          <id>sun-repo-2</id>
          <url>http://download.java.net/maven/2/</url>
          <snapshots><enabled>false</enabled></snapshots>
        </repository>    
        <!-- fallback to S2 bundle repo for com.ibm.websphere.uow, oracle.classloader, com.sun.enterprise.loader, caucho -->
        <repository>
          <id>com.springsource.repository.bundles.release</id>
          <name>SpringSource Enterprise Bundle Repository - SpringSource Bundle Releases</name>
          <url>http://repository.springsource.com/maven/bundles/release/</url>
          <snapshots><enabled>false</enabled></snapshots>
        </repository>
        <repository>
          <id>com.springsource.repository.bundles.external</id>
          <name>SpringSource Enterprise Bundle Repository - External Bundle Releases</name>
          <url>http://repository.springsource.com/maven/bundles/external/</url>
          <snapshots><enabled>false</enabled></snapshots>
        </repository>
      </repositories>
    </profile>
221 222
  </profiles>

223
  <build>
224 225 226 227 228 229 230
	<extensions>
	  <extension>
		<groupId>org.springframework.build.aws</groupId>
		<artifactId>org.springframework.build.aws.maven</artifactId>
		<version>2.0.0.RELEASE</version>
	  </extension>
	</extensions>
231 232 233 234
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
235 236 237
		<configuration>
		  <source>1.5</source>
		  <target>1.6</target>
238 239 240 241 242 243 244 245 246 247 248 249 250
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-plugin</artifactId>
        <configuration>
          <includes>
            <include>**/*Tests.java</include>
          </includes>
          <excludes>
            <exclude>**/Abstract*.java</exclude>
          </excludes>
          <junitArtifactName>junit:junit</junitArtifactName>
251
		  <argLine>-Xmx512m</argLine>
252 253 254 255
        </configuration>
      </plugin>
    </plugins>
  </build>
256

257 258 259 260 261 262 263 264 265 266 267
	<distributionManagement>
		<repository>
			<id>staging</id>
			<url>file:///${user.dir}/target/staging</url>
		</repository>
		<snapshotRepository>
			<id>staging</id>
			<url>file:///${user.dir}/target/staging</url>
		</snapshotRepository>
	</distributionManagement>

268
</project>