Search in sources :

Example 16 with InvokerProperties

use of org.apache.maven.plugins.invoker.InvokerProperties in project maven-plugins by apache.

the class InvokerPropertiesTest method testGetJobName.

public void testGetJobName() throws Exception {
    Properties props = new Properties();
    final String jobName = "Build Job name";
    props.put("invoker.name", jobName);
    InvokerProperties facade = new InvokerProperties(props);
    assertEquals(jobName, facade.getJobName());
}
Also used : InvokerProperties(org.apache.maven.plugins.invoker.InvokerProperties) InvokerProperties(org.apache.maven.plugins.invoker.InvokerProperties) Properties(java.util.Properties)

Aggregations

InvokerProperties (org.apache.maven.plugins.invoker.InvokerProperties)16 Properties (java.util.Properties)15 DefaultInvocationRequest (org.apache.maven.shared.invoker.DefaultInvocationRequest)7 InvocationRequest (org.apache.maven.shared.invoker.InvocationRequest)7 Selector (org.apache.maven.plugins.invoker.Selector)3 Test (org.junit.Test)3 File (java.io.File)1