continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r306584 - in /maven/continuum/trunk: continuum-api/src/main/java/org/apache/maven/continuum/ continuum-api/src/main/java/org/apache/maven/continuum/configuration/ continuum-core/src/main/java/org/apache/maven/continuum/ continuum-core/src/m...
Date Thu, 06 Oct 2005 11:00:28 GMT
Author: evenisse
Date: Thu Oct  6 03:59:55 2005
New Revision: 306584

URL: http://svn.apache.org/viewcvs?rev=306584&view=rev
Log:
[CONTINUUM-325] Refactor configurationService tor store conf in database instead of configuration.xml

Removed:
    maven/continuum/trunk/continuum-plexus-application/src/conf/configuration.xml
Modified:
    maven/continuum/trunk/continuum-api/src/main/java/org/apache/maven/continuum/Continuum.java
    maven/continuum/trunk/continuum-api/src/main/java/org/apache/maven/continuum/configuration/ConfigurationService.java
    maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java
    maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/configuration/DefaultConfigurationService.java
    maven/continuum/trunk/continuum-core/src/main/resources/META-INF/plexus/components.xml
    maven/continuum/trunk/continuum-core/src/test/java/org/apache/maven/continuum/configuration/ConfigurationServiceTest.java
    maven/continuum/trunk/continuum-core/src/test/resources/org/apache/maven/continuum/DefaultContinuumTest.xml
    maven/continuum/trunk/continuum-core/src/test/resources/org/apache/maven/continuum/configuration/ConfigurationServiceTest.xml
    maven/continuum/trunk/continuum-model/src/main/mdo/continuum.mdo
    maven/continuum/trunk/continuum-test/src/main/java/org/apache/maven/continuum/AbstractContinuumTest.java
    maven/continuum/trunk/continuum-xmlrpc/src/test/resources/org/apache/maven/continuum/xmlrpc/ContinuumXmlRpcTest.xml

Modified: maven/continuum/trunk/continuum-api/src/main/java/org/apache/maven/continuum/Continuum.java
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-api/src/main/java/org/apache/maven/continuum/Continuum.java?rev=306584&r1=306583&r2=306584&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-api/src/main/java/org/apache/maven/continuum/Continuum.java
(original)
+++ maven/continuum/trunk/continuum-api/src/main/java/org/apache/maven/continuum/Continuum.java
Thu Oct  6 03:59:55 2005
@@ -207,7 +207,8 @@
 
     ConfigurationService getConfiguration();
 
-    void updateConfiguration( Map parameters );
+    void updateConfiguration( Map parameters )
+        throws ContinuumException;
 
     void reloadConfiguration()
         throws ContinuumException;

Modified: maven/continuum/trunk/continuum-api/src/main/java/org/apache/maven/continuum/configuration/ConfigurationService.java
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-api/src/main/java/org/apache/maven/continuum/configuration/ConfigurationService.java?rev=306584&r1=306583&r2=306584&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-api/src/main/java/org/apache/maven/continuum/configuration/ConfigurationService.java
(original)
+++ maven/continuum/trunk/continuum-api/src/main/java/org/apache/maven/continuum/configuration/ConfigurationService.java
Thu Oct  6 03:59:55 2005
@@ -31,24 +31,6 @@
     //
     // ----------------------------------------------------------------------
 
-    String CONFIGURATION = "configuration";
-
-    String CONFIGURATION_URL = "url";
-
-    String CONFIGURATION_BUILD_OUTPUT_DIRECTORY = "build-output-directory";
-
-    String CONFIGURATION_WORKING_DIRECTORY = "working-directory";
-
-    String CONFIGURATION_COMPANY_LOGO = "company-logo";
-
-    String CONFIGURATION_COMPANY_NAME = "company-name";
-
-    String CONFIGURATION_COMPANY_URL = "company-url";
-
-    // ----------------------------------------------------------------------
-    //
-    // ----------------------------------------------------------------------
-
     boolean isInitialized();
 
     void setInitialized( boolean initialized );
@@ -66,10 +48,6 @@
     void setWorkingDirectory( File workingDirectory );
 
     void setJdks( Map jdks );
-
-    void setInMemoryMode( boolean inMemoryMode );
-
-    boolean inMemoryMode();
 
     String getCompanyLogo();
 

Modified: maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java?rev=306584&r1=306583&r2=306584&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java
(original)
+++ maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java
Thu Oct  6 03:59:55 2005
@@ -1048,27 +1048,37 @@
     }
 
     public void updateConfiguration( Map configuration )
+        throws ContinuumException
     {
-        if ( convertBoolean( (String) configuration.get( "conf.enableGuest" ) ) )
+        try
         {
-            configurationService.setGuestAccountEnabled( true );
-        }
-        else
-        {
-            configurationService.setGuestAccountEnabled( false );
-        }
+            if ( convertBoolean( (String) configuration.get( "conf.enableGuest" ) ) )
+            {
+                configurationService.setGuestAccountEnabled( true );
+            }
+            else
+            {
+                configurationService.setGuestAccountEnabled( false );
+            }
+
+            configurationService.setWorkingDirectory( configurationService.getFile( (String)
configuration.get( "conf.workingDirectory" ) ) );
 
-        configurationService.setWorkingDirectory( configurationService.getFile( (String)
configuration.get( "conf.workingDirectory" ) ) );
+            configurationService.setBuildOutputDirectory( configurationService.getFile( (String)
configuration.get( "conf.buildOutputDirectory" ) ) );
 
-        configurationService.setBuildOutputDirectory( configurationService.getFile( (String)
configuration.get( "conf.buildOutputDirectory" ) ) );
+            configurationService.setUrl( (String) configuration.get( "conf.url" ) );
 
-        configurationService.setUrl( (String) configuration.get( "conf.url" ) );
+            configurationService.setCompanyName( (String) configuration.get( "conf.companyName"
) );
 
-        configurationService.setCompanyName( (String) configuration.get( "conf.companyName"
) );
+            configurationService.setCompanyLogo( (String) configuration.get( "conf.companyLogo"
) );
 
-        configurationService.setCompanyLogo( (String) configuration.get( "conf.companyLogo"
) );
+            configurationService.setCompanyUrl( (String) configuration.get( "conf.companyUrl"
) );
 
-        configurationService.setCompanyUrl( (String) configuration.get( "conf.companyUrl"
) );
+            configurationService.store();
+        }
+        catch ( ConfigurationStoringException e )
+        {
+            throw new ContinuumException( "Can't store configuration.", e );
+        }
     }
 
     public void reloadConfiguration()

Modified: maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/configuration/DefaultConfigurationService.java
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/configuration/DefaultConfigurationService.java?rev=306584&r1=306583&r2=306584&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/configuration/DefaultConfigurationService.java
(original)
+++ maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/configuration/DefaultConfigurationService.java
Thu Oct  6 03:59:55 2005
@@ -21,11 +21,6 @@
 import org.apache.maven.continuum.store.ContinuumStoreException;
 import org.codehaus.plexus.logging.AbstractLogEnabled;
 import org.codehaus.plexus.util.FileUtils;
-import org.codehaus.plexus.util.StringUtils;
-import org.codehaus.plexus.util.xml.Xpp3Dom;
-import org.codehaus.plexus.util.xml.Xpp3DomBuilder;
-import org.codehaus.plexus.util.xml.Xpp3DomWriter;
-import org.codehaus.plexus.util.xml.pull.XmlPullParserException;
 
 import java.io.File;
 import java.io.FileNotFoundException;
@@ -47,11 +42,6 @@
     /**
      * @plexus.configuration
      */
-    private File source;
-
-    /**
-     * @plexus.configuration
-     */
     private File applicationHome;
 
     /**
@@ -63,34 +53,14 @@
     //
     // ----------------------------------------------------------------------
 
-    private Xpp3Dom configuration;
-
     private SystemConfiguration systemConf;
 
     // ----------------------------------------------------------------------
     // Continuum specifics we'll refactor out later
     // ----------------------------------------------------------------------
 
-    private boolean inMemoryMode;
-
-    private boolean initialized;
-
-    private String url;
-
-    private File buildOutputDirectory;
-
-    private File workingDirectory;
-
     private Map jdks;
 
-    private String companyLogoUrl;
-
-    private String companyName;
-
-    private String companyUrl;
-
-    private boolean guestAccountEnabled;
-
     private static final String LS = System.getProperty( "line.separator" );
 
     // ----------------------------------------------------------------------
@@ -109,32 +79,32 @@
 
     public String getUrl()
     {
-        return url;
+        return systemConf.getBaseUrl();
     }
 
     public void setUrl( String url )
     {
-        this.url = url;
+        systemConf.setBaseUrl( url );
     }
 
     public File getBuildOutputDirectory()
     {
-        return buildOutputDirectory;
+        return getFile( systemConf.getBuildOutputDirectory() );
     }
 
     public void setBuildOutputDirectory( File buildOutputDirectory )
     {
-        this.buildOutputDirectory = buildOutputDirectory;
+        systemConf.setBuildOutputDirectory( buildOutputDirectory.getAbsolutePath() );
     }
 
     public File getWorkingDirectory()
     {
-        return workingDirectory;
+        return getFile( systemConf.getWorkingDirectory() );
     }
 
     public void setWorkingDirectory( File workingDirectory )
     {
-        this.workingDirectory = workingDirectory;
+        systemConf.setWorkingDirectory( workingDirectory.getAbsolutePath() );
     }
 
     public void setJdks( Map jdks )
@@ -142,44 +112,34 @@
         this.jdks = jdks;
     }
 
-    public void setInMemoryMode( boolean inMemoryMode )
-    {
-        this.inMemoryMode = inMemoryMode;
-    }
-
-    public boolean inMemoryMode()
-    {
-        return inMemoryMode;
-    }
-
     public String getCompanyLogo()
     {
-        return companyLogoUrl;
+        return systemConf.getCompanyLogoUrl();
     }
 
     public void setCompanyLogo( String companyLogoUrl )
     {
-        this.companyLogoUrl = companyLogoUrl;
+        systemConf.setCompanyLogoUrl( companyLogoUrl );
     }
 
     public String getCompanyName()
     {
-        return companyName;
+        return systemConf.getCompanyName();
     }
 
     public void setCompanyName( String companyName )
     {
-        this.companyName = companyName;
+        systemConf.setCompanyName(  companyName );
     }
 
     public String getCompanyUrl()
     {
-        return companyUrl;
+        return systemConf.getCompanyUrl();
     }
 
     public void setCompanyUrl( String companyUrl )
     {
-        this.companyUrl = companyUrl;
+        systemConf.setCompanyUrl( companyUrl );
     }
 
     public boolean isGuestAccountEnabled()
@@ -244,127 +204,6 @@
     }
 
     // ----------------------------------------------------------------------
-    // Process configuration to glean application specific values
-    // ----------------------------------------------------------------------
-
-    protected void processInboundConfiguration()
-        throws ConfigurationLoadingException
-    {
-        Xpp3Dom urlDom = configuration.getChild( CONFIGURATION_URL );
-
-        if ( urlDom != null )
-        {
-            url = urlDom.getValue();
-        }
-
-        Xpp3Dom buildOutputDirectoryDom = configuration.getChild( CONFIGURATION_BUILD_OUTPUT_DIRECTORY
);
-
-        if ( buildOutputDirectoryDom != null )
-        {
-            buildOutputDirectory = getFile( configuration, CONFIGURATION_BUILD_OUTPUT_DIRECTORY
);
-        }
-
-        workingDirectory = getFile( configuration, CONFIGURATION_WORKING_DIRECTORY );
-
-        Xpp3Dom companyLogoUrlDom = configuration.getChild( CONFIGURATION_COMPANY_LOGO );
-
-        if ( companyLogoUrlDom != null )
-        {
-            companyLogoUrl = companyLogoUrlDom.getValue();
-        }
-
-        Xpp3Dom companyNameDom = configuration.getChild( CONFIGURATION_COMPANY_NAME );
-
-        if ( companyNameDom != null )
-        {
-            companyName = companyNameDom.getValue();
-        }
-
-        Xpp3Dom companyUrlDom = configuration.getChild( CONFIGURATION_COMPANY_URL );
-
-        if ( companyUrlDom != null )
-        {
-            companyUrl = companyUrlDom.getValue();
-        }
-    }
-
-    private File getFile( Xpp3Dom configuration, String elementName )
-        throws ConfigurationLoadingException
-    {
-        Xpp3Dom element = configuration.getChild( elementName );
-
-        if ( element == null )
-        {
-            throw new ConfigurationLoadingException( "Missing required element '" + elementName
+ "'." );
-        }
-
-        String value = element.getValue();
-
-        if ( StringUtils.isEmpty( value ) )
-        {
-            throw new ConfigurationLoadingException( "Missing required element '" + elementName
+ "'." );
-        }
-
-        return getFile( value );
-    }
-
-    protected void processOutboundConfiguration()
-    {
-        configuration = new Xpp3Dom( CONFIGURATION );
-
-        if ( url != null )
-        {
-            configuration.addChild( createDom( CONFIGURATION_URL, url ) );
-        }
-
-        if ( buildOutputDirectory != null )
-        {
-            configuration.addChild( createFileDom( CONFIGURATION_BUILD_OUTPUT_DIRECTORY,
buildOutputDirectory ) );
-        }
-
-        if ( workingDirectory != null )
-        {
-            configuration.addChild( createFileDom( CONFIGURATION_WORKING_DIRECTORY, workingDirectory
) );
-        }
-
-        if ( companyLogoUrl != null )
-        {
-            configuration.addChild( createDom( CONFIGURATION_COMPANY_LOGO, companyLogoUrl
) );
-        }
-
-        if ( companyName != null )
-        {
-            configuration.addChild( createDom( CONFIGURATION_COMPANY_NAME, companyName )
);
-        }
-
-        if ( companyUrl != null )
-        {
-            configuration.addChild( createDom( CONFIGURATION_COMPANY_URL, companyUrl ) );
-        }
-    }
-
-    protected Xpp3Dom createDom( String elementName, String value )
-    {
-        Xpp3Dom dom = new Xpp3Dom( elementName );
-
-        dom.setValue( value );
-
-        return dom;
-    }
-
-    private Xpp3Dom createFileDom( String elementName, File file )
-    {
-        String path = file.getAbsolutePath();
-
-        if ( path.startsWith( applicationHome.getAbsolutePath() ) )
-        {
-            path = path.substring( applicationHome.getAbsolutePath().length() + 1 );
-        }
-
-        return createDom( elementName, path );
-    }
-
-    // ----------------------------------------------------------------------
     // Load and Store
     // ----------------------------------------------------------------------
 
@@ -386,31 +225,6 @@
         {
             throw new ConfigurationLoadingException( "Error reading configuration from database.",
e );
         }
-
-        if ( inMemoryMode )
-        {
-            return;
-        }
-
-        try
-        {
-            configuration = Xpp3DomBuilder.build( new FileReader( source ) );
-        }
-        catch ( FileNotFoundException e )
-        {
-            throw new ConfigurationLoadingException(
-                "Specified location of configuration '" + source + "' doesn't exist." );
-        }
-        catch ( IOException e )
-        {
-            throw new ConfigurationLoadingException( "Error reading configuration '" + source
+ "'.", e );
-        }
-        catch ( XmlPullParserException e )
-        {
-            throw new ConfigurationLoadingException( "Error parsing configuration '" + source
+ "'.", e );
-        }
-
-        processInboundConfiguration();
     }
 
     public void store()
@@ -423,34 +237,6 @@
         catch ( ContinuumStoreException e )
         {
             throw new ConfigurationStoringException( "Error writting configuration to database.",
e );
-        }
-
-        if ( inMemoryMode )
-        {
-            return;
-        }
-
-        processOutboundConfiguration();
-
-        try
-        {
-            File backup = new File( source.getAbsolutePath() + ".backup" );
-
-            FileUtils.rename( source, backup );
-
-            Writer writer = new FileWriter( source );
-
-            writer.write( "<!-- Written by Continuum on " + new Date() + " -->" + LS
);
-
-            Xpp3DomWriter.write( writer, configuration );
-
-            writer.flush();
-
-            writer.close();
-        }
-        catch ( IOException e )
-        {
-            throw new ConfigurationStoringException( "Error writting configuration '" + source
+ "'.", e );
         }
     }
 }

Modified: maven/continuum/trunk/continuum-core/src/main/resources/META-INF/plexus/components.xml
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-core/src/main/resources/META-INF/plexus/components.xml?rev=306584&r1=306583&r2=306584&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-core/src/main/resources/META-INF/plexus/components.xml
(original)
+++ maven/continuum/trunk/continuum-core/src/main/resources/META-INF/plexus/components.xml
Thu Oct  6 03:59:55 2005
@@ -46,7 +46,6 @@
         </requirement>
       </requirements>
       <configuration>
-        <source>${plexus.home}/conf/configuration.xml</source>
         <application-home>${plexus.home}</application-home>
       </configuration>
     </component>

Modified: maven/continuum/trunk/continuum-core/src/test/java/org/apache/maven/continuum/configuration/ConfigurationServiceTest.java
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-core/src/test/java/org/apache/maven/continuum/configuration/ConfigurationServiceTest.java?rev=306584&r1=306583&r2=306584&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-core/src/test/java/org/apache/maven/continuum/configuration/ConfigurationServiceTest.java
(original)
+++ maven/continuum/trunk/continuum-core/src/test/java/org/apache/maven/continuum/configuration/ConfigurationServiceTest.java
Thu Oct  6 03:59:55 2005
@@ -45,11 +45,7 @@
     {
         ConfigurationService service = (ConfigurationService) lookup( ConfigurationService.ROLE
);
 
-        service.setInMemoryMode( false );
-
         service.load();
-
-        assertEquals( "http://localhost:8080/continuum/servlet/continuum", service.getUrl()
);
 
         assertEquals( "build-output", service.getBuildOutputDirectory().getName() );
 

Modified: maven/continuum/trunk/continuum-core/src/test/resources/org/apache/maven/continuum/DefaultContinuumTest.xml
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-core/src/test/resources/org/apache/maven/continuum/DefaultContinuumTest.xml?rev=306584&r1=306583&r2=306584&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-core/src/test/resources/org/apache/maven/continuum/DefaultContinuumTest.xml
(original)
+++ maven/continuum/trunk/continuum-core/src/test/resources/org/apache/maven/continuum/DefaultContinuumTest.xml
Thu Oct  6 03:59:55 2005
@@ -23,18 +23,5 @@
       </configuration>
     </component>
 
-    <component>
-      <role>org.apache.maven.continuum.configuration.ConfigurationService</role>
-      <implementation>org.apache.maven.continuum.configuration.DefaultConfigurationService</implementation>
-      <requirements>
-        <requirement>
-          <role>org.apache.maven.continuum.store.ContinuumStore</role>
-        </requirement>
-      </requirements>
-      <configuration>
-        <inMemoryMode>true</inMemoryMode>
-      </configuration>
-    </component>
-
   </components>
 </plexus>

Modified: maven/continuum/trunk/continuum-core/src/test/resources/org/apache/maven/continuum/configuration/ConfigurationServiceTest.xml
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-core/src/test/resources/org/apache/maven/continuum/configuration/ConfigurationServiceTest.xml?rev=306584&r1=306583&r2=306584&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-core/src/test/resources/org/apache/maven/continuum/configuration/ConfigurationServiceTest.xml
(original)
+++ maven/continuum/trunk/continuum-core/src/test/resources/org/apache/maven/continuum/configuration/ConfigurationServiceTest.xml
Thu Oct  6 03:59:55 2005
@@ -10,7 +10,6 @@
       </requirements>
       <configuration>
         <application-home>${basedir}/target/continuum</application-home>
-        <source>${basedir}/target/configuration.xml</source>
       </configuration>
     </component>
   </components>

Modified: maven/continuum/trunk/continuum-model/src/main/mdo/continuum.mdo
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-model/src/main/mdo/continuum.mdo?rev=306584&r1=306583&r2=306584&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-model/src/main/mdo/continuum.mdo (original)
+++ maven/continuum/trunk/continuum-model/src/main/mdo/continuum.mdo Thu Oct  6 03:59:55 2005
@@ -695,6 +695,36 @@
           <defaultValue>0 0 * * * ?</defaultValue>
         </field>
         <field>
+          <name>workingDirectory</name>
+          <version>1.0.0+</version>
+          <type>String</type>
+        </field>
+        <field>
+          <name>buildOutputDirectory</name>
+          <version>1.0.0+</version>
+          <type>String</type>
+        </field>
+        <field>
+          <name>baseUrl</name>
+          <version>1.0.0+</version>
+          <type>String</type>
+        </field>
+        <field>
+          <name>companyName</name>
+          <version>1.0.0+</version>
+          <type>String</type>
+        </field>
+        <field>
+          <name>companyLogoUrl</name>
+          <version>1.0.0+</version>
+          <type>String</type>
+        </field>
+        <field>
+          <name>companyUrl</name>
+          <version>1.0.0+</version>
+          <type>String</type>
+        </field>
+        <field>
           <name>initialized</name>
           <version>1.0.0+</version>
           <type>boolean</type>

Modified: maven/continuum/trunk/continuum-test/src/main/java/org/apache/maven/continuum/AbstractContinuumTest.java
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-test/src/main/java/org/apache/maven/continuum/AbstractContinuumTest.java?rev=306584&r1=306583&r2=306584&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-test/src/main/java/org/apache/maven/continuum/AbstractContinuumTest.java
(original)
+++ maven/continuum/trunk/continuum-test/src/main/java/org/apache/maven/continuum/AbstractContinuumTest.java
Thu Oct  6 03:59:55 2005
@@ -66,11 +66,13 @@
     public static void setUpConfigurationService( ConfigurationService configurationService
)
         throws Exception
     {
-        configurationService.setInMemoryMode( true );
+        configurationService.load();
 
         configurationService.setBuildOutputDirectory( getTestFile( "target/build-output"
) );
 
         configurationService.setWorkingDirectory( getTestFile( "target/working-directory"
) );
+
+        configurationService.store();
     }
 
     protected ProjectGroup getDefaultProjectGroup()

Modified: maven/continuum/trunk/continuum-xmlrpc/src/test/resources/org/apache/maven/continuum/xmlrpc/ContinuumXmlRpcTest.xml
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-xmlrpc/src/test/resources/org/apache/maven/continuum/xmlrpc/ContinuumXmlRpcTest.xml?rev=306584&r1=306583&r2=306584&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-xmlrpc/src/test/resources/org/apache/maven/continuum/xmlrpc/ContinuumXmlRpcTest.xml
(original)
+++ maven/continuum/trunk/continuum-xmlrpc/src/test/resources/org/apache/maven/continuum/xmlrpc/ContinuumXmlRpcTest.xml
Thu Oct  6 03:59:55 2005
@@ -1,16 +1,4 @@
 <plexus>
   <components>
-    <component>
-      <role>org.apache.maven.continuum.configuration.ConfigurationService</role>
-      <implementation>org.apache.maven.continuum.configuration.DefaultConfigurationService</implementation>
-      <requirements>
-        <requirement>
-          <role>org.apache.maven.continuum.store.ContinuumStore</role>
-        </requirement>
-      </requirements>
-      <configuration>
-        <inMemoryMode>true</inMemoryMode>
-      </configuration>
-    </component>
   </components>
 </plexus>



Mime
View raw message