title: Protocol buffers compiler maven plugin
body: <p>I have  protocol buffers compiler plugin configured in my POM that is executed whenever the project is built. This complier plugin works fine in windows but now I moved my project to  an ubuntu PC &amp; need to used a suitable alterntive for this.</p>
  
  <pre><code>        &lt;plugin&gt;
              &lt;artifactId&gt;maven-antrun-plugin&lt;/artifactId&gt;
              &lt;executions&gt;
                  &lt;execution&gt;
                      &lt;id&gt;compile-protoc&lt;/id&gt;
                      &lt;phase&gt;generate-sources&lt;/phase&gt;
                      &lt;configuration&gt;
                          &lt;tasks&gt;
                              &lt;mkdir dir="src/main/resources/protocolBuffers/compiled" /&gt;
                              &lt;path id="proto.path"&gt;
                                  &lt;fileset dir="src/main/proto"&gt;
                                      &lt;include name="**/*.proto" /&gt;
                                  &lt;/fileset&gt;
                              &lt;/path&gt;
                              &lt;pathconvert pathsep=" " property="proto.files" refid="proto.path" /&gt;
                              &lt;exec executable="src/main/resources/protocolBuffers/compiler/protoc" failonerror="true"&gt;
                                  &lt;arg value="--java_out=src/main/resources/" /&gt;
                                  &lt;arg value="-I${project.basedir}/" /&gt;
                                  &lt;arg line="${proto.files}"/&gt;
                              &lt;/exec&gt;
                          &lt;/tasks&gt;
                      &lt;/configuration&gt;
                      &lt;goals&gt;
                          &lt;goal&gt;run&lt;/goal&gt;
                      &lt;/goals&gt;
                  &lt;/execution&gt;
              &lt;/executions&gt;
          &lt;/plugin&gt;
  </code></pre>
  
  <p>I see the following output when trying to build the project in Ubuntu netbeans</p>
  
  <pre><code>--- maven-antrun-plugin:1.3:run (compile-protoc) @ Px10App ---
  Executing tasks
  ------------------------------------------------------------------------
  BUILD FAILURE
  ------------------------------------------------------------------------
  Total time: 5.638s
  Finished at: Tue Mar 25
  Final Memory: 9M/105M
  ------------------------------------------------------------------------
  Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.3:run (compile-protoc) on project Px10App: An Ant BuildException has occured: Execute failed: java.io.IOException: Cannot run program "src/main/resources/protocolBuffers/compiler/protoc": error=2, No such file or directory -&gt; [Help 1]
  </code></pre>
  
  <p>How to make compiler plugin work in Ubuntu netbeans ?</p>