Integrate Protocol Buffers into Maven2 build

前端 未结 9 679
悲哀的现实
悲哀的现实 2021-01-30 02:18

I\'m experimenting with Protocol Buffers in an existing, fairly vanilla Maven 2 project. Currently, I invoke a shell script every time I need to update my generated sources. Thi

9条回答
  •  走了就别回头了
    2021-01-30 02:57

    I just updated the maven plugin to work with 2.2.0 -- the updated pom are attached to the code review bug.

    Here are the instructions to build the plugin yourself:

    svn co http://protobuf.googlecode.com/svn/branches/maven-plugin/tools/maven-plugin
    cd maven-plugin
    wget -O pom.xml 'http://protobuf.googlecode.com/issues/attachment?aid=8860476605163151855&name=pom.xml'
    mvn install
    

    You can then use the maven config above.

提交回复
热议问题