| <?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. |
| |
| --> |
| |
| <actions> |
| <action> |
| <actionName>build</actionName> |
| <packagings> |
| <packaging>*</packaging> |
| </packagings> |
| <goals> |
| <goal>install</goal> |
| </goals> |
| </action> |
| <action> |
| <actionName>build-with-dependencies</actionName> |
| <packagings> |
| <packaging>*</packaging> |
| </packagings> |
| <goals> |
| <goal>install</goal> |
| </goals> |
| <reactor>also-make</reactor> |
| </action> |
| <action> |
| <actionName>clean</actionName> |
| <packagings> |
| <packaging>*</packaging> |
| </packagings> |
| <goals> |
| <goal>clean</goal> |
| </goals> |
| </action> |
| <action> |
| <actionName>rebuild</actionName> |
| <packagings> |
| <packaging>*</packaging> |
| </packagings> |
| <goals> |
| <goal>clean</goal> |
| <goal>install</goal> |
| </goals> |
| </action> |
| <action> |
| <actionName>javadoc</actionName> |
| <packagings> |
| <packaging>*</packaging> |
| </packagings> |
| <goals> |
| <goal>generate-sources</goal> |
| <goal>javadoc:javadoc</goal> |
| </goals> |
| </action> |
| <action> |
| <actionName>test</actionName> |
| <packagings> |
| <packaging>*</packaging> |
| </packagings> |
| <goals> |
| <goal>test</goal> |
| </goals> |
| </action> |
| <action> |
| <actionName>test.single</actionName> |
| <packagings> |
| <packaging>*</packaging> |
| </packagings> |
| <goals> |
| <goal>test-compile</goal> |
| <goal>surefire:test</goal> |
| </goals> |
| <properties> |
| <test>${packageClassName}</test> |
| </properties> |
| </action> |
| |
| <action> |
| <actionName>integration-test.single</actionName> |
| <packagings> |
| <packaging>*</packaging> |
| </packagings> |
| <goals> |
| <goal>integration-test</goal> |
| </goals> |
| <properties> |
| <test>DummyToSkipUnitTests</test> |
| <failIfNoTests>false</failIfNoTests> |
| <it.test>${packageClassName}</it.test> |
| </properties> |
| </action> |
| |
| <action> |
| <actionName>run</actionName> |
| <packagings> |
| <packaging>jar</packaging> |
| </packagings> |
| <goals> |
| <goal>process-classes</goal> |
| <goal>org.codehaus.mojo:exec-maven-plugin:1.5.0:exec</goal> |
| </goals> |
| <properties> |
| <exec.args>-classpath %classpath ${packageClassName}</exec.args> |
| <exec.executable>java</exec.executable> |
| </properties> |
| </action> |
| <action> |
| <actionName>debug</actionName> |
| <packagings> |
| <packaging>jar</packaging> |
| </packagings> |
| <goals> |
| <goal>process-classes</goal> |
| <goal>org.codehaus.mojo:exec-maven-plugin:1.5.0:exec</goal> |
| </goals> |
| <properties> |
| <exec.args>-agentlib:jdwp=transport=dt_socket,server=n,address=${jpda.address} -classpath %classpath ${packageClassName}</exec.args> |
| <exec.executable>java</exec.executable> |
| <jpda.listen>true</jpda.listen> |
| </properties> |
| </action> |
| <action> |
| <actionName>run.single.main</actionName> |
| <packagings> |
| <packaging>*</packaging> |
| </packagings> |
| <goals> |
| <goal>process-classes</goal> |
| <goal>org.codehaus.mojo:exec-maven-plugin:1.5.0:exec</goal> |
| </goals> |
| <properties> |
| <exec.args>-classpath %classpath ${packageClassName}</exec.args> |
| <exec.executable>java</exec.executable> |
| <exec.classpathScope>${classPathScope}</exec.classpathScope> |
| </properties> |
| </action> |
| |
| <action> |
| <actionName>debug.single.main</actionName> |
| <packagings> |
| <packaging>*</packaging> |
| </packagings> |
| <goals> |
| <goal>process-classes</goal> |
| <goal>org.codehaus.mojo:exec-maven-plugin:1.5.0:exec</goal> |
| </goals> |
| <properties> |
| <exec.args>-agentlib:jdwp=transport=dt_socket,server=n,address=${jpda.address} -classpath %classpath ${packageClassName}</exec.args> |
| <exec.executable>java</exec.executable> |
| <exec.classpathScope>${classPathScope}</exec.classpathScope> |
| <jpda.listen>true</jpda.listen> |
| </properties> |
| </action> |
| |
| <action> |
| <actionName>debug.test.single</actionName> |
| <packagings> |
| <packaging>*</packaging> |
| </packagings> |
| <goals> |
| <goal>test-compile</goal> |
| <goal>surefire:test</goal> |
| </goals> |
| <properties> |
| <test>${packageClassName}</test> |
| <forkMode>once</forkMode> |
| <maven.surefire.debug>-agentlib:jdwp=transport=dt_socket,server=n,address=${jpda.address}</maven.surefire.debug> |
| <jpda.listen>true</jpda.listen> |
| </properties> |
| </action> |
| |
| <action> |
| <actionName>debug.integration-test.single</actionName> |
| <packagings> |
| <packaging>*</packaging> |
| </packagings> |
| <goals> |
| <goal>integration-test</goal> |
| </goals> |
| <properties> |
| <test>DummyToSkipUnitTests</test> |
| <failIfNoTests>false</failIfNoTests> |
| <it.test>${packageClassName}</it.test> |
| <forkMode>once</forkMode> |
| <maven.failsafe.debug>-agentlib:jdwp=transport=dt_socket,server=n,address=${jpda.address}</maven.failsafe.debug> |
| <jpda.listen>true</jpda.listen> |
| </properties> |
| </action> |
| |
| <action> |
| <actionName>debug.fix</actionName> |
| <packagings> |
| <packaging>*</packaging> |
| </packagings> |
| <goals> |
| <goal>compile</goal> |
| </goals> |
| <properties> |
| <jpda.stopclass>${packageClassName}</jpda.stopclass> |
| </properties> |
| </action> |
| |
| <action> |
| <actionName>profile</actionName> |
| <packagings> |
| <packaging>jar</packaging> |
| </packagings> |
| <goals> |
| <goal>process-classes</goal> |
| <goal>org.codehaus.mojo:exec-maven-plugin:1.5.0:exec</goal> |
| </goals> |
| <properties> |
| <exec.args>-classpath %classpath ${packageClassName}</exec.args> |
| <exec.executable>java</exec.executable> |
| </properties> |
| </action> |
| |
| <action> |
| <actionName>profile.single.main</actionName> |
| <packagings> |
| <packaging>*</packaging> |
| </packagings> |
| <goals> |
| <goal>process-classes</goal> |
| <goal>org.codehaus.mojo:exec-maven-plugin:1.5.0:exec</goal> |
| </goals> |
| <properties> |
| <exec.args>-classpath %classpath ${packageClassName}</exec.args> |
| <exec.executable>java</exec.executable> |
| <exec.classpathScope>${classPathScope}</exec.classpathScope> |
| </properties> |
| </action> |
| |
| <action> |
| <actionName>profile.test.single</actionName> |
| <packagings> |
| <packaging>*</packaging> |
| </packagings> |
| <goals> |
| <goal>test-compile</goal> |
| <goal>surefire:test</goal> |
| </goals> |
| <properties> |
| <test>${packageClassName}</test> |
| <forkMode>once</forkMode> |
| <maven.surefire.debug>${exec.args}</maven.surefire.debug> |
| <!-- need to declare exec.args property to engage the StartupExtender infrastructure --> |
| <exec.args/> |
| </properties> |
| </action> |
| </actions> |