<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">

<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>

                                <td>

                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="http://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>

                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px;  -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
    AS7 Extension Maven Artifact Id = jboss-as-subsystem Fails
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="http://community.jboss.org/people/kimbaltrue">kimbaltrue</a> in <i>JBoss AS7 Development</i> - <a href="http://community.jboss.org/message/618904#618904">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p>As described in the Extending JBoss AS7 documentation <a class="jive-link-external-small" href="https://docs.jboss.org/author/display/AS7/Extending+JBoss+AS+7">https://docs.jboss.org/author/display/AS7/Extending+JBoss+AS+7</a></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>I executed the following Maven command:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>mvn archetype:generate -DarchetypeArtifactId=jboss-as-subsystem</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; -DarchetypeGroupId=org.jboss.as.archetypes </p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; -DarchetypeVersion=7.0.0.Final </p><p><span>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; -DarchetypeRepository=</span><a class="jive-link-external-small" href="http://repository.jboss.org/nexus/content/groups/public" target="_blank">http://repository.jboss.org/nexus/content/groups/public</a></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>The command creates the project, but when I change directory into the new project directory and run the next command:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>mvn install</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>The project fails to build. It appears thatthe repository is empty or not accessible.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Here is the output of "mvn install"</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&gt;mvn install</p><p>[INFO] Scanning for projects...</p><p>[INFO]</p><p>[INFO] ------------------------------------------------------------------------</p><p>[INFO] Building JBoss Application Server: Subsystem Artifact 1.0-SNAPSHOT</p><p>[INFO] ------------------------------------------------------------------------</p><p>Downloading: <a class="jive-link-external-small" href="http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.4.3/maven-resources-plugin-2.4.3.jar">http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.4.3/maven-resources-plugin-2.4.3.jar</a></p><p>Downloaded: <a class="jive-link-external-small" href="http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.4.3/maven-resources-plugin-2.4.3.jar">http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.4.3/maven-resources-plugin-2.4.3.jar</a> (24</p><p> KB at 49.4 KB/sec)</p><p>Downloading: <a class="jive-link-external-small" href="http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/2.3.1/maven-compiler-plugin-2.3.1.jar">http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/2.3.1/maven-compiler-plugin-2.3.1.jar</a></p><p>Downloaded: <a class="jive-link-external-small" href="http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/2.3.1/maven-compiler-plugin-2.3.1.jar">http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/2.3.1/maven-compiler-plugin-2.3.1.jar</a> (30 K</p><p>B at 81.1 KB/sec)</p><p>Downloading: <a class="jive-link-external-small" href="http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.8.1/maven-surefire-plugin-2.8.1.jar">http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.8.1/maven-surefire-plugin-2.8.1.jar</a></p><p>Downloaded: <a class="jive-link-external-small" href="http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.8.1/maven-surefire-plugin-2.8.1.jar">http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.8.1/maven-surefire-plugin-2.8.1.jar</a> (30 K</p><p>B at 93.3 KB/sec)</p><p>Downloading: <a class="jive-link-external-small" href="http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-jar-plugin/2.3.1/maven-jar-plugin-2.3.1.jar">http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-jar-plugin/2.3.1/maven-jar-plugin-2.3.1.jar</a></p><p>Downloaded: <a class="jive-link-external-small" href="http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-jar-plugin/2.3.1/maven-jar-plugin-2.3.1.jar">http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-jar-plugin/2.3.1/maven-jar-plugin-2.3.1.jar</a> (32 KB at 80.5</p><p>KB/sec)</p><p>Downloading: <a class="jive-link-external-small" href="http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.6/maven-antrun-plugin-1.6.jar">http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.6/maven-antrun-plugin-1.6.jar</a></p><p>Downloaded: <a class="jive-link-external-small" href="http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.6/maven-antrun-plugin-1.6.jar">http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.6/maven-antrun-plugin-1.6.jar</a> (29 KB at 92.</p><p>8 KB/sec)</p><p>Downloading: <a class="jive-link-external-small" href="http://repo1.maven.org/maven2/org/jboss/as/jboss-as-controller/7.0.0.Final/jboss-as-controller-7.0.0.Final.pom">http://repo1.maven.org/maven2/org/jboss/as/jboss-as-controller/7.0.0.Final/jboss-as-controller-7.0.0.Final.pom</a></p><p>[WARNING] The POM for org.jboss.as:jboss-as-controller:jar:7.0.0.Final is missing, no dependency information available</p><p>Downloading: <a class="jive-link-external-small" href="http://repo1.maven.org/maven2/org/jboss/as/jboss-as-server/7.0.0.Final/jboss-as-server-7.0.0.Final.pom">http://repo1.maven.org/maven2/org/jboss/as/jboss-as-server/7.0.0.Final/jboss-as-server-7.0.0.Final.pom</a></p><p>[WARNING] The POM for org.jboss.as:jboss-as-server:jar:7.0.0.Final is missing, no dependency information available</p><p>Downloading: <a class="jive-link-external-small" href="http://repo1.maven.org/maven2/org/jboss/as/jboss-as-controller/7.0.0.Final/jboss-as-controller-7.0.0.Final.jar">http://repo1.maven.org/maven2/org/jboss/as/jboss-as-controller/7.0.0.Final/jboss-as-controller-7.0.0.Final.jar</a></p><p>Downloading: <a class="jive-link-external-small" href="http://repo1.maven.org/maven2/junit/junit/4.8.2/junit-4.8.2.jar">http://repo1.maven.org/maven2/junit/junit/4.8.2/junit-4.8.2.jar</a></p><p>Downloading: <a class="jive-link-external-small" href="http://repo1.maven.org/maven2/org/jboss/as/jboss-as-server/7.0.0.Final/jboss-as-server-7.0.0.Final.jar">http://repo1.maven.org/maven2/org/jboss/as/jboss-as-server/7.0.0.Final/jboss-as-server-7.0.0.Final.jar</a></p><p>Downloaded: <a class="jive-link-external-small" href="http://repo1.maven.org/maven2/junit/junit/4.8.2/junit-4.8.2.jar">http://repo1.maven.org/maven2/junit/junit/4.8.2/junit-4.8.2.jar</a> (232 KB at 174.8 KB/sec)</p><p>[INFO] ------------------------------------------------------------------------</p><p>[INFO] BUILD FAILURE</p><p>[INFO] ------------------------------------------------------------------------</p><p>[INFO] Total time: 4.758s</p><p>[INFO] Finished at: Tue Aug 02 15:53:09 EDT 2011</p><p>[INFO] Final Memory: 4M/74M</p><p>[INFO] ------------------------------------------------------------------------</p><p>[ERROR] Failed to execute goal on project metis-subsystem: Could not resolve dependencies for project org.ccf:metis-subsystem:jar:1.</p><p>0-SNAPSHOT: The following artifacts could not be resolved: org.jboss.as:jboss-as-controller:jar:7.0.0.Final, org.jboss.as:jboss-as-s</p><p>erver:jar:7.0.0.Final: Could not find artifact org.jboss.as:jboss-as-controller:jar:7.0.0.Final in central (<a class="jive-link-external-small" href="http://repo1.maven.org/m">http://repo1.maven.org/m</a></p><p>aven2) -&gt; [Help 1]</p><p>[ERROR]</p><p>[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.</p><p>[ERROR] Re-run Maven using the -X switch to enable full debug logging.</p><p>[ERROR]</p><p>[ERROR] For more information about the errors and possible solutions, please read the following articles:</p><p>[ERROR] [Help 1] <a class="jive-link-external-small" href="http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException">http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException</a></p></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Reply to this message by <a href="http://community.jboss.org/message/618904#618904">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in JBoss AS7 Development at <a href="http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>