archetype-resources.pom.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jbehave-web-selenium-flash-archetype
Show all versions of jbehave-web-selenium-flash-archetype
An archetype to run web Flash stories using Selenium.
<?xml version="1.0" encoding="UTF-8"?> <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> <groupId>${groupId}</groupId> <artifactId>${artifactId}</artifactId> <version>${version}</version> <name>Flash Stories</name> <description>JBehave stories verifying Flash functionality</description> <properties> <jbehave.core.version>$jbehaveCoreVersion</jbehave.core.version> <jbehave.web.version>$jbehaveWebVersion</jbehave.web.version> <jbehave.site.version>$jbehaveSiteVersion</jbehave.site.version> <jetty.version>7.2.2.v20101205</jetty.version> <selenium.version>2.20.0</selenium.version> </properties> <dependencies> <dependency> <groupId>org.jbehave</groupId> <artifactId>jbehave-core</artifactId> <version>${jbehave.core.version}</version> <classifier>resources</classifier> <type>zip</type> </dependency> <dependency> <groupId>org.jbehave.site</groupId> <artifactId>jbehave-site-resources</artifactId> <version>${jbehave.site.version}</version> <type>zip</type> </dependency> <dependency> <groupId>org.jbehave.web</groupId> <artifactId>jbehave-web-selenium</artifactId> <version>${jbehave.web.version}</version> <exclusions> <exclusion> <groupId>org.seleniumhq.selenium</groupId> <artifactId>selenium-java</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.seleniumhq.selenium</groupId> <artifactId>selenium-java</artifactId> <version>${selenium.version}</version> </dependency> </dependencies> <build> <resources> <resource> <directory>${basedir}/src/main/resources</directory> </resource> <resource> <directory>${basedir}/src/main/stories</directory> </resource> </resources> <plugins> <plugin> <groupId>org.mortbay.jetty</groupId> <artifactId>jetty-maven-plugin</artifactId> <version>${jetty.version}</version> <configuration> <webAppConfig> <contextPath>/flash</contextPath> </webAppConfig> </configuration> <executions> <execution> <id>start-jetty</id> <phase>pre-integration-test</phase> <goals> <goal>run</goal> </goals> <configuration> <scanIntervalSeconds>0</scanIntervalSeconds> <daemon>true</daemon> </configuration> </execution> <execution> <id>stop-jetty</id> <phase>post-integration-test</phase> <goals> <goal>stop</goal> </goals> <configuration> <stopKey>stopJetty</stopKey> <stopPort>9966</stopPort> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.jbehave</groupId> <artifactId>jbehave-maven-plugin</artifactId> <executions> <execution> <id>unpack-view-resources</id> <phase>process-resources</phase> <goals> <goal>unpack-view-resources</goal> </goals> </execution> <execution> <id>run-stories</id> <phase>integration-test</phase> <configuration> <includes> <include>**/*Stories.java</include> </includes> </configuration> <goals> <goal>run-stories-as-embeddables</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </project>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy