------ WritePom ------ Paul Gier ------ 2009-11-18 ------ ~~ 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. ~~ NOTE: For help with the syntax of this file, see: ~~ http://maven.apache.org/doxia/references/apt-format.html The WritePom Task <> The WritePom task can be used to generate a POM file based on information defined in the Ant build. For example, this could be used to generate a POM used when deploying build artifacts to a Maven repository. The first step is to define a pom using the pom task. ----- ---- The next step is to call the writePom task using the pom id created above. ---- ---- This will generate a pom in the location specified. ---- 4.0.0 org.acme project1 1.0 My awesome project apache http://www.apache.org/ junit junit 4.1 test org.codehaus.plexus plexus-utils 1.5.5 compile ---- By default the <<>> task will not include unnecessary information such as build configuration, repositories, and profiles. If this information is needed in the pom, the "trim" option can be set to false. ---- ----