basher-example
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>net.sourceforge.basher</groupId>
<artifactId>basher-example</artifactId>
<version>1.0.13</version>
</dependency><!--
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<artifactId>basher-example</artifactId>
<packaging>jar</packaging>
<name>Basher Example</name>
<version>1.0.13</version>
<url>http://basher.sourceforge.net/basher-example/LATEST</url>
<inceptionYear>2006</inceptionYear>
<parent>
<groupId>net.sourceforge.basher</groupId>
<artifactId>basher-root-pom</artifactId>
<version>1.0.10</version>
</parent>
<description>Example module for the Maven Basher Plugin</description>
<distributionManagement>
<site>
<id>sourceforge.net</id>
<url>scpexe://shell.sourceforge.net/home/groups/b/ba/basher/htdocs/basher-example/${project.version}</url>
</site>
</distributionManagement>
<scm>
<connection>scm:svn:https://basher.svn.sourceforge.net/svnroot/basher/basher-example/tags/basher-example-1.0.13</connection>
<developerConnection>scm:svn:https://basher.svn.sourceforge.net/svnroot/basher/basher-example/tags/basher-example-1.0.13</developerConnection>
<url>http://basher.svn.sourceforge.net/viewvc/basher/basher-example/tags/basher-example-1.0.13</url>
</scm>
<properties>
<hello.world>false</hello.world>
<hello.spring>false</hello.spring>
<hello.hivemind>false</hello.hivemind>
<hello.taskprovider>false</hello.taskprovider>
<basher.version>1.0.13</basher.version>
</properties>
<profiles>
<profile>
<id>sample-run</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<groupId>net.sourceforge.basher</groupId>
<artifactId>maven-basher-plugin</artifactId>
<version>${basher.version}</version>
<executions>
<execution>
<phase>test</phase>
<goals>
<goal>initiate-run</goal>
</goals>
<configuration>
<activeBasherContext>sample-run</activeBasherContext>
<systemProperties>
<!-- Defines to use the XML collector -->
<property>
<name>xmlcollector</name>
<value>true</value>
</property>
<!-- The HelloWorld task is only initiated when the 'hello.world' system property is true -->
<property>
<name>hello.world</name>
<value>${hello.world}</value>
</property>
<property>
<name>hello.spring</name>
<value>${hello.spring}</value>
</property>
<property>
<name>hello.hivemind</name>
<value>${hello.hivemind}</value>
</property>
<property>
<name>hello.taskprovider</name>
<value>${hello.taskprovider}</value>
</property>
</systemProperties>
<includes>
<include>**/*Task.java</include>
</includes>
<excludes>
<exclude>**/AnnotatedExcluded*Task.java</exclude>
<exclude>**/Test*.java</exclude>
</excludes>
<!-- Specifies a custom command line to pass to the JVM -->
<!--
<argLine>-Xmx511m -Xmn128M -XX:NewSize=8m -XX:MaxNewSize=256m -XX:SurvivorRatio=8 -XX:PermSize=8M -XX:MaxPermSize=128M</argLine>
-->
<!-- Specifies the profiler to use
- none: no profiler (default)
- yourkit: specifies that Yourkit profiler should be used (library paths must be setup before)
-->
<!--
<profiler>yourkit</profiler>
<profiler>none</profiler>
-->
<!-- Specifies whether or not the Basher runtime should run in debug mode (port 5005) -->
<!-- <debugForkedProcess>true</debugForkedProcess> -->
<basherContexts>
<basherContext implementation="net.sourceforge.basher.BasherContext">
<name>sample-run</name>
<manuallyControlled>false</manuallyControlled>
<startCollectionFrom>0</startCollectionFrom>
<stopCollectionAfter>10</stopCollectionAfter>
<initialNumberThreads>5</initialNumberThreads>
<maxNumberThreads>10</maxNumberThreads>
<threadIncrementCount>1</threadIncrementCount>
<threadIncrementInterval>2</threadIncrementInterval>
<taskMinDelay>1</taskMinDelay>
<taskMaxDelay>1</taskMaxDelay>
<markAverageInterval>4</markAverageInterval>
<beanShellScriptDirectory>src/main/basher-scripts</beanShellScriptDirectory>
<runDuration>10</runDuration>
<setupDuration>10</setupDuration>
<cooldownDuration>10</cooldownDuration>
</basherContext>
</basherContexts>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>with-yourkit-profiler</id>
<dependencies>
<dependency>
<groupId>net.sourceforge.basher</groupId>
<artifactId>basher-yourkit</artifactId>
<version>0.1</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>net.sourceforge.basher</groupId>
<artifactId>maven-basher-plugin</artifactId>
<version>${basher.version}</version>
<executions>
<execution>
<phase>test</phase>
<goals>
<goal>initiate-run</goal>
</goals>
<configuration>
<activeBasherContext>yourkit</activeBasherContext>
<systemProperties>
<!-- Defines to use the XML collector -->
<property>
<name>xmlcollector</name>
<value>true</value>
</property>
<!-- The HelloWorld task is only initiated when the 'hello.world' system property is true -->
<property>
<name>hello.world</name>
<value>${hello.world}</value>
</property>
<property>
<name>hello.spring</name>
<value>${hello.spring}</value>
</property>
<property>
<name>hello.hivemind</name>
<value>${hello.hivemind}</value>
</property>
<property>
<name>hello.taskprovider</name>
<value>${hello.taskprovider}</value>
</property>
</systemProperties>
<includes>
<include>**/*Task.java</include>
</includes>
<excludes>
<exclude>**/AnnotatedExcluded*Task.java</exclude>
<exclude>**/Test*.java</exclude>
</excludes>
<!-- Specifies a custom command line to pass to the JVM -->
<!--
<argLine>-Xmx511m -Xmn128M -XX:NewSize=8m -XX:MaxNewSize=256m -XX:SurvivorRatio=8 -XX:PermSize=8M -XX:MaxPermSize=128M</argLine>
-->
<!-- Specifies the profiler to use
- none: no profiler (default)
- yourkit: specifies that Yourkit profiler should be used (library paths must be setup before)
-->
<!--
<profiler>yourkit</profiler>
<profiler>none</profiler>
-->
<profiler>yourkit</profiler>
<!-- Specifies whether or not the Basher runtime should run in debug mode (port 5005) -->
<!--
-->
<!--<debugForkedProcess>true</debugForkedProcess>-->
<basherContexts>
<basherContext implementation="net.sourceforge.basher.BasherContext">
<name>yourkit</name>
<manuallyControlled>false</manuallyControlled>
<startCollectionFrom>10</startCollectionFrom>
<stopCollectionAfter>90</stopCollectionAfter>
<initialNumberThreads>5</initialNumberThreads>
<maxNumberThreads>10</maxNumberThreads>
<threadIncrementCount>1</threadIncrementCount>
<threadIncrementInterval>10</threadIncrementInterval>
<taskMinDelay>1</taskMinDelay>
<taskMaxDelay>1</taskMaxDelay>
<markAverageInterval>4</markAverageInterval>
<beanShellScriptDirectory>src/main/basher-scripts</beanShellScriptDirectory>
<runDuration>100</runDuration>
<setupDuration>10</setupDuration>
<cooldownDuration>10</cooldownDuration>
<profilerContext implementation="net.sourceforge.basher.YourKitProfilerContext">
</profilerContext>
</basherContext>
</basherContexts>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<dependencies>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>org.springframework.beans</artifactId>
<version>3.0.0.RELEASE</version>
</dependency>
<dependency>
<groupId>hivemind</groupId>
<artifactId>hivemind</artifactId>
<version>1.1</version>
</dependency>
<dependency>
<groupId>org.ops4j.gaderian</groupId>
<artifactId>gaderian-util</artifactId>
<version>1.0</version>
</dependency>
<dependency>
<groupId>net.sourceforge.basher</groupId>
<artifactId>basher-framework</artifactId>
<version>${basher.version}</version>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.8</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.6</version>
<scope>test</scope>
</dependency>
</dependencies>
<!--
<reporting>
<plugins>
<plugin>
<groupId>net.sourceforge.basher</groupId>
<artifactId>maven-basher-report-plugin</artifactId>
<version>1.0.3-SNAPSHOT</version>
</plugin>
</plugins>
</reporting>
-->
</project>