Sorry. actually i was confused. i red again and i guess i have to make
following changes and did that.
I made these changes in my plugin POM

<parent>
    <groupId>org.jenkins-ci.plugins</groupId>
    <artifactId>plugin</artifactId>
    <version>2.3</version> <!-- or later -->
  </parent>

  <properties>
    <jenkins.version>1.609.1</jenkins.version>
    <hpi-plugin.version>1.106</hpi-plugin.version>
  </properties>

is this seems correct now?
but in the Plugin.POM file , i got following entries :

 <distributionManagement>
    <repository>
      <uniqueVersion>false</uniqueVersion>
      <id>maven.jenkins-ci.org</id>
      <url>http://maven.jenkins-ci.org:8081/content/repositories/releases
</url>
    </repository>
    <snapshotRepository>
      <id>maven.jenkins-ci.org</id>
      <url>http://maven.jenkins-ci.org:8081/content/repositories/snapshots
</url>
    </snapshotRepository>
  </distributionManagement>

i am not getting what is wrong. please help
Regards,





On Fri, Jan 6, 2017 at 3:31 AM, Baptiste Mathus <[email protected]> wrote:

> Irfan, seems like my mail went through looking at the archive. So please
> read it, and click on the link...
>
> We are spending time trying to help, so please at least read the link we
> provide.
>
> Thank you
>
> 2017-01-06 11:55 GMT+01:00 Irfan Sayed <[email protected]>:
>
>> Thanks.
>>
>> any specific wiki to refer how to upgrade the version of Parent POM to
>> 2.x ?
>> I have removed the DistributionManagement entry from my plugin POM.
>>
>> Regards,
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> On Fri, Jan 6, 2017 at 12:38 AM, Oliver Gondža <[email protected]> wrote:
>>
>>> On 2017-01-06 08:37, Irfan Sayed wrote:
>>>
>>>> Thanks.
>>>> In the effective POM, i have following:
>>>>
>>>>  <distributionManagement>
>>>>     <repository>
>>>>       <id>java.net-m2-repository</id>
>>>>       <url>http://maven.jenkins-ci.org/content/repositories/releases/
>>>> </url>
>>>>     </repository>
>>>>     <snapshotRepository>
>>>>       <id>maven.jenkins-ci.org <http://maven.jenkins-ci.org></id>
>>>>
>>>> <url>http://maven.jenkins-ci.org:8081/content/repositories/snapshots
>>>> </url>
>>>>     </snapshotRepository>
>>>>     <site>
>>>>       <id>github-pages</id>
>>>>
>>>> <url>gitsite:[email protected]/jenkinsci/maven-site.git:plugin-
>>>> parent/sinatra-chef-builder
>>>> <http://gitsite:[email protected]/jenkinsci/maven-site.git:plug
>>>> in-parent/sinatra-chef-builder></url>
>>>>     </site>
>>>>   </distributionManagement>
>>>>
>>>> in snapshot repository, there is a port 8081
>>>> but in release repo it is not.
>>>> please let me know
>>>>
>>>
>>> maven.jenkins-ci.org was discontinued, repo.jenkins-ci.org is the
>>> replacement. As long as the old hostname is coming up in effective pom,
>>> your pom is not configured correctly.
>>>
>>> This is annoying as hell, no question about that, but the easiest way to
>>> go here is to update the plugin-pom.
>>>
>>> --
>>> oliver
>>>
>>> --
>>> 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].
>>> To view this discussion on the web visit https://groups.google.com/d/ms
>>> gid/jenkinsci-dev/354e531b-24ac-be3e-d77d-8ca1e11fad9a%40gmail.com.
>>>
>>> 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].
>> To view this discussion on the web visit https://groups.google.com/d/ms
>> gid/jenkinsci-dev/CACGLCJbSvb869jJ_SGSrjrPMg%3DXYY2ykhU8U0T1
>> X5vF0yZxaQw%40mail.gmail.com
>> <https://groups.google.com/d/msgid/jenkinsci-dev/CACGLCJbSvb869jJ_SGSrjrPMg%3DXYY2ykhU8U0T1X5vF0yZxaQw%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>> 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].
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/jenkinsci-dev/CANWgJS6_jOUvG%2BVgFZe%2BLp%
> 2BkCOKMzCQMRgo1EVbXs1oy0LasHQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/jenkinsci-dev/CANWgJS6_jOUvG%2BVgFZe%2BLp%2BkCOKMzCQMRgo1EVbXs1oy0LasHQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> 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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CACGLCJZW8tZipuJg31KFXKqO1JM%3Dvq-vC2tSPVA5ze4NEHECsQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to