Yes. You are currently inheriting the entire build section from the jenkins
parent pom. It should be okay to add the following to your pom, after the
pluginRepositories section:
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.5</version>
</plugin>
</plugins>
</build>
Mark Adamcin
http://adamcin.net/
On Sat, Apr 5, 2014 at 1:19 PM, Mukul Sharma <[email protected]>wrote:
> Thanks a lot Tom and Mark,
>
> Tom, your commands seem to have worked (It checked in the pom.xml changes
> correctly). The published plugin hasn't showed up in the update-center.json
> yet but I'll recheck in a few hours.
>
> Mark, I couldn't find a section for maven-plugin version in my pom.xml.
>
> This is what it looks like -
>
> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="
> http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd
> ">
> <modelVersion>4.0.0</modelVersion>
> <parent>
> <groupId>org.jenkins-ci.plugins</groupId>
> <artifactId>plugin</artifactId>
> <version>1.447</version><!-- which version of Jenkins is this plugin
> built against? -->
> </parent>
>
> <groupId>com.soasta.jenkins</groupId>
> <artifactId>cloudtest</artifactId>
> <version>2.13-SNAPSHOT</version>
> <packaging>hpi</packaging>
> <name>SOASTA CloudTest Plugin</name>
> <url>https://wiki.jenkins-ci.org/display/JENKINS/SOASTA+CloudTest+Plugin
> </url>
>
> <scm>
> <connection>scm:git:ssh://github.com/jenkinsci/cloudtest-plugin.git
> </connection>
> <developerConnection>scm:git:ssh://
> [email protected]/jenkinsci/cloudtest-plugin.git</developerConnection>
> <url>https://github.com/jenkinsci/cloudtest-plugin</url>
> <tag>HEAD</tag>
> </scm>
>
> <developers>
> <developer>
> <id>msolnit</id>
> <name>Matt Solnit</name>
> </developer>
> <developer>
> <id>kohsuke</id>
> <name>Kohsuke Kawaguchi</name>
> </developer>
> </developers>
>
> <!-- get every artifact through repo.jenkins-ci.org, which proxies all
> the artifacts that we need -->
> <repositories>
> <repository>
> <id>repo.jenkins-ci.org</id>
> <url>http://repo.jenkins-ci.org/public/</url>
> </repository>
> </repositories>
>
> <pluginRepositories>
> <pluginRepository>
> <id>repo.jenkins-ci.org</id>
> <url>http://repo.jenkins-ci.org/public/</url>
> </pluginRepository>
> </pluginRepositories>
> </project>
>
> Can you point me to the right location?
>
> Thanks,
> Mukul
>
> On Friday, April 4, 2014 4:15:14 PM UTC-7, Mukul Sharma wrote:
>>
>> Hello,
>>
>> I've been trying to publish the latest version of cloudtest-plugin (
>> https://wiki.jenkins-ci.org/display/JENKINS/SOASTA+CloudTest+Plugin) for
>> the past few days but its not working.
>>
>> Maven is not checking in any changes to pom.xml file.
>>
>> Also, even though the process seems to be successful, the plugin never
>> makes it to the server.
>>
>> I've attached the log files. Can someone please take a look and let me
>> know whats wrong?
>>
>> Thanks,
>>
>> Mukul
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>
--
You received this message because you are subscribed to the Google Groups
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.