Add a Windows Maven toolchain example. Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/4d2ff5cb Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/4d2ff5cb Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/4d2ff5cb
Branch: refs/heads/LOG4J2-1442 Commit: 4d2ff5cb6e1a4ac20483c5d0febb2d8d790186bd Parents: 3e3e5f8 Author: Gary Gregory <[email protected]> Authored: Thu May 4 21:04:07 2017 -0700 Committer: Gary Gregory <[email protected]> Committed: Thu May 4 21:04:07 2017 -0700 ---------------------------------------------------------------------- toolchains-sample-win.xml | 52 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/4d2ff5cb/toolchains-sample-win.xml ---------------------------------------------------------------------- diff --git a/toolchains-sample-win.xml b/toolchains-sample-win.xml new file mode 100644 index 0000000..64c30ac --- /dev/null +++ b/toolchains-sample-win.xml @@ -0,0 +1,52 @@ +<?xml version="1.0" encoding="UTF8"?> +<!-- + ~ 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. + --> +<toolchains> + <!-- JDK toolchains --> + <toolchain> + <type>jdk</type> + <provides> + <version>1.7</version> + <vendor>sun</vendor> + </provides> + <configuration> + <jdkHome>C:\Program Files\Java\jdk1.7.0_80</jdkHome> + </configuration> + </toolchain> + <toolchain> + <type>jdk</type> + <provides> + <version>1.8</version> + <vendor>sun</vendor> + </provides> + <configuration> + <jdkHome>C:\Program Files\Java\jdk1.8.0_131</jdkHome> + </configuration> + </toolchain> + <toolchain> + <type>jdk</type> + <provides> + <version>9</version> + <vendor>sun</vendor> + </provides> + <configuration> + <jdkHome>C:\Program Files\Java\jdk-9</jdkHome> + </configuration> + </toolchain> + + <!-- other toolchains --> +</toolchains>
