[Git][java-team/plexus-bsh-factory][master] 12 commits: Initial upstream branch.

Tony Mancill (@tmancill) gitlab at salsa.debian.org
Fri Sep 23 16:20:01 BST 2022



Tony Mancill pushed to branch master at Debian Java Maintainers / plexus-bsh-factory


Commits:
6ab0b699 by Emmanuel Bourg at 2016-02-19T14:55:49+01:00
Initial upstream branch.

- - - - -
01e6b3ce by tony mancill at 2022-09-22T21:35:18-07:00
Import Upstream version 1.0~alpha7
- - - - -
73672339 by Holger Levsen at 2022-09-22T21:35:18-07:00
Import Debian changes 1.0~alpha7-4.1

plexus-bsh-factory (1.0~alpha7-4.1) unstable; urgency=medium
..
  * Non maintainer upload by the Reproducible Builds team.
  * No source change upload to rebuild on buildd with .buildinfo files.

- - - - -
b9c9bb5b by tony mancill at 2022-09-22T22:15:46-07:00
Update Uploaders field (Closes: #889420)

- - - - -
ec868cf9 by tony mancill at 2022-09-22T22:18:03-07:00
Update build-dep on libplexus-container-default-java (Closes: #1020427)

- - - - -
978fe2f1 by tony mancill at 2022-09-22T22:22:21-07:00
Update Vcs URLs to point to Salsa

- - - - -
6ecb7ab7 by tony mancill at 2022-09-22T22:22:46-07:00
interim changelog entry

- - - - -
d718e330 by tony mancill at 2022-09-23T08:09:13-07:00
Use debhelper-compat 13

- - - - -
e2a4eca2 by tony mancill at 2022-09-23T08:10:59-07:00
Remove get-orig-source target from debian/rules

- - - - -
55eafb6c by tony mancill at 2022-09-23T08:11:20-07:00
Bump Standards-Version to 4.6.1

- - - - -
c5988e24 by tony mancill at 2022-09-23T08:14:02-07:00
Freshen years in debian/copyright

- - - - -
bdc735c2 by tony mancill at 2022-09-23T08:15:44-07:00
Prepare changelog for upload

- - - - -


15 changed files:

- debian/changelog
- − debian/compat
- debian/control
- debian/copyright
- debian/rules
- + pom.xml
- + release-pom.xml
- + src/main/java/org/codehaus/plexus/component/factory/bsh/BshComponent.java
- + src/main/java/org/codehaus/plexus/component/factory/bsh/BshComponentConfigurator.java
- + src/main/java/org/codehaus/plexus/component/factory/bsh/BshComponentFactory.java
- + src/main/resources/META-INF/plexus/components.xml
- + src/test/java/org/codehaus/plexus/component/factory/bsh/BshComponentFactoryTest.java
- + src/test/java/org/codehaus/plexus/component/factory/bsh/Hello.java
- + src/test/resources/DefaultHello.bsh
- + src/test/resources/org/codehaus/plexus/component/factory/bsh/BshComponentFactoryTest.xml


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,21 @@
+plexus-bsh-factory (1.0~alpha7-5) unstable; urgency=medium
+
+  * Update Uploaders field (Closes: #889420)
+  * Update build-dep on libplexus-container-default-java (Closes: #1020427)
+  * Use debhelper-compat 13
+  * Remove get-orig-source target from debian/rules
+  * Bump Standards-Version to 4.6.1
+  * Freshen years in debian/copyright
+
+ -- tony mancill <tmancill at debian.org>  Fri, 23 Sep 2022 08:15:07 -0700
+
+plexus-bsh-factory (1.0~alpha7-4.1) unstable; urgency=medium
+
+  * Non maintainer upload by the Reproducible Builds team.
+  * No source change upload to rebuild on buildd with .buildinfo files.
+
+ -- Holger Levsen <holger at debian.org>  Mon, 28 Dec 2020 13:14:33 +0100
+
 plexus-bsh-factory (1.0~alpha7-4) unstable; urgency=medium
 
   * Team upload.


=====================================
debian/compat deleted
=====================================
@@ -1 +0,0 @@
-10


=====================================
debian/control
=====================================
@@ -2,12 +2,17 @@ Source: plexus-bsh-factory
 Section: java
 Priority: optional
 Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
-Uploaders: Ludovic Claude <ludovic.claude at laposte.net>, Damien Raude-Morvan <drazzib at debian.org>
-Build-Depends: debhelper (>= 10), default-jdk, maven-debian-helper, junit4
-Build-Depends-Indep: libplexus-container-default1.5-java, libbsh-java
-Standards-Version: 4.1.0
-Vcs-Git: https://anonscm.debian.org/git/pkg-java/plexus-bsh-factory.git
-Vcs-Browser: https://anonscm.debian.org/cgit/pkg-java/plexus-bsh-factory.git
+Uploaders: Ludovic Claude <ludovic.claude at laposte.net>,
+ tony mancill <tmancill at debian.org>
+Build-Depends: debhelper-compat (= 13),
+ default-jdk,
+ junit4,
+ libbsh-java,
+ libplexus-container-default-java,
+ maven-debian-helper,
+Standards-Version: 4.6.1
+Vcs-Git: https://salsa.debian.org/java-team/plexus-bsh-factory.git
+Vcs-Browser: https://salsa.debian.org/java-team/plexus-bsh-factory
 Homepage: http://plexus.codehaus.org/
 
 Package: libplexus-bsh-factory-java


=====================================
debian/copyright
=====================================
@@ -1,4 +1,4 @@
-Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: Plexus BeanShell Factory
 Source: http://plexus.codehaus.org
 
@@ -7,7 +7,8 @@ Copyright: 2001-2009, Codehaus Foundation.
 License: Apache-2.0
 
 Files: debian/*
-Copyright: 2009, Ludovic Claude <ludovic.claude at laposte.net>
+Copyright: 2009-2022, Ludovic Claude <ludovic.claude at laposte.net>
+	   2022 tony mancill <tmancill at debian.org>
 License: Apache-2.0
 
 License: Apache-2.0


=====================================
debian/rules
=====================================
@@ -2,6 +2,3 @@
 
 %:
 	dh $@
-
-get-orig-source:
-	uscan --download-current-version --force-download --rename


=====================================
pom.xml
=====================================
@@ -0,0 +1,18 @@
+<project>
+  <parent>
+    <artifactId>plexus-component-factories</artifactId>
+    <groupId>org.codehaus.plexus</groupId>
+    <version>1.0-alpha-5</version>
+  </parent>
+  <modelVersion>4.0.0</modelVersion>
+  <artifactId>plexus-bsh-factory</artifactId>
+  <name>Plexus BSH Factory</name>
+  <version>1.0-alpha-7</version>
+  <dependencies>
+    <dependency>
+      <groupId>bsh</groupId>
+      <artifactId>bsh</artifactId>
+      <version>1.3.0</version>
+    </dependency>
+  </dependencies>
+</project>
\ No newline at end of file


=====================================
release-pom.xml
=====================================
@@ -0,0 +1,248 @@
+<project>
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.codehaus.plexus</groupId>
+  <artifactId>plexus-bsh-factory</artifactId>
+  <name>Plexus BSH Factory</name>
+  <version>1.0-alpha-7</version>
+  <ciManagement>
+    <notifiers>
+      <notifier>
+        <configuration>
+          <address>dev at plexus.codehaus.org</address>
+        </configuration>
+      </notifier>
+      <notifier>
+        <type>irc</type>
+        <configuration>
+          <port>6667</port>
+          <host>irc.codehaus.org</host>
+          <channel>#plexus</channel>
+        </configuration>
+      </notifier>
+    </notifiers>
+  </ciManagement>
+  <inceptionYear>2001</inceptionYear>
+  <mailingLists>
+    <mailingList>
+      <name>Plexus Developer List</name>
+      <subscribe>http://lists.codehaus.org/mailman/listinfo/plexus-dev</subscribe>
+      <unsubscribe>http://lists.codehaus.org/mailman/listinfo/plexus-dev</unsubscribe>
+      <archive>http://lists.codehaus.org/pipermail/plexus-dev/</archive>
+    </mailingList>
+  </mailingLists>
+  <developers>
+    <developer>
+      <id>jvanzyl</id>
+      <name>Jason van Zyl</name>
+      <email>jason at zenplex.com</email>
+      <organization>Zenplex</organization>
+      <roles>
+        <role>Developer</role>
+        <role>Release Manager</role>
+      </roles>
+    </developer>
+    <developer>
+      <id>kaz</id>
+      <name>Pete Kazmier</name>
+      <email></email>
+      <organization></organization>
+      <roles>
+        <role>Developer</role>
+      </roles>
+    </developer>
+    <developer>
+      <id>jtaylor</id>
+      <name>James Taylor</name>
+      <email>james at jamestaylor.org</email>
+      <organization></organization>
+      <roles>
+        <role>Developer</role>
+      </roles>
+    </developer>
+    <developer>
+      <id>dandiep</id>
+      <name>Dan Diephouse</name>
+      <email>dan at envoisolutions.com</email>
+      <organization>Envoi solutions</organization>
+      <roles>
+        <role>Developer</role>
+      </roles>
+    </developer>
+    <developer>
+      <id>kasper</id>
+      <name>Kasper Nielsen</name>
+      <email>apache at kav.dk</email>
+      <organization></organization>
+      <roles>
+        <role>Developer</role>
+      </roles>
+    </developer>
+    <developer>
+      <id>bwalding</id>
+      <name>Ben Walding</name>
+      <email>bwalding at codehaus.org</email>
+      <organization>Walding Consulting Services</organization>
+      <roles>
+        <role>Developer</role>
+      </roles>
+    </developer>
+    <developer>
+      <id>mhw</id>
+      <name>Mark Wilkinson</name>
+      <email>mhw at kremvax.net</email>
+      <roles>
+        <role>Developer</role>
+      </roles>
+    </developer>
+    <developer>
+      <id>michal</id>
+      <name>Michal Maczka</name>
+      <email>mmaczka at interia.pl</email>
+      <roles>
+        <role>Developer</role>
+      </roles>
+    </developer>
+    <developer>
+      <id>evenisse</id>
+      <name>Emmanuel Venisse</name>
+      <email>evenisse at codehaus.org</email>
+      <roles>
+        <role>Developer</role>
+      </roles>
+    </developer>
+    <developer>
+      <id>trygvis</id>
+      <name>Trygve Laugstl</name>
+      <email>trygvis at codehaus.org</email>
+      <roles>
+        <role>Developer</role>
+      </roles>
+    </developer>
+    <developer>
+      <id>kenney</id>
+      <name>Kenney Westerhof</name>
+      <email>kenney at codehaus.org</email>
+      <roles>
+        <role>Developer</role>
+      </roles>
+    </developer>
+  </developers>
+  <scm>
+    <connection>scm:svn:svn://svn.codehaus.org/plexus/scm/trunk/plexus-component-factories/plexus-bsh-factory</connection>
+    <developerConnection>scm:svn:https://svn.codehaus.org/plexus/trunk/plexus-component-factories/plexus-bsh-factory</developerConnection>
+  </scm>
+  <organization>
+    <name>Codehaus</name>
+    <url>http://www.codehaus.org/</url>
+  </organization>
+  <build>
+    <sourceDirectory>src/main/java</sourceDirectory>
+    <scriptSourceDirectory>src/main/scripts</scriptSourceDirectory>
+    <testSourceDirectory>src/test/java</testSourceDirectory>
+    <outputDirectory>target/classes</outputDirectory>
+    <testOutputDirectory>target/test-classes</testOutputDirectory>
+    <resources>
+      <resource>
+        <directory>src/main/resources</directory>
+      </resource>
+    </resources>
+    <testResources>
+      <testResource>
+        <directory>src/test/resources</directory>
+      </testResource>
+    </testResources>
+    <directory>target</directory>
+    <plugins>
+      <plugin>
+        <artifactId>maven-release-plugin</artifactId>
+        <version>2.0-beta-3-SNAPSHOT</version>
+        <configuration>
+          <tagBase>https://svn.codehaus.org/plexus/tags</tagBase>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+  <repositories>
+    <repository>
+      <releases>
+        <enabled>false</enabled>
+      </releases>
+      <id>snapshots</id>
+      <name>Maven Snapshot Development Repository</name>
+      <url>http://snapshots.maven.codehaus.org/maven2</url>
+    </repository>
+    <repository>
+      <snapshots>
+        <enabled>false</enabled>
+      </snapshots>
+      <id>central</id>
+      <name>Maven Repository Switchboard</name>
+      <url>http://repo1.maven.org/maven2</url>
+    </repository>
+  </repositories>
+  <pluginRepositories>
+    <pluginRepository>
+      <releases>
+        <enabled>false</enabled>
+      </releases>
+      <id>snapshots-plugins</id>
+      <name>Maven Snapshot Plugins Development Repository</name>
+      <url>http://snapshots.maven.codehaus.org/maven2</url>
+    </pluginRepository>
+    <pluginRepository>
+      <snapshots>
+        <enabled>false</enabled>
+      </snapshots>
+      <id>central</id>
+      <name>Maven Plugin Repository</name>
+      <url>http://repo1.maven.org/maven2</url>
+    </pluginRepository>
+  </pluginRepositories>
+  <dependencies>
+    <dependency>
+      <groupId>org.codehaus.plexus</groupId>
+      <artifactId>plexus-utils</artifactId>
+      <version>1.0.4</version>
+      <scope>compile</scope>
+    </dependency>
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <version>3.8.1</version>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.codehaus.plexus</groupId>
+      <artifactId>plexus-container-default</artifactId>
+      <version>1.0-alpha-8</version>
+      <scope>compile</scope>
+    </dependency>
+    <dependency>
+      <groupId>classworlds</groupId>
+      <artifactId>classworlds</artifactId>
+      <version>1.1-alpha-2</version>
+      <scope>compile</scope>
+    </dependency>
+    <dependency>
+      <groupId>bsh</groupId>
+      <artifactId>bsh</artifactId>
+      <version>1.3.0</version>
+      <scope>compile</scope>
+    </dependency>
+  </dependencies>
+  <reporting>
+    <outputDirectory>target/site</outputDirectory>
+  </reporting>
+  <distributionManagement>
+    <repository>
+      <id>repo1</id>
+      <name>Maven Central Repository</name>
+      <url>scp://repo1.maven.org/home/projects/maven/repository-staging/to-ibiblio/maven2</url>
+    </repository>
+    <snapshotRepository>
+      <id>snapshots</id>
+      <name>Maven Central Development Repository</name>
+      <url>scp://repo1.maven.org/home/projects/maven/repository-staging/snapshots/maven2</url>
+    </snapshotRepository>
+  </distributionManagement>
+</project>
\ No newline at end of file


=====================================
src/main/java/org/codehaus/plexus/component/factory/bsh/BshComponent.java
=====================================
@@ -0,0 +1,16 @@
+package org.codehaus.plexus.component.factory.bsh;
+
+import bsh.Interpreter;
+
+/**
+ * Beanshell components must implement this to be able to provide the interpreter.
+ * @todo This may not be needed if the creation and configuration is done in one step, or there is some other way
+ * of getting back the interpreter from the created component
+ *
+ * @author <a href="mailto:brett at apache.org">Brett Porter</a>
+ * @version $Id: BshComponent.java 1817 2005-05-17 08:08:08Z brett $
+ */
+public interface BshComponent
+{
+    Interpreter getInterpreter();
+}


=====================================
src/main/java/org/codehaus/plexus/component/factory/bsh/BshComponentConfigurator.java
=====================================
@@ -0,0 +1,77 @@
+package org.codehaus.plexus.component.factory.bsh;
+
+import bsh.EvalError;
+import bsh.Interpreter;
+
+import org.codehaus.classworlds.ClassRealm;
+import org.codehaus.plexus.component.configurator.AbstractComponentConfigurator;
+import org.codehaus.plexus.component.configurator.ComponentConfigurationException;
+import org.codehaus.plexus.component.configurator.ConfigurationListener;
+import org.codehaus.plexus.component.configurator.converters.ConfigurationConverter;
+import org.codehaus.plexus.component.configurator.expression.ExpressionEvaluator;
+import org.codehaus.plexus.configuration.PlexusConfiguration;
+
+/**
+ * @todo not happy that this has to be different to the object with fields configurator - should only need to redefine the "setValue" method
+ */
+public class BshComponentConfigurator
+    extends AbstractComponentConfigurator
+{
+
+    public void configureComponent( Object component, PlexusConfiguration configuration,
+                                    ExpressionEvaluator expressionEvaluator, ClassRealm containerRealm,
+                                    ConfigurationListener listener )
+        throws ComponentConfigurationException
+    {
+        Interpreter interpreter = ( (BshComponent) component ).getInterpreter();
+
+        int items = configuration.getChildCount();
+
+        for ( int i = 0; i < items; i++ )
+        {
+            PlexusConfiguration childConfiguration = configuration.getChild( i );
+
+            String elementName = childConfiguration.getName();
+
+            Class type = Object.class;
+
+            String implementation = childConfiguration.getAttribute( "implementation", null );
+
+            if ( implementation != null )
+            {
+                try
+                {
+                    type = containerRealm.loadClass( implementation );
+
+                }
+                catch ( ClassNotFoundException e )
+                {
+                    String msg = "Class name which was explicitly given in configuration using 'implementation' attribute: '" +
+                        implementation + "' cannot be loaded";
+
+                    throw new ComponentConfigurationException( msg, e );
+                }
+            }
+
+            ConfigurationConverter converter = converterLookup.lookupConverterForType( type );
+
+            Object value = converter.fromConfiguration( converterLookup, childConfiguration, type, component.getClass(),
+                                                        containerRealm.getClassLoader(), expressionEvaluator, listener );
+
+            if ( value != null )
+            {
+                try
+                {
+                    interpreter.set( elementName, value );
+                }
+                catch ( EvalError evalError )
+                {
+                    throw new ComponentConfigurationException( "Unable to evaluate beanshell", evalError );
+                }
+            }
+        }
+
+    }
+
+
+}


=====================================
src/main/java/org/codehaus/plexus/component/factory/bsh/BshComponentFactory.java
=====================================
@@ -0,0 +1,99 @@
+package org.codehaus.plexus.component.factory.bsh;
+
+import bsh.EvalError;
+import bsh.Interpreter;
+import bsh.UtilEvalError;
+import org.codehaus.classworlds.ClassRealm;
+import org.codehaus.plexus.PlexusContainer;
+import org.codehaus.plexus.component.factory.AbstractComponentFactory;
+import org.codehaus.plexus.component.factory.ComponentInstantiationException;
+import org.codehaus.plexus.component.repository.ComponentDescriptor;
+import org.codehaus.plexus.util.IOUtil;
+
+import java.io.FileNotFoundException;
+import java.io.IOException;
+import java.io.InputStreamReader;
+import java.io.Reader;
+import java.net.URL;
+
+/**
+ * BeanShell component factory.
+ *
+ * @author <a href="mailto:jason at maven.org">Jason Van Zyl</a>
+ * @author <a href="mailto:brett at codehaus.org">Brett Porter</a>
+ */
+public class BshComponentFactory
+    extends AbstractComponentFactory
+{
+    public Object newInstance( ComponentDescriptor componentDescriptor, ClassRealm containerRealm,
+                               PlexusContainer container )
+        throws ComponentInstantiationException
+    {
+        String impl = componentDescriptor.getImplementation();
+        if ( !impl.startsWith( "/" ) )
+        {
+            impl = "/" + impl;
+        }
+
+        URL scriptLocation = containerRealm.getResource( impl );
+
+        if ( scriptLocation == null )
+        {
+            StringBuffer buf = new StringBuffer( "Cannot find: " + impl + " in classpath:" );
+            for ( int i = 0; i < containerRealm.getConstituents().length; i++ )
+            {
+                URL constituent = containerRealm.getConstituents()[i];
+                buf.append( "\n   [" + i + "]  " + constituent );
+            }
+            throw new ComponentInstantiationException( buf.toString() );
+        }
+
+        Object result = null;
+        Reader reader = null;
+
+        try
+        {
+            Interpreter interp = new Interpreter();
+
+            reader = new InputStreamReader( scriptLocation.openStream() );
+
+            // TODO
+            // BeanShell honours the context classloader, which something is setting (erroneously?)
+//            interp.setClassLoader( containerRealm.getClassLoader() );
+            ClassLoader oldClassLoader = Thread.currentThread().getContextClassLoader();
+            Thread.currentThread().setContextClassLoader( containerRealm.getClassLoader() );
+            result = interp.eval( reader );
+            Thread.currentThread().setContextClassLoader( oldClassLoader );
+        }
+        catch ( EvalError evalError )
+        {
+            containerRealm.display();
+            
+            container.getLogger().info( "Error text: " + evalError.getErrorText() );
+            
+            throw new ComponentInstantiationException( "Cannot build component for: " +
+                                                       componentDescriptor.getComponentKey() +
+                                                       "; unable to read BeanShell script", evalError );
+        }
+        catch ( FileNotFoundException e )
+        {
+            containerRealm.display();
+            throw new ComponentInstantiationException( "Cannot build component for: " +
+                                                       componentDescriptor.getComponentKey() +
+                                                       "; unable to read BeanShell script", e );
+        }
+        catch ( IOException e )
+        {
+            throw new ComponentInstantiationException( "Cannot build component for: " +
+                                                       componentDescriptor.getComponentKey() +
+                                                       "; unable to read BeanShell script", e );
+        }
+        finally
+        {
+            IOUtil.close( reader );
+        }
+
+        return result;
+    }
+
+}


=====================================
src/main/resources/META-INF/plexus/components.xml
=====================================
@@ -0,0 +1,17 @@
+<component-set>
+  <components>
+    <component>
+      <role>org.codehaus.plexus.component.factory.ComponentFactory</role>
+      <implementation>org.codehaus.plexus.component.factory.bsh.BshComponentFactory</implementation>
+      <role-hint>bsh</role-hint>
+      <configuration>
+        <id>bsh</id>
+      </configuration>
+    </component>
+    <component>
+      <role>org.codehaus.plexus.component.configurator.ComponentConfigurator</role>
+      <implementation>org.codehaus.plexus.component.factory.bsh.BshComponentConfigurator</implementation>
+      <role-hint>bsh</role-hint>
+    </component>
+  </components>
+</component-set>


=====================================
src/test/java/org/codehaus/plexus/component/factory/bsh/BshComponentFactoryTest.java
=====================================
@@ -0,0 +1,27 @@
+package org.codehaus.plexus.component.factory.bsh;
+
+import org.codehaus.plexus.PlexusTestCase;
+
+public class BshComponentFactoryTest
+    extends PlexusTestCase
+{
+    public BshComponentFactoryTest()
+    {
+    }
+
+    public void testComponent()
+        throws Exception
+    {
+        Hello hello = (Hello) lookup( Hello.ROLE );
+
+        assertNotNull( hello );
+
+        hello.initialize();
+
+        hello.start();
+
+        hello.hello();
+
+        hello.dispose();
+    }
+}


=====================================
src/test/java/org/codehaus/plexus/component/factory/bsh/Hello.java
=====================================
@@ -0,0 +1,13 @@
+package org.codehaus.plexus.component.factory.bsh;
+
+import org.codehaus.plexus.personality.plexus.lifecycle.phase.Disposable;
+import org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable;
+import org.codehaus.plexus.personality.plexus.lifecycle.phase.Startable;
+
+public interface Hello
+    extends Initializable, Startable, Disposable
+{
+    static String ROLE = Hello.class.getName();
+
+    void hello();
+}


=====================================
src/test/resources/DefaultHello.bsh
=====================================
@@ -0,0 +1,33 @@
+import org.codehaus.plexus.component.factory.bsh.Hello;
+
+contextualize( context )
+{
+    System.out.println( "contextualize(context): " + context );
+}
+
+initialize()
+{
+    System.out.println( "initialize()" );
+}
+
+start()
+{
+    System.out.println( "start()" );
+}
+
+stop()
+{
+    System.out.println( "stop()" );
+}
+
+dispose()
+{
+    System.out.println( "dispose()" );
+}
+
+hello()
+{
+    System.out.println( "hello!" );
+}
+
+return (Hello)this;


=====================================
src/test/resources/org/codehaus/plexus/component/factory/bsh/BshComponentFactoryTest.xml
=====================================
@@ -0,0 +1,18 @@
+<plexus>
+  <!-- component-factory-manager implementation="org.codehaus.plexus.component.factory.DefaultComponentFactoryManager">
+    <component-factories>
+      <component-factory implementation="org.codehaus.plexus.component.factory.bsh.BshComponentFactory">
+        <id>bsh</id>
+        <bsh-home>${basedir}/target</bsh-home>
+        <bsh-path>${basedir}/src/bsh</bsh-path>
+      </component-factory>
+    </component-factories>
+  </component-factory-manager -->
+  <components>
+    <component>
+      <role>org.codehaus.plexus.component.factory.bsh.Hello</role>
+      <implementation>/DefaultHello.bsh</implementation>
+      <component-factory>bsh</component-factory>
+    </component>
+  </components>
+</plexus>



View it on GitLab: https://salsa.debian.org/java-team/plexus-bsh-factory/-/compare/cf4977eb52a617b9e4aa3e62561ab3f47bd523b1...bdc735c2178c8c782e998c7d7622ca2638fdeb9a

-- 
View it on GitLab: https://salsa.debian.org/java-team/plexus-bsh-factory/-/compare/cf4977eb52a617b9e4aa3e62561ab3f47bd523b1...bdc735c2178c8c782e998c7d7622ca2638fdeb9a
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-commits/attachments/20220923/0c738eae/attachment.htm>


More information about the pkg-java-commits mailing list