

Under certain conditions, plugins may need to be configured with local filesystem paths. However, sometimes portability is not entirely possible. Among other things, this means allowing build configuration inside the POM, avoiding all filesystem references (in inheritance, dependencies, and other places), and leaning much more heavily on the local repository to store the metadata needed to make this possible. How can I tell which profiles are in effect during a build?Īpache Maven goes to great lengths to ensure that builds are portable.Incomplete Specification of a Natural Profile Set.Which areas of a POM can be customized by each type of profile? Why?.How can a profile be triggered? How does this vary according to the type of profile being used?.What are the different types of profile? Where is each defined?.
