Changeset 4368


Ignore:
Timestamp:
2010-10-13 10:08:30 (3 years ago)
Author:
bruno
Message:

Add a maven plugin to download kauri-runtime-launcher and its dependencies into the local maven repository.

Location:
trunk
Files:
1 added
3 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/process/server/pom.xml

    r4363 r4368  
    106106        </executions> 
    107107      </plugin> 
     108 
     109      <plugin> 
     110        <groupId>org.lilycms</groupId> 
     111        <artifactId>lily-kauri-plugin</artifactId> 
     112        <version>0.2-SNAPSHOT</version> 
     113        <inherited>false</inherited> 
     114        <configuration> 
     115          <kauriVersion>${version.kauri}</kauriVersion> 
     116        </configuration> 
     117        <executions> 
     118          <execution> 
     119            <phase>compile</phase> 
     120            <goals> 
     121              <goal>resolve-runtime-dependencies</goal> 
     122            </goals> 
     123          </execution> 
     124        </executions> 
     125      </plugin> 
    108126    </plugins> 
    109127 
  • trunk/process/test/pom.xml

    r4363 r4368  
    103103            <phase>compile</phase> 
    104104            <goals> 
    105               <goal>resolve</goal> 
     105              <goal>resolve-project-dependencies</goal> 
    106106            </goals> 
    107107          </execution> 
  • trunk/tools/lily-kauri-plugin/src/main/java/org/lilycms/tools/mavenplugin/kauridepresolver/KauriProjectDependencyResolver.java

    r4363 r4368  
    1616/** 
    1717 * 
    18  * @goal resolve 
     18 * @goal resolve-project-dependencies 
    1919 * @requiresDependencyResolution runtime 
    2020 * @description Resolve (download) all the dependencies of a Kauri project starting from wiring.xml. 
    2121 */ 
    22 public class KauriDependencyResolver extends AbstractMojo { 
     22public class KauriProjectDependencyResolver extends AbstractMojo { 
    2323    /** 
    2424     * Location of the conf directory. 
  • trunk/tools/lily-kauri-plugin/src/main/java/org/lilycms/tools/mavenplugin/kauridepresolver/KauriRuntimeRepository.java

    r4363 r4368  
    1919 */ 
    2020public class KauriRuntimeRepository extends AbstractMojo { 
    21     /** 
    22      * Location of the conf directory. 
    23      * 
    24      * @parameter expression="${basedir}/conf" 
    25      * @required 
    26      */ 
    27     protected String confDirectory; 
    28  
    2921    /** 
    3022     * Kauri version. 
     
    7668 
    7769    public void execute() throws MojoExecutionException, MojoFailureException { 
    78         KauriProjectClasspath cp = new KauriProjectClasspath(confDirectory, kauriVersion, getLog(), null, 
     70        KauriProjectClasspath cp = new KauriProjectClasspath(null, kauriVersion, getLog(), null, 
    7971                artifactFactory, resolver, remoteRepositories, localRepository); 
    8072 
Note: See TracChangeset for help on using the changeset viewer.