Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <project>
- <pluginRepositories>
- <pluginRepository>
- <id>protoc-plugin</id>
- <url>http://sergei-ivanov.github.com/maven-protoc-plugin/repo/releases/</url>
- </pluginRepository>
- </pluginRepositories>
- <SOME OTHER CONFIG/>
- <dependency>
- <groupId>com.google.protobuf</groupId>
- <artifactId>protobuf-java</artifactId>
- <version>2.0.3</version>
- </dependency>
- <SOME OTHER CONFIG/>
- <profiles>
- <profile>
- <id>dev</id>
- <SOME OTHER CONFIG/>
- <build>
- <SOME OTHER CONFIG/>
- <plugins>
- <plugin>
- <groupId>com.google.protobuf.tools</groupId>
- <artifactId>maven-protoc-plugin</artifactId>
- <version>0.3.1</version>
- <configuration>
- <!--TODO: I will tweak this once I get the plugin -->
- <protocExecutable>/usr/local/bin/protoc</protocExecutable>
- </configuration>
- <executions>
- <execution>
- <goals>
- <!--PLEASE REVIEW: I made the names of these goals, is it OK? -->
- <goal>protobufcompile</goal>
- <goal>testCompile</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
- <SOME OTHER CONFIG>
- </project>
Add Comment
Please, Sign In to add comment