maven/its/README.md

53 lines
1.8 KiB
Markdown
Raw Normal View History

2015-06-20 07:55:50 -04:00
<!---
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you 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.
-->
2013-11-29 15:13:13 -05:00
Maven Core Integration Tests
2014-02-09 06:07:54 -05:00
========
<https://maven.apache.org/core-its/>
2013-11-29 15:13:13 -05:00
If you want to run the integration tests against a custom build of Maven use the following command:
```
export MAVENCODEBASE=<path-to-maven-codebase>
```
You can choose to build the maven project from here with:
```
mvn verify -P local-it -f "$MAVENCODEBASE"
```
Now run (don't forget to update the versions!)
```
mvn clean install -Prun-its,embedded -Dmaven.repo.local=`pwd`/repo -DmavenDistro="$MAVENCODEBASE/apache-maven/target/apache-maven-<VERSION>-bin.zip" -DwrapperDistroDir="$MAVENCODEBASE/apache-maven/target" -DmavenWrapper="$MAVENCODEBASE/maven-wrapper/target/maven-wrapper.jar"
```
or if behind a proxy
```
mvn clean install -Prun-its -Dmaven.repo.local=`pwd`/repo -DmavenDistro=/path/to/apache-maven-dist.zip -Dproxy.active=true -Dproxy.type=http -Dproxy.host=... -Dproxy.port=... -Dproxy.user=... -Dproxy.pass=...
```
Using the script
Build Maven core with the profile `-PversionlessMavenDist`
Now Run the script: `sh ./run-its.sh`
2013-11-29 15:13:13 -05:00
Maven Developers List: dev@maven.apache.org