Workaround of some problems with bytecode conversion demonstrated by ZipCompatibilityTest. Splitting the code into two new methods.
2 <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4 <modelVersion>4.0.0</modelVersion>
6 <groupId>org.apidesign.bck2brwsr</groupId>
7 <artifactId>emul.pom</artifactId>
8 <version>0.3-SNAPSHOT</version>
10 <groupId>org.apidesign.bck2brwsr</groupId>
11 <artifactId>emul</artifactId>
12 <version>0.3-SNAPSHOT</version>
13 <name>Compact API Profile</name>
14 <url>http://maven.apache.org</url>
16 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
20 <groupId>${project.groupId}</groupId>
21 <artifactId>emul.mini</artifactId>
22 <version>${project.version}</version>
25 <groupId>${project.groupId}</groupId>
26 <artifactId>vmtest</artifactId>
27 <version>${project.version}</version>
31 <groupId>org.netbeans.api</groupId>
32 <artifactId>org-openide-util-lookup</artifactId>
39 <groupId>org.apache.maven.plugins</groupId>
40 <artifactId>maven-compiler-plugin</artifactId>
41 <version>2.5.1</version>
44 <bootclasspath>netbeans.ignore.jdk.bootclasspath</bootclasspath>