I get an error when I run ...
mvn archetype:generate -DarchetypeGroupId=com.day.jcr.vault -DarchetypeArtifactId=multimodule-content-package-archetype -DarchetypeVersion=1.0.0 -DarchetypeRepository=adobe-public-releases
It appears the artifact has disappeared from this location:
http://repo.adobe.com/nexus/content/groups/public/com/day/jcr/vault/
Solved! Go to Solution.
If you look at the date in the Adobe repo, all artifacts were re-added today, 4th September so thats why it wasn't working.
Views
Replies
Total Likes
Can you try again?, yesterday we some artifacts have been put back.
It works for me the command from above.
--
Feike
Views
Replies
Total Likes
I would recommend using the latest released version, 1.0.2:
mvn archejcr.vault -DarchetypeArtifactId=multimodule-content-package-archetype -DarchetypeVersion=1.0.2 -DarchetypeRepository=adobe-public-releases
That said, both should work fine. Does your maven settings.xml contain the correct repository details? I've pasted a working settings.xml below:
<?xml version="1.0" encoding="UTF-8"?> <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"> <profiles> <profile> <id>adobe-public</id> <activation> <activeByDefault>true</activeByDefault> </activation> <repositories> <repository> <id>adobe-public-releases</id> <name>Adobe Public Repository</name> <url>http://repo.adobe.com/nexus/content/groups/public</url> <releases> <enabled>true</enabled> </releases> <snapshots> <enabled>false</enabled> </snapshots> </repository> </repositories> <pluginRepositories> <pluginRepository> <id>adobe-public-releases</id> <name>Adobe Public Repository</name> <url>http://repo.adobe.com/nexus/content/groups/public</url> <releases> <enabled>true</enabled> </releases> <snapshots> <enabled>false</enabled> </snapshots> </pluginRepository> </pluginRepositories> </profile> </profiles> <!-- ========================================================================== --> <!-- A C T I V E P R O F I L E S --> <!-- ========================================================================== --> <activeProfiles> <activeProfile>adobe-public</activeProfile> </activeProfiles> <!-- ========================================================================== --> <!-- P L U G I N G R O U P S --> <!-- ========================================================================== --> <pluginGroups> <pluginGroup>org.sonatype.plugins</pluginGroup> <pluginGroup>com.day.jcr.vault</pluginGroup> <pluginGroup>org.apache.sling</pluginGroup> <pluginGroup>com.adobe.granite</pluginGroup> </pluginGroups> </settings>
Views
Replies
Total Likes
mvn archejcr.vault -DarchetypeArtifactId=multimodule-content-package-archetype -DarchetypeVersion=1.0.2 -DarchetypeRepository=adobe-public-releases
This has started working again now :) Thank you for replying.
If you look at the date in the Adobe repo, all artifacts were re-added today, 4th September so thats why it wasn't working.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Like
Replies