when you run "mvn deploy" from the application directory.
how does it know to deploy to a pluginRepository or a releaseRepository?
and do i need to add a "pluginRepository" tag to disterbutionManagement?
<distributionManagement>
<repository>
<id>ct-repo01</id>
<name>Commtouch Releases</name>
<url>${releasesRepository}</url>
</repository>
<snapshotRepository>
<id>ct-repo01</id>
<name>Commtouch Snapshots</name>
<url>${snapshotRepository}</url>
</snapshotRepository>
<pluginRepository>
???
</pluginRepository>
</distributionManagement>
On Wed, May 5, 2010 at 11:44 AM, Yoav Landman <[email protected]> wrote:
> This is no different from deploying a jar (or any project which is not a
> plugin)
>
> On Mon, May 3, 2010 at 5:07 PM, eyal edri <[email protected]> wrote:
>
>> what do i need to write in the distributionManagement tag, in order to
>> deploy a maven plugin i wrote?
>>
>> i have the following parent pom as far:
>>
>> <?xml version="1.0" encoding="UTF-8"?>
>> <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>> xsi:schemaLocation="http://maven.apache.org/maven-v4_0_0.xsd">
>> <modelVersion>4.0.0</modelVersion>
>> <groupId>com.commtouch.maven.pom</groupId>
>> <artifactId>CtchParent</artifactId>
>> <packaging>pom</packaging>
>> <name>Commtouch Parent POM</name>
>> <version>2.0.0-11</version>
>> <description>maven parent project for all commtouch
>> projects</description>
>> <properties>
>> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
>> <snapshotRepository>
>> http://ct-repo01:8081/artifactory/libs-snapshots-local
>> </snapshotRepository>
>> <releasesRepository>
>> http://ct-repo01:8081/artifactory/libs-releases-local
>> </releasesRepository>
>> <localYumRepo>ct-repo01.commtouch.com</localYumRepo>
>> <remoteYumRepo>c9fai01.amadis.com</remoteYumRepo>
>> </properties>
>> <build>
>> <pluginManagement>
>> <plugins>
>> ....
>> </plugins>
>> </pluginManagement>
>> </build>
>> <distributionManagement>
>> <repository>
>> <id>ct-repo01</id>
>> <name>Commtouch Releases</name>
>> <url>${releasesRepository}</url>
>> </repository>
>> <snapshotRepository>
>> <id>ct-repo01</id>
>> <name>Commtouch Snapshots</name>
>> <url>${snapshotRepository}</url>
>> </snapshotRepository>
>> </distributionManagement>
>> </project>
>>
>> --
>> Eyal Edri
>>
>>
>> ------------------------------------------------------------------------------
>>
>> _______________________________________________
>> Artifactory-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>>
>>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Artifactory-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>
>
--
Eyal Edri
------------------------------------------------------------------------------
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users