how to deploy a local plugin to artifactory plugin repository

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

how to deploy a local plugin to artifactory plugin repository

Tranquil
Hi,

what do i need to write in the distributionManagement tag, in order to
deploy a maven plugin i wrote?
(to a pluginRepository, so that other developers can use the plugin)

i don't mind donating it to the community if someone is interested.

it's a plugin for maven-rpm-plugin: it scans current maven dependencies and
insert new '<require>' tag for each one.


i have the following parent pom as far:
.....
  <properties>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    <snapshotRepository>http://XXXX/artifactory/libs-snapshots-local<http://ct-repo01:8081/artifactory/libs-snapshots-local>
</snapshotRepository>
    <releasesRepository>http://XXXX/artifactory/libs-releases-local<http://ct-repo01:8081/artifactory/libs-releases-local>
</releasesRepository>
  </properties>
  <build>
    <pluginManagement>
      <plugins>
        ....
      </plugins>
    </pluginManagement>
  </build>
  <distributionManagement>
    <repository>
      <id>xx-repo01</id>
      <name>XXX Releases</name>
      <url>${releasesRepository}</url>
    </repository>
    <snapshotRepository>
      <id>xx-repo01</id>
      <name>XXX Snapshots</name>
      <url>${snapshotRepository}</url>
    </snapshotRepository>
  </distributionManagement>
</project>

--
Eyal Edri



--
Eyal Edri