Skip to content

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

License

Notifications You must be signed in to change notification settings

maskimko/DependencyPublisher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published