spring 源码
https://spring.io/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
83 lines
4.1 KiB
83 lines
4.1 KiB
13 years ago
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<!--
|
||
|
Copyright 2010 SpringSource
|
||
|
|
||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||
|
you may not use this file except in compliance with the License.
|
||
|
You may obtain a copy of the License at
|
||
|
|
||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||
|
|
||
|
Unless required by applicable law or agreed to in writing, software
|
||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||
|
See the License for the specific language governing permissions and
|
||
|
limitations under the License.
|
||
|
-->
|
||
|
<ivysettings>
|
||
|
|
||
|
<typedef name="s3" classname="org.springframework.aws.ivy.S3Resolver"/>
|
||
|
|
||
|
<settings defaultResolver="external-lookup" defaultLatestStrategy="latest-lexico"/>
|
||
|
|
||
|
<caches resolutionCacheDir="${ivy.cache.dir}/resolution" repositoryCacheDir="${ivy.cache.dir}/repository"
|
||
|
ivyPattern="[organisation]/[module]/[revision]/[artifact]-[revision].[ext]"
|
||
|
artifactPattern="[organisation]/[module]/[revision]/[artifact]-[revision].[ext]"
|
||
|
useOrigin="true" checkUpToDate="false"/>
|
||
|
|
||
|
<macrodef name="s3repo">
|
||
|
<attribute name="bucket"/>
|
||
|
<attribute name="artifact.type"/>
|
||
|
<attribute name="release.type"/>
|
||
|
<s3 descriptor="required" accessKey="${accessKey}" secretKey="${secretKey}">
|
||
|
<ivy pattern="s3://@{bucket}/ivy/@{artifact.type}/@{release.type}/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]"/>
|
||
|
<artifact pattern="s3://@{bucket}/ivy/@{artifact.type}/@{release.type}/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]"/>
|
||
|
</s3>
|
||
|
</macrodef>
|
||
|
|
||
|
<macrodef name="localrepo">
|
||
|
<filesystem descriptor="required">
|
||
|
<ivy pattern="${local.repo.dir}/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]"/>
|
||
|
<artifact pattern="${local.repo.dir}/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]"/>
|
||
|
</filesystem>
|
||
|
</macrodef>
|
||
|
|
||
|
<resolvers>
|
||
|
<!-- Integration repositories -->
|
||
|
<filesystem name="integration" descriptor="required">
|
||
|
<ivy pattern="${integration.repo.dir}/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]"/>
|
||
|
<artifact pattern="${integration.repo.dir}/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]"/>
|
||
|
</filesystem>
|
||
|
|
||
|
<!-- Lookup repositories -->
|
||
|
<chain name="external-lookup" returnFirst="true">
|
||
|
<localrepo name="local-external-repository"/>
|
||
|
<s3repo name="bundle-external-repository" bucket="repository.springsource.com" artifact.type="bundles" release.type="external"/>
|
||
|
<s3repo name="library-external-repository" bucket="repository.springsource.com" artifact.type="libraries" release.type="external"/>
|
||
|
</chain>
|
||
|
|
||
|
<chain name="spring-portfolio-lookup" returnFirst="true">
|
||
|
<resolver ref="integration"/>
|
||
|
<localrepo name="local"/>
|
||
|
<s3repo name="bundle-release-repository" bucket="repository.springsource.com" artifact.type="bundles" release.type="release"/>
|
||
|
<s3repo name="bundle-milestone-repository" bucket="repository.springsource.com" artifact.type="bundles" release.type="milestone"/>
|
||
|
<s3repo name="bundle-snapshot-repository" bucket="repository.springsource.com" artifact.type="bundles" release.type="snapshot"/>
|
||
|
<s3repo name="library-release-repository" bucket="repository.springsource.com" artifact.type="libraries" release.type="release"/>
|
||
|
<s3repo name="library-milestone-repository" bucket="repository.springsource.com" artifact.type="libraries" release.type="milestone"/>
|
||
|
<s3repo name="library-snapshot-repository" bucket="repository.springsource.com" artifact.type="libraries" release.type="snapshot"/>
|
||
|
</chain>
|
||
|
|
||
|
<!-- Publishing repositories -->
|
||
|
<s3repo name="ebr-bundle-publish" bucket="${publish.bucket}" artifact.type="bundles" release.type="${adjusted.release.type}"/>
|
||
|
<s3repo name="ebr-library-publish" bucket="${publish.bucket}" artifact.type="libraries" release.type="${adjusted.release.type}"/>
|
||
|
<localrepo name="local-bundle-publish"/>
|
||
|
<localrepo name="local-library-publish"/>
|
||
|
</resolvers>
|
||
|
|
||
|
<modules>
|
||
|
<module organisation="org.springframework.*" name="*" resolver="spring-portfolio-lookup"/>
|
||
|
<module organisation="com.springsource.*" name="*" resolver="spring-portfolio-lookup"/>
|
||
|
</modules>
|
||
|
|
||
|
</ivysettings>
|