0 Replies Latest reply on Apr 22, 2010 7:23 AM by thomas.diesler

    Running the 1.0.0.Beta7 examples

    thomas.diesler

      JBoss has recently migrated its maven repository infrastrucure to Nexus. It is possible that the JBoss OSGi examples that come with the Beta7 distribution do not work for you unless you make some repo adjustments

       

      Here are the details

      http://community.jboss.org/wiki/MavenGettingStarted-Users

       

      In case you do not have the (deprecated) artefacts already in you local repository, you need to add this profile to your ~/.m2/setttings.xml

       

         <profile>
            <id>jboss-deprecated</id>
            <repositories>
              <repository>
                <id>jboss-deprecated</id>
                <name>JBoss Deprecated</name>
                <url>https://repository.jboss.org/nexus/content/repositories/deprecated/</url>
                <layout>default</layout>
                <releases>
                  <enabled>true</enabled>
                  <updatePolicy>never</updatePolicy>
                </releases>
                <snapshots>
                  <enabled>false</enabled>
                </snapshots>
              </repository>
            </repositories>
          </profile>
      

       

      Now you can run

       

      examples> mvn -Pjboss-deprecated install