Skip to content

Commit 54b9398

Browse files
committed
Exec on linux
1 parent d4e011a commit 54b9398

File tree

5 files changed

+26
-4
lines changed

5 files changed

+26
-4
lines changed

canteen/canteen-bootstrap/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<parent>
1313
<artifactId>canteen-parent</artifactId>
1414
<groupId>com.salesforce.servicelibs</groupId>
15-
<version>0.1.0-SNAPSHOT</version>
15+
<version>1.0.0-SNAPSHOT</version>
1616
</parent>
1717
<modelVersion>4.0.0</modelVersion>
1818

canteen/canteen-it/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<parent>
1313
<artifactId>canteen-parent</artifactId>
1414
<groupId>com.salesforce.servicelibs</groupId>
15-
<version>0.1.0-SNAPSHOT</version>
15+
<version>1.0.0-SNAPSHOT</version>
1616
</parent>
1717
<modelVersion>4.0.0</modelVersion>
1818

canteen/canteen-maven-plugin/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<parent>
1313
<artifactId>canteen-parent</artifactId>
1414
<groupId>com.salesforce.servicelibs</groupId>
15-
<version>0.1.0-SNAPSHOT</version>
15+
<version>1.0.0-SNAPSHOT</version>
1616
</parent>
1717
<modelVersion>4.0.0</modelVersion>
1818

canteen/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<groupId>com.salesforce.servicelibs</groupId>
1515
<artifactId>canteen-parent</artifactId>
1616
<packaging>pom</packaging>
17-
<version>0.1.0-SNAPSHOT</version>
17+
<version>1.0.0-SNAPSHOT</version>
1818

1919
<name>Canteen</name>
2020
<description>A Maven plugin for generating self-executing jars</description>

jprotoc/jprotoc/README.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,28 @@ POM file. For more documentation, see the Maven protoc plugin's
8888
</configuration>
8989
```
9090

91+
## Packaging your plugin for native execution
92+
93+
jProtoc plugins can be packaged as native executables using the [`canteen-maven-plugin`](https://github.com/salesforce/grpc-java-contrib/tree/master/canteen).
94+
Canteen repackages jar files so they can be executed from the command line directly without requiring a `java -jar`
95+
invocation.
96+
97+
```xml
98+
<!-- Make the jar self-executing with Canteen -->
99+
<plugin>
100+
<groupId>com.salesforce.servicelibs</groupId>
101+
<artifactId>canteen-maven-plugin</artifactId>
102+
<version>${canteen.version}</version>
103+
<executions>
104+
<execution>
105+
<goals>
106+
<goal>bootstrap</goal>
107+
</goals>
108+
</execution>
109+
</executions>
110+
</plugin>
111+
```
112+
91113
Using the Jdk8 Protoc generator
92114
===============================
93115
1. Add the following to your POM:

0 commit comments

Comments
 (0)