Hi All,

I want to release the Jenkins plugin through local machine, but while
performing "mvn release:perform" through command line it says unauthorized
error 401. I tried many things to fix this but didn't work. can you help me
in fixing this?.
I am attaching the pom.xml file and ~/.m2/settings.xml file.
pom file :https://github.com/jenkinsci/autonomiq-plugin/blob/main/pom.xml

settings.xml

<?xml version="1.0" encoding="UTF-8"?>

<settings xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.2.0
http://maven.apache.org/xsd/settings-1.2.0.xsd"; xmlns="
http://maven.apache.org/SETTINGS/1.2.0";

    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>

<servers>

    <server>

      <username>puneetchelani_sauce</username>

      <password>AP4MWfjX1ktFw8tcTyTqgJcraJ9</password>

      <id>central</id>

    </server>

    <server>

      <username>puneetchelani_sauce</username>

      <password>AP4MWfjX1ktFw8tcTyTqgJcraJ9</password>

      <id>snapshots</id>

    </server>

  </servers>

  <profiles>

    <profile>

      <repositories>

        <repository>

          <snapshots>

            <enabled>false</enabled>

          </snapshots>

          <id>central</id>

          <name>remote-snapshot-repos</name>

          <url>https://repo.jenkins-ci.org/artifactory/remote-snapshot-repos
</url>

        </repository>

        <repository>

          <snapshots />

          <id>snapshots</id>

          <name>remote-snapshot-repos</name>

          <url>https://repo.jenkins-ci.org/artifactory/remote-snapshot-repos
</url>

        </repository>

      </repositories>

      <pluginRepositories>

        <pluginRepository>

          <snapshots>

            <enabled>false</enabled>

          </snapshots>

          <id>central</id>

          <name>remote-snapshot-repos</name>

          <url>https://repo.jenkins-ci.org/artifactory/remote-snapshot-repos
</url>

        </pluginRepository>

        <pluginRepository>

          <snapshots />

          <id>snapshots</id>

          <name>remote-snapshot-repos</name>

          <url>https://repo.jenkins-ci.org/artifactory/remote-snapshot-repos
</url>

        </pluginRepository>

      </pluginRepositories>

      <id>artifactory</id>

    </profile>

  </profiles>

  <activeProfiles>

    <activeProfile>artifactory</activeProfile>

  </activeProfiles>

</settings>

-- 
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/CAAx0H6xkTTXw7PP0RHOmY8L1KKVz3Zg4QHhp%2BRtQoxLxcMnMAQ%40mail.gmail.com.

Reply via email to