[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Maven build broken again - Microcontainer

adrian@jboss.org do-not-reply at jboss.com
Fri Jan 25 08:32:52 EST 2008


If anybody else sees this problem,  I managed to get this working by
adding the following to my ~/.m2/settings.xml


  |     <profile>
  |       <id>jboss.repository</id>
  |       <activation>
  |         <property>
  |           <name>!jboss.repository.off</name>
  |         </property>
  |       </activation>
  |       <repositories>
  |         <repository>
  |           <id>snapshots.jboss.org</id>
  |           <url>http://snapshots.jboss.org/maven2</url>
  |           <snapshots>
  |             <enabled>true</enabled>
  |           </snapshots>
  |         </repository>
  |         <repository>
  |           <id>repository.jboss.org</id>
  |           <url>http://repository.jboss.org/maven2</url>
  |           <snapshots>
  |             <enabled>false</enabled>
  |           </snapshots>
  |         </repository>
  |       </repositories>
  |       <pluginRepositories>
  |         <pluginRepository>
  |           <id>repository.jboss.org</id>
  |           <url>http://repository.jboss.org/maven2</url>
  |           <snapshots>
  |             <enabled>false</enabled>
  |           </snapshots>
  |         </pluginRepository>
  |         <pluginRepository>
  |           <id>snapshots.jboss.org</id>
  |           <url>http://snapshots.jboss.org/maven2</url>
  |           <snapshots>
  |             <enabled>true</enabled>
  |           </snapshots>
  |         </pluginRepository>
  |       </pluginRepositories>
  |     </profile>
  | 

I also had to updgrade to the latest maven (2.0.8 at time of writiing).

I've verified this works with a clean build and deleting my entire local maven repository.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123463#4123463

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123463



More information about the jboss-dev-forums mailing list