[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: docbook build error

pgier do-not-reply at jboss.com
Thu Sep 13 17:31:34 EDT 2007


Looks like it's not finding the jboss repository.  
I use a profile like this in my local 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>
  |         </repository>
  |       </repositories>
  |       <pluginRepositories>
  |         <pluginRepository>
  |           <id>repository.jboss.org</id>
  |           <url>http://repository.jboss.org/maven2</url>
  |         </pluginRepository>
  |         <pluginRepository>
  |           <id>snapshots.jboss.org</id>
  |           <url>http://snapshots.jboss.org/maven2</url>
  |           <snapshots>
  |             <enabled>true</enabled>
  |           </snapshots>
  |         </pluginRepository>
  |       </pluginRepositories>
  |     </profile>
  |   </profiles>
  | 

The profile will be on by default, but you can turn it off by using the system property:

  | mvn -Djboss.repository.off
  | 

Once we get synching with the main maven repo, this won't be a problem anymore.

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

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



More information about the jboss-dev-forums mailing list