Hi everyone,
We have a use case, ie, we want to store one of our maven AEM project artifacts when ever we build it automatically gets store in to Nexus repository and from there if we want to access this project we would use it by adding dependency in the pom.
So, now how can I add my project to nexus repository to get store project artifacts when ever build happens and how can I point to the nexus repository from my pom file ?
Thanks
Solved! Go to Solution.
We have added our internal Nexus repository details in project Global POM. and now It got resolved.
Go to .m2 folder and create setting.xml add another profile under profiles sectio
<profile>
<id>adobe-public</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<repositories>
<repository>
<id>adobe</id>
<name>Nexus Proxy Repository</name>
<url>http://repo.adobe.com/nexus/content/groups/public/</url>
<layout>default</layout>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>adobe</id>
<name>Nexus Proxy Repository</name>
<url>http://repo.adobe.com/nexus/content/groups/public/</url>
<layout>default</layout>
</pluginRepository>
</pluginRepositories>
</profile>
See this Adobe KB that discusses how to configure the settings.xml -- Adobe Public Maven Repository
Views
Replies
Total Likes
Do I have to mention our internal Nexus repository details in global pom.xml and settings.xml file as we have stored our project artifact in this internal repository. Correct me if I am wrong.
Note: Internal Nexus repository has different values for following elements.
<id>
<name>
<url>
Thanks
Narayana
We have added our internal Nexus repository details in project Global POM. and now It got resolved.
Views
Likes
Replies
Views
Likes
Replies