Need help configuring archetypes...I'm about to cry (its been 2 days!)
varun.madan Oct 8, 2014 1:26 PMI installed JBoss Developer Studio, configured my Settings.xml file and I thought I was all set to take a look at the TicketMaster Project. I tried setting up a new HTML5 project, and also a new Maven Project through the studio but I keep getting errors.
For the HTML5 project, please look at the screenshot for the error. It keeps telling me I don't have the required archetypes in the configured repositories. I've configured all that I know I could (or I think I know I could).
For the Maven Project, I go through the set of screens to install various archetypes, but it just won't work. This is the error:
"Could not resolve archetype org.apache.maven.archetypes:maven-archetype-quickstart:RELEASE from any of the configured repositories.
Could not resolve artifact org.apache.maven.archetypes:maven-archetype-quickstart:pom:RELEASE
Failed to resolve version for org.apache.maven.archetypes:maven-archetype-quickstart:pom:RELEASE: Could not find metadata org.apache.maven.archetypes:maven-archetype-quickstart/maven-metadata.xml in local (C:\Users\USERID\.m2\repository)
Failed to resolve version for org.apache.maven.archetypes:maven-archetype-quickstart:pom:RELEASE: Could not find metadata org.apache.maven.archetypes:maven-archetype-quickstart/maven-metadata.xml in local (C:\Users\USERID\.m2\repository)"
Here's a quick look at my "settings.xml"
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<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>jboss-eap-6-1-0-GA-maven-repository</id>
<repositories>
<repository>
<id>jboss-eap-6-1-0-GA-maven-repository</id>
<name>JBoss EAP Maven Repository</name>
<url>file:/C:/Users/USERID/Documents/RPP%205.0/jboss-eap-6.1.0.GA-maven-repository/</url>
<layout>default</layout>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>false</enabled>
<updatePolicy>daily</updatePolicy>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>jboss-eap-6-1-0-GA-maven-repository</id>
<name>JBoss EAP Maven Repository</name>
<url>file:/C:/Users/USERID/Documents/RPP%205.0/jboss-eap-6.1.0.GA-maven-repository/</url>
<layout>default</layout>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>false</enabled>
<updatePolicy>daily</updatePolicy>
</snapshots>
</pluginRepository>
</pluginRepositories>
</profile>
<profile>
<id>jboss-public-repository</id>
<repositories>
<repository>
<id>jboss-public-repository</id>
<name>JBoss Public</name>
<url>https://repository.jboss.org/nexus/content/groups/public-jboss/</url>
<layout>default</layout>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>false</enabled>
<updatePolicy>daily</updatePolicy>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>jboss-public-repository</id>
<name>JBoss Public</name>
<url>https://repository.jboss.org/nexus/content/groups/public-jboss/</url>
<layout>default</layout>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>false</enabled>
<updatePolicy>daily</updatePolicy>
</snapshots>
</pluginRepository>
</pluginRepositories>
</profile>
<profile>
<id>com-springsource-repository-bundles-external</id>
<repositories>
<repository>
<id>com-springsource-repository-bundles-external</id>
<name>EBR External Release</name>
<url>http://repository.springsource.com/maven/bundles/external/</url>
<layout>default</layout>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>false</enabled>
<updatePolicy>daily</updatePolicy>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>com-springsource-repository-bundles-external</id>
<name>EBR External Release</name>
<url>http://repository.springsource.com/maven/bundles/external/</url>
<layout>default</layout>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>false</enabled>
<updatePolicy>daily</updatePolicy>
</snapshots>
</pluginRepository>
</pluginRepositories>
</profile>
<profile>
<id>com-springsource-repository-bundles-release</id>
<repositories>
<repository>
<id>com-springsource-repository-bundles-release</id>
<name>EBR Spring Release</name>
<url>http://repository.springsource.com/maven/bundles/release/</url>
<layout>default</layout>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>false</enabled>
<updatePolicy>daily</updatePolicy>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>com-springsource-repository-bundles-release</id>
<name>EBR Spring Release</name>
<url>http://repository.springsource.com/maven/bundles/release/</url>
<layout>default</layout>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>false</enabled>
<updatePolicy>daily</updatePolicy>
</snapshots>
</pluginRepository>
</pluginRepositories>
</profile>
<profile>
<id>redhat-techpreview-all-repository</id>
<repositories>
<repository>
<id>redhat-techpreview-all-repository</id>
<name>Red Hat Tech Preview repository (all)</name>
<url>http://maven.repository.redhat.com/techpreview/all/</url>
<layout>default</layout>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>false</enabled>
<updatePolicy>daily</updatePolicy>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>redhat-techpreview-all-repository</id>
<name>Red Hat Tech Preview repository (all)</name>
<url>http://maven.repository.redhat.com/techpreview/all/</url>
<layout>default</layout>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>false</enabled>
<updatePolicy>daily</updatePolicy>
</snapshots>
</pluginRepository>
</pluginRepositories>
</profile>
<profile>
<id>java-net-public</id>
<repositories>
<repository>
<id>java-net-public</id>
<name>Java Net Public</name>
<url>https://maven.java.net/content/groups/public/</url>
<layout>default</layout>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>false</enabled>
<updatePolicy>daily</updatePolicy>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>java-net-public</id>
<name>Java Net Public</name>
<url>https://maven.java.net/content/groups/public/</url>
<layout>default</layout>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>false</enabled>
<updatePolicy>daily</updatePolicy>
</snapshots>
</pluginRepository>
</pluginRepositories>
</profile>
<profile>
<id>repository-apache-org</id>
<repositories>
<repository>
<id>repository-apache-org</id>
<name>Apache Repository</name>
<url>https://repository.apache.org/content/groups/public/</url>
<layout>default</layout>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>false</enabled>
<updatePolicy>daily</updatePolicy>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>repository-apache-org</id>
<name>Apache Repository</name>
<url>https://repository.apache.org/content/groups/public/</url>
<layout>default</layout>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>false</enabled>
<updatePolicy>daily</updatePolicy>
</snapshots>
</pluginRepository>
</pluginRepositories>
</profile>
</profiles>
<activeProfiles>
<activeProfile>jboss-eap-6-1-0-GA-maven-repository</activeProfile>
<activeProfile>jboss-public-repository</activeProfile>
<activeProfile>com-springsource-repository-bundles-external</activeProfile>
<activeProfile>com-springsource-repository-bundles-release</activeProfile>
<activeProfile>redhat-techpreview-all-repository</activeProfile>
<activeProfile>java-net-public</activeProfile>
<activeProfile>repository-apache-org</activeProfile>
</activeProfiles>
</settings>
-
screen 4.png 11.2 KB
-
screen 1.png 34.0 KB
-
screen 2.png 22.6 KB
-
screen 3.png 27.4 KB