archetype-resources.pom.xml Maven / Gradle / Ivy
<?xml version="1.0"?> <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/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>${groupId}</groupId> <artifactId>${artifactId}</artifactId> <version>${version}</version> <packaging>jar</packaging> <name>${artifactId}</name> <repositories> <repository> <id>java.net</id> <name>Java.net</name> <url>https://maven.java.net/content/repositories/releases/</url> <snapshots> <enabled>true</enabled> </snapshots> </repository> <repository> <id>netbeans</id> <name>NetBeans</name> <url>http://bits.netbeans.org/maven2/</url> </repository> </repositories> <pluginRepositories> <pluginRepository> <id>java.net</id> <name>Java.net</name> <url>https://maven.java.net/content/repositories/releases/</url> <snapshots> <enabled>true</enabled> </snapshots> </pluginRepository> </pluginRepositories> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> </properties> <build> <plugins> <plugin> <groupId>org.apidesign.bck2brwsr</groupId> <artifactId>bck2brwsr-maven-plugin</artifactId> <version>0.7</version> <executions> <execution> <goals> <goal>brwsr</goal> </goals> </execution> </executions> <configuration> <startpage>${package.replace('.','/')}/index.html</startpage> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>2.3.2</version> <configuration> <source>1.7</source> <target>1.7</target> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <version>2.4</version> <configuration> <archive> <manifest> <addClasspath>true</addClasspath> <classpathPrefix>lib/</classpathPrefix> </manifest> </archive> </configuration> </plugin> <plugin> <artifactId>maven-assembly-plugin</artifactId> <version>2.4</version> <executions> <execution> <id>distro-assembly</id> <phase>package</phase> <goals> <goal>single</goal> </goals> <configuration> <descriptors> <descriptor>bck2brwsr-assembly.xml</descriptor> </descriptors> </configuration> </execution> </executions> </plugin> </plugins> </build> <dependencies> <dependency> <groupId>org.apidesign.bck2brwsr</groupId> <artifactId>emul</artifactId> <version>0.7</version> <classifier>rt</classifier> </dependency> <dependency> <groupId>org.apidesign.bck2brwsr</groupId> <artifactId>javaquery.api</artifactId> <version>0.7</version> </dependency> <dependency> <groupId>org.testng</groupId> <artifactId>testng</artifactId> <version>6.5.2</version> <scope>test</scope> </dependency> <dependency> <groupId>org.apidesign.bck2brwsr</groupId> <artifactId>vm4brwsr</artifactId> <classifier>js</classifier> <type>zip</type> <version>0.7</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.apidesign.bck2brwsr</groupId> <artifactId>vmtest</artifactId> <version>0.7</version> <scope>test</scope> </dependency> </dependencies> </project>