|
| 1 | +<?xml version="1.0"?> |
| 2 | + |
| 3 | +<project name="cli" default="maven:jar" basedir="."> |
| 4 | + |
| 5 | + <!-- Give user a chance to override without editing this file |
| 6 | + (and without typing -D each time they invoke a target) --> |
| 7 | + |
| 8 | + <!-- Allow any user specific values to override the defaults --> |
| 9 | + <property file="${user.home}/build.properties" /> |
| 10 | + |
| 11 | + <!-- Allow user defaults for this project --> |
| 12 | + <property file="build.properties" /> |
| 13 | + |
| 14 | + <!-- Set default values for the build --> |
| 15 | + <property file="project.properties" /> |
| 16 | + |
| 17 | + <!-- maven:start --> |
| 18 | + |
| 19 | + <!-- ================================================================== --> |
| 20 | + <!-- D E L E G A T O R S --> |
| 21 | + <!-- ================================================================== --> |
| 22 | + |
| 23 | + <target name="maven:gump-descriptor"> |
| 24 | + <ant antfile="${maven.home}/plugins/core/build.xml" target="gump-descriptor"/> |
| 25 | + </target> |
| 26 | + |
| 27 | + <target name="maven:maven-update"> |
| 28 | + <ant antfile="${maven.home}/plugins/core/build.xml" target="maven-update"/> |
| 29 | + </target> |
| 30 | + |
| 31 | + <target name="maven:update-jars"> |
| 32 | + <ant antfile="${maven.home}/plugins/core/build.xml" target="update-jars"/> |
| 33 | + </target> |
| 34 | + |
| 35 | + <target name="maven:jar"> |
| 36 | + <ant antfile="${maven.home}/plugins/core/build.xml" target="jar"/> |
| 37 | + </target> |
| 38 | + |
| 39 | + <target name="maven:docs-quick"> |
| 40 | + <ant antfile="${maven.home}/plugins/docs/build.xml" target="docs-quick"/> |
| 41 | + </target> |
| 42 | + |
| 43 | + <target name="maven:run-singletest"> |
| 44 | + <ant antfile="${maven.home}/plugins/test/build.xml" target="run-singletest"/> |
| 45 | + </target> |
| 46 | + |
| 47 | + <target name="maven:compile"> |
| 48 | + <ant antfile="${maven.home}/plugins/core/build.xml" target="compile"/> |
| 49 | + </target> |
| 50 | + |
| 51 | + <target name="maven:jar-resources"> |
| 52 | + <ant antfile="${maven.home}/plugins/core/build.xml" target="jar-resources"/> |
| 53 | + </target> |
| 54 | + |
| 55 | + <target name="maven:fo"> |
| 56 | + <ant antfile="${maven.home}/plugins/docs/build.xml" target="fo"/> |
| 57 | + </target> |
| 58 | + |
| 59 | + <target name="maven:cvs-change-log"> |
| 60 | + <ant antfile="${maven.home}/plugins/docs/build.xml" target="cvs-change-log"/> |
| 61 | + </target> |
| 62 | + |
| 63 | + <target name="maven:war"> |
| 64 | + <ant antfile="${maven.home}/plugins/j2ee/build.xml" target="war"/> |
| 65 | + </target> |
| 66 | + |
| 67 | + <target name="maven:generate-reactor"> |
| 68 | + <ant antfile="${maven.home}/build-reactor.xml" target="generate-reactor"/> |
| 69 | + </target> |
| 70 | + |
| 71 | + <target name="maven:cross-ref"> |
| 72 | + <ant antfile="${maven.home}/plugins/docs/build.xml" target="cross-ref"/> |
| 73 | + </target> |
| 74 | + |
| 75 | + <target name="maven:deploy-site"> |
| 76 | + <ant antfile="${maven.home}/plugins/docs/build.xml" target="deploy-site"/> |
| 77 | + </target> |
| 78 | + |
| 79 | + <target name="maven:ear"> |
| 80 | + <ant antfile="${maven.home}/plugins/j2ee/build.xml" target="ear"/> |
| 81 | + </target> |
| 82 | + |
| 83 | + <target name="maven:install-jar"> |
| 84 | + <ant antfile="${maven.home}/plugins/core/build.xml" target="install-jar"/> |
| 85 | + </target> |
| 86 | + |
| 87 | + <target name="maven:task-list"> |
| 88 | + <ant antfile="${maven.home}/plugins/docs/build.xml" target="task-list"/> |
| 89 | + </target> |
| 90 | + |
| 91 | + <target name="maven:docs"> |
| 92 | + <ant antfile="${maven.home}/plugins/docs/build.xml" target="docs"/> |
| 93 | + </target> |
| 94 | + |
| 95 | + <target name="maven:site"> |
| 96 | + <ant antfile="${maven.home}/plugins/docs/build.xml" target="site"/> |
| 97 | + </target> |
| 98 | + |
| 99 | + <target name="maven:deploy-dist"> |
| 100 | + <ant antfile="${maven.home}/plugins/core/build.xml" target="deploy-dist"/> |
| 101 | + </target> |
| 102 | + |
| 103 | + <target name="maven:javadocs"> |
| 104 | + <ant antfile="${maven.home}/plugins/docs/build.xml" target="javadocs"/> |
| 105 | + </target> |
| 106 | + |
| 107 | + <target name="maven:announce"> |
| 108 | + <ant antfile="${maven.home}/plugins/core/build.xml" target="announce"/> |
| 109 | + </target> |
| 110 | + |
| 111 | + <target name="maven:check-source"> |
| 112 | + <ant antfile="${maven.home}/plugins/core/build.xml" target="check-source"/> |
| 113 | + </target> |
| 114 | + |
| 115 | + <target name="maven:dist"> |
| 116 | + <ant antfile="${maven.home}/plugins/core/build.xml" target="dist"/> |
| 117 | + </target> |
| 118 | + |
| 119 | + <target name="maven:dist-build"> |
| 120 | + <ant antfile="${maven.home}/plugins/core/build.xml" target="dist-build"/> |
| 121 | + </target> |
| 122 | + |
| 123 | + <target name="maven:metrics"> |
| 124 | + <ant antfile="${maven.home}/plugins/metrics/build.xml" target="metrics"/> |
| 125 | + </target> |
| 126 | + |
| 127 | + <target name="maven:clean"> |
| 128 | + <ant antfile="${maven.home}/plugins/core/build.xml" target="clean"/> |
| 129 | + </target> |
| 130 | + |
| 131 | + <target name="maven:env"> |
| 132 | + <ant antfile="${maven.home}/plugins/core/build.xml" target="env"/> |
| 133 | + </target> |
| 134 | + |
| 135 | + <target name="maven:test"> |
| 136 | + <ant antfile="${maven.home}/plugins/test/build.xml" target="test"/> |
| 137 | + </target> |
| 138 | + |
| 139 | + <target name="maven:pdf"> |
| 140 | + <ant antfile="${maven.home}/plugins/docs/build.xml" target="pdf"/> |
| 141 | + </target> |
| 142 | + |
| 143 | + <target name="maven:iutest"> |
| 144 | + <ant antfile="${maven.home}/plugins/iutest/build.xml" target="iutest"/> |
| 145 | + </target> |
| 146 | + |
| 147 | + <target name="maven:activity-log"> |
| 148 | + <ant antfile="${maven.home}/plugins/docs/build.xml" target="activity-log"/> |
| 149 | + </target> |
| 150 | + |
| 151 | + <target name="maven:verify-project"> |
| 152 | + <ant antfile="${maven.home}/plugins/core/build.xml" target="verify-project"/> |
| 153 | + </target> |
| 154 | + |
| 155 | + <target name="maven:validate-pom"> |
| 156 | + <ant antfile="${maven.home}/plugins/core/build.xml" target="validate-pom"/> |
| 157 | + </target> |
| 158 | + |
| 159 | + <target name="maven:validate-war"> |
| 160 | + <ant antfile="${maven.home}/plugins/j2ee/build.xml" target="validate-war"/> |
| 161 | + </target> |
| 162 | + |
| 163 | + |
| 164 | + <!-- maven:end --> |
| 165 | + |
| 166 | +<!-- ========== Helper Targets ============================================ --> |
| 167 | + |
| 168 | + <target name="clean" depends="maven:clean"> |
| 169 | + <delete file="velocity.log"/> |
| 170 | + </target> |
| 171 | + |
| 172 | + <target name="site" depends="maven:site"/> |
| 173 | + |
| 174 | + <target name="test" depends="maven:test"/> |
| 175 | + |
| 176 | + <target name="compile" depends="maven:compile, maven:jar-resources"/> |
| 177 | + |
| 178 | + <target name="dist" depends="maven:dist-build"/> |
| 179 | + |
| 180 | +</project> |
0 commit comments