maskimko / DependencyPublisher

A simple Maven plugin to push all of the resolved dependencies into the artifact storage

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DependencyPublisher

A simple Maven plugin to push all of the resolved dependencies into the artifact storage like Sonatype Nexus Curently Nexus is only supported artifact storage.

Basic usage: As an example add the following to your pom.xml file


<build>
 <plugins>
  <plugin>
   <groupId>ua.pp.msk.maven</groupId>
   <artifactId>dependency-publish-maven-plugin</artifactId>
   <version>0.7</version>
   <executions>
    <execution>
     <phase>install</phase>
     <goals>
      <goal>publish</goal>
     </goals>
     <configuration>
      <url>....http://<host>[:port]/nexus/service/local/artifact/maven/content....</url>
      <username>...</username>
      <password>...</password>
      <repositoryId>...Nexus repository id...</repositoryId>
      <promote>...true...</promote>
     </configuration>
    </execution>
   </executions>
  </plugin>
 </plugins>
</build>

Copyright 2015 Maksym Shkolnyi (aka maskimko)

Licensed 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.

About

A simple Maven plugin to push all of the resolved dependencies into the artifact storage

License:Apache License 2.0


Languages

Language:Java 99.5%Language:Groovy 0.5%