1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
|
J2ObjC Plexus compiler
===================
The J2ObjC Plexus compiler is a tool to compile java source files to objective-c by calling the j2objc tool.
```
<build>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.6.1</version>
<configuration>
<fork>true</fork>
<compilerId>j2objc</compilerId>
<executable>${J2OBJC_DISTRIBUTION}/j2objc</executable>
<compilerArguments>
<use-arc/>
<x>objective-c</x>
<sourcepath>src/main/java</sourcepath>
</compilerArguments>
</configuration>
<dependencies>
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-compiler-j2objc</artifactId>
<version>2.10.0-SNAPSHOT</version>
</dependency>
</dependencies>
</plugin>
...
```
|