| <?xml version="1.0" encoding="UTF-8"?> |
| |
| <!-- |
| 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. |
| --> |
| |
| <faqs xmlns="http://maven.apache.org/FML/1.0.1" |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| xsi:schemaLocation="http://maven.apache.org/FML/1.0.1 http://maven.apache.org/xsd/fml-1.0.1.xsd" |
| id="FAQ" title="Frequently Asked Questions"> |
| <part id="General"> |
| <faq id="question"> |
| <question>Why can't I just use the prerequisites tag in the pom?</question> |
| <answer> |
| <p> |
| The prerequisites tag was designed to be used by tools like plugins. It will work for regular projects, but it isn't |
| inherited to their children. If it is set in a parent reactor, then Maven will do the check. However if one of the |
| children are built, the check is not performed. The enforcer plugin is designed to allow centralized control over the build environment from |
| a single "super-pom", and to allow greater flexibility in version specification by supporting ranges. |
| </p> |
| </answer> |
| </faq> |
| </part> |
| </faqs> |