Artifactory maven plugin fails to deploy
<p>I'm tring to use the <code>artifactory-maven-plugin</code> to upload a maven build to my artifactory server. Uploading with the jfrog cli works, so it seems not a permission problem.
Here is my pom.xml:</p>

<pre><code>       &lt;plugin&gt;
            &lt;groupId&gt;org.jfrog.buildinfo&lt;/groupId&gt;
            &lt;artifactId&gt;artifactory-maven-plugin&lt;/artifactId&gt;
            &lt;version&gt;2.6.1&lt;/version&gt;
            &lt;inherited&gt;false&lt;/inherited&gt;
            &lt;executions&gt;
                &lt;execution&gt;
                    &lt;id&gt;build-info&lt;/id&gt;
                    &lt;goals&gt;
                        &lt;goal&gt;publish&lt;/goal&gt;
                    &lt;/goals&gt;
                    &lt;configuration&gt;
                        &lt;deployProperties&gt;
                            &lt;gradle&gt;awesome&lt;/gradle&gt;
                            &lt;review.team&gt;qa&lt;/review.team&gt;
                        &lt;/deployProperties&gt;
                        &lt;contextUrl&gt;http://vserver1.craftwater.de:8081/artifactory&lt;/contextUrl&gt;
                        &lt;username&gt;myUser&lt;/username&gt;                         
                        &lt;password&gt;mySecret&lt;/password&gt;
                        &lt;excludePatterns&gt;*-tests.jar&lt;/excludePatterns&gt;
                        &lt;repoKey&gt;libs-release-local&lt;/repoKey&gt;
                        &lt;snapshotRepoKey&gt;libs-snapshot-local&lt;/snapshotRepoKey&gt;
                    &lt;/configuration&gt;
                &lt;/execution&gt;
            &lt;/executions&gt;
        &lt;/plugin&gt;
</code></pre>

<p>The result of <code>mvn deploy</code> is an IllegalArgutementException:</p>

<pre><code>Caused by: java.lang.IllegalArgumentException: Target repository cannot be empty
at org.jfrog.build.client.DeployDetails$Builder.build(DeployDetails.java:119)
at org.jfrog.build.extractor.maven.BuildInfoRecorder.addDeployableArtifact(BuildInfoRecorder.java:604)
at org.jfrog.build.extractor.maven.BuildInfoRecorder.addArtifactsToCurrentModule(BuildInfoRecorder.java:533)
at org.jfrog.build.extractor.maven.BuildInfoRecorder.addFilesToCurrentModule(BuildInfoRecorder.java:477)
at org.jfrog.build.extractor.maven.BuildInfoRecorder.finalizeAndAddModule(BuildInfoRecorder.java:464)
at org.jfrog.build.extractor.maven.BuildInfoRecorder.finalizeModule(BuildInfoRecorder.java:392)
at org.jfrog.build.extractor.maven.BuildInfoRecorder.projectSucceeded(BuildInfoRecorder.java:210)
at org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:74)
at org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:42)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:91)
... 16 more
</code></pre>

<p>Is this a bug or do I do something wrong?</p>

<p>Artifactory version: Artifactory OSS 4.11.1 rev 40241</p>