Changes between Version 22 and Version 23 of Obsolete/Development/UsefulLinks


Ignore:
Timestamp:
Feb 24, 2011, 9:35:23 AM (13 years ago)
Author:
/O=GRID-FR/C=FR/O=CNRS/OU=LAL/CN=Charles Loomis
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Obsolete/Development/UsefulLinks

    v22 v23  
    5757See [wiki:Web/Contacts Contacts] page.
    5858
    59 == Components ==
     59== Configuration Modules ==
    6060
    61 Before developing a new component, please search the existing code repository to ensure that there is not already something similar.  Also send an email to the Quattor discussion list to see if anyone else has a private component or is interested in collaborating with you.  A [http://quattor.sourceforge.net/components.html list of components along with their man pages] is available on the web. 
     61Before developing a new configuration module, please search the existing code repository to ensure that there is not already something similar.  Also send an email to the Quattor discussion list to see if anyone else has a private configuration module or is interested in collaborating with you.  A [http://quattor.sourceforge.net/components.html list of components along with their man pages] is available on the web. 
    6262
    63 To create a working, skeleton Quattor configuration component, use maven to create one from the standard "archetype".  Use the following command:
     63To create a working skeleton Quattor configuration module, use maven to create one from the standard "archetype".  Use the following command:
    6464{{{
    6565mvn archetype:generate \
    66   -DarchetypeGroupId=org.quattor.maven \
    67   -DarchetypeArtifactId=component \
    68   -DarchetypeVersion=1.0.0 \
    69   -DarchetypeRepository=http://lapp-repo01.in2p3.fr:8081/nexus/content/repositories/releases/ \
    70   -DgroupId=org.quattor.config.component \
    71   -DartifactId=example
     66   -DarchetypeArtifactId=cfg-module \
     67   -DarchetypeGroupId=org.quattor.maven \
     68   -DarchetypeVersion=1.3 \
     69   -DarchetypeRepository=http://lapp-repo01.in2p3.fr:8081/nexus/content/repositories/releases/
    7270}}}
    7371Use the standard groupId for the component if this will become part of the Quattor repository.  Once generated, you can ensure that the component compiles with `mvn package`.  You should then modify the perl module and pan language files as appropriate for the component that you are building.
     72
     73If you are going to upload configuration modules to the Quattor repository, then the following needs to be added to your maven ~/.m2/settings.xml file:
     74{{{
     75<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
     76 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     77 xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
     78                     http://maven.apache.org/xsd/settings-1.0.0.xsd">
     79 <localRepository/>
     80 <interactiveMode/>
     81 <usePluginRegistry/>
     82 <offline/>
     83 <pluginGroups/>
     84 <servers/>
     85 <mirrors/>
     86 <proxies/>
     87 <profiles>
     88   <profile>
     89     <id>quattor-plugins</id>
     90     <pluginRepositories>
     91       <pluginRepository>
     92         <id>quattor-releases</id>
     93         <url>http://lapp-repo01.in2p3.fr:8081/nexus/content/repositories/releases/</url>
     94       </pluginRepository>
     95     </pluginRepositories>
     96   </profile>   
     97 </profiles>
     98 <activeProfiles/>
     99</settings>
     100}}}
     101
    74102
    75103== Pan language ==