Reputation: 158
JFrog artifactory loaded 902 artifacts, I set up to upload through the repository. But I cannot download or view my artifacts. I do not quite understand even what the problem is.
Setting maven from a file settings.xml
<?xml version="1.0" encoding="UTF-8"?>
<settings xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.1.0 http://maven.apache.org/xsd/settings-1.1.0.xsd" xmlns="http://maven.apache.org/SETTINGS/1.1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<servers>
.......
</servers>
<mirrors>
<mirror>
<mirrorOf>*</mirrorOf>
<name>libs-snapshot</name>
<url>http://localhost:8081/artifactory/libs-snapshot</url>
<id>libs-snapshot</id>
</mirror>
</mirrors>
<profiles>
<profile>
<repositories>
<repository>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>central</id>
<name>libs-release</name>
<url>http://localhost:8081/artifactory/libs-release</url>
</repository>
<repository>
<snapshots />
<id>snapshots</id>
<name>libs-snapshot</name>
<url>http://localhost:8081/artifactory/libs-snapshot</url>
</repository>
</repositories>
<pluginRepositories>
........
</pluginRepositories>
<id>artifactory</id>
</profile>
</profiles>
<activeProfiles>
<activeProfile>artifactory</activeProfile>
</activeProfiles>
</settings>
I see that the repository does not download and tries to take data from the .m2 folder :3
Upvotes: 3
Views: 2711
Reputation: 158
this answer helped me. The problem was in the .m2 folder.Her should be deleted if you change the settings.xml in \atlassian-plugin-sdk-6.3.6\apache-maven-3.2.1\conf folder.
Upvotes: 2
Reputation: 1330092
The actual error seems to be:
Goal requires a project to execute,
but there is no POM in this directory (D:\Newfolder1)
So the first step would be to make sure there is a pom.xml
before executing atlas-create-
Upvotes: 0
Reputation: 3506
The error is saying that you have duplication of the server-id 'maven-external' in your settings.xml. Check your configurations.
Upvotes: 0