#Error Deploying maven to nexus repository

3 messages · Page 1 of 1 (latest)

mental pendant
#

hey, i am trying to deploy my maven project to nexus repository but i am getting error: unable to find valid certification path to requested target
These are the settings in my pom.xml

       <repository>
           <id>OLTP-maven-public</id>
           <name>OLTP-maven-public</name>
           <url>https://artifacts-local.i2cinc.com/repository/OLTP-maven-public/</url>
           <releases>
               <enabled>true</enabled>
           </releases>
           <snapshots>
               <enabled>true</enabled>
           </snapshots>
       </repository>
   </repositories>```



   ```<distributionManagement>
       <!-- Publish the versioned releases here -->
       <repository>
           <id>OLTP-maven-releases</id>
           <name>OLTP-maven-releases</name>
           <url>https://artifacts-local.i2cinc.com/repository/OLTP-maven-releases/</url>
       </repository>
       <!-- Publish the versioned releases here -->
       <snapshotRepository>
           <id>OLTP-maven-snapshots</id>
           <name>OLTP-maven-snapshots</name>
           <url>https://artifacts-local.i2cinc.com/repository/OLTP-maven-snapshots/</url>
       </snapshotRepository>
   </distributionManagement>```
in LOGS it says:
```[INFO] --- maven-deploy-plugin:2.7:deploy (default-deploy) @ Settlement ---
Downloading from OLTP-maven-snapshots: https://artifacts-local.i2cinc.com/repository/OLTP-maven-snapshots/com/i2c/setl/Settlement/1.0-SNAPSHOT/maven-metadata.xml
[WARNING] Could not transfer metadata com.i2c:Settlement:1.0-SNAPSHOT/maven-metadata.xml from/to OLTP-maven-snapshots (https://artifacts-local.i2cinc.com/repository/OLTP-maven-snapshots/): transfer failed for https://artifacts-local.i2cinc.com/repository/OLTP-maven-snapshots/com/i2c/Settlement/1.0-SNAPSHOT/maven-metadata.xml```
ruby crestBOT
#

Hey, @mental pendant!
Please remember to /close this post once your question has been answered!