default-config.components.xml Maven / Gradle / Ivy
<component-set> <components> <component> <role>org.sonatype.appbooter.ForkedAppBooter</role> <role-hint>TestForkedAppBooter</role-hint> <implementation>org.sonatype.appbooter.DefaultForkedAppBooter</implementation> <instantiation-strategy>per-lookup</instantiation-strategy> <description></description> <isolated-realm>false</isolated-realm> <configuration> <disable-blocking>true</disable-blocking> <debug>${nexus.test.debug}</debug> <java-cmd>java</java-cmd> <debug-port>5005</debug-port> <debug-suspend>true</debug-suspend> <debug-java-cmd>java -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,suspend=@DEBUG_SUSPEND@,address=@DEBUG_PORT@ -Djava.compiler=NONE</debug-java-cmd> <launcher-class>org.sonatype.appbooter.PlexusContainerHost</launcher-class> <configuration>${nexus-plexus-config-file}</configuration> <basedir>${nexus-base-dir}</basedir> <temp-dir>${project.build.directory}/appbooter.tmp/</temp-dir> <control-port>${nexus-control-port}</control-port> <classworldsJar>${nexus-base-dir}/lib/plexus-classworlds-1.4.jar</classworldsJar> <classworldsConf>${nexus-base-dir}/conf/classworlds.conf</classworldsConf> <class-path-elements>${nexus-base-dir}/runtime/apps/nexus/conf, ${nexus-base-dir}/runtime/apps/nexus/lib/*.jar</class-path-elements> <sleep-after-start>6000</sleep-after-start> <systemProperties> <plexus.application-port>${nexus-application-port}</plexus.application-port> <plexus.application-host>${jetty-application-host}</plexus.application-host> <plexus.runtime>${nexus-base-dir}/runtime</plexus.runtime> <plexus.apps>${nexus-base-dir}/runtime/apps</plexus.apps> <plexus.nexus-work>${nexus-work-dir}</plexus.nexus-work> <plexus.nexus-app>${nexus-base-dir}/runtime/apps/nexus</plexus.nexus-app> <plexus.webapp>${nexus-base-dir}/runtime/apps/nexus/webapp</plexus.webapp> <plexus.webapp-context-path>/nexus</plexus.webapp-context-path> <plexus.application-conf>${nexus-work-dir}/conf</plexus.application-conf> <plexus.log4j-prop-file>${default-configs}/log4j.properties</plexus.log4j-prop-file> <plexus.jetty.xml>${nexus-base-dir}/conf/jetty.xml</plexus.jetty.xml> </systemProperties> </configuration> </component> <component> <role>org.sonatype.appbooter.ForkedAppBooter</role> <role-hint>TestUnforkedAppBooter</role-hint> <implementation>org.sonatype.nexus.test.utils.UnforkedAppBooter</implementation> <instantiation-strategy>per-lookup</instantiation-strategy> <description></description> <isolated-realm>false</isolated-realm> <configuration> <configuration>${nexus-plexus-config-file}</configuration> <basedir>${nexus-base-dir}</basedir> <temp-dir>${project.build.directory}/appbooter.tmp/</temp-dir> <systemProperties> <plexus.application-port>${nexus-application-port}</plexus.application-port> <plexus.application-host>${jetty-application-host}</plexus.application-host> <plexus.runtime>${nexus-base-dir}/runtime</plexus.runtime> <plexus.apps>${nexus-base-dir}/runtime/apps</plexus.apps> <plexus.nexus-work>${nexus-work-dir}</plexus.nexus-work> <plexus.nexus-app>${nexus-base-dir}/runtime/apps/nexus</plexus.nexus-app> <plexus.webapp>${nexus-base-dir}/runtime/apps/nexus/webapp</plexus.webapp> <plexus.webapp-context-path>/nexus</plexus.webapp-context-path> <plexus.log4j-prop-file>${default-configs}/log4j.properties</plexus.log4j-prop-file> </systemProperties> </configuration> </component> <component> <role>org.sonatype.jettytestsuite.ServletServer</role> <implementation>org.sonatype.jettytestsuite.ServletServer</implementation> <instantiation-strategy>singleton</instantiation-strategy> <configuration> <port>${proxy-repo-port}</port> <webappContexts> <webappContext> <name>remote</name> <servletInfos> <servletInfo> <mapping>/*</mapping> <servletClass>org.mortbay.jetty.servlet.DefaultServlet</servletClass> <parameters> <property> <name>resourceBase</name> <value>${proxy-repo-target-dir}</value> </property> <property> <name>dirAllowed</name> <value>true</value> </property> </parameters> </servletInfo> </servletInfos> </webappContext> </webappContexts> </configuration> </component> <component> <role>org.sonatype.jettytestsuite.ProxyServer</role> <implementation>org.sonatype.jettytestsuite.ProxyServer</implementation> <instantiation-strategy>singleton</instantiation-strategy> <configuration> <port>${webproxy-server-port}</port> </configuration> </component> <component> <role>org.sonatype.jettytestsuite.ControlledServer</role> <implementation>org.sonatype.jettytestsuite.ControlledServer</implementation> <configuration> <port>${webproxy-server-port}</port> </configuration> </component> <component> <role>org.sonatype.jettytestsuite.ServletServer</role> <role-hint>secure</role-hint> <implementation>org.sonatype.jettytestsuite.ServletServer</implementation> <instantiation-strategy>singleton</instantiation-strategy> <configuration> <port>${proxy-repo-port}</port> <webappContexts> <webappContext> <name>remote</name> <authenticationInfo> <authMethod>BASIC</authMethod> <credentialsFilePath>${basedir}/target/resources/default-configs/realm.properties</credentialsFilePath> </authenticationInfo> <servletInfos> <servletInfo> <mapping>/*</mapping> <servletClass>org.mortbay.jetty.servlet.DefaultServlet</servletClass> <parameters> <property> <name>resourceBase</name> <value>${proxy-repo-target-dir}</value> </property> <property> <name>dirAllowed</name> <value>true</value> </property> </parameters> </servletInfo> </servletInfos> </webappContext> </webappContexts> </configuration> </component> </components> </component-set>