Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 358781 - [mojo] com.google.protobuf.tools:maven-protoc-plugin:compile support
Summary: [mojo] com.google.protobuf.tools:maven-protoc-plugin:compile support
Status: CLOSED INVALID
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: m2e (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-23 17:45 EDT by Vincent Privat CLA
Modified: 2021-04-19 13:23 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vincent Privat CLA 2011-09-23 17:45:53 EDT
Build Identifier: M20110909-1335

The maven-protoc-plugin (Google protobuf compiler) generates java sources based on .proto files.

Here's the plugin definition in a build.xml I'd like to run:

      <plugin>
        <groupId>com.google.protobuf.tools</groupId>
        <artifactId>maven-protoc-plugin</artifactId>
        <executions>
          <execution>
            <id>generate-sources</id>
            <goals>
              <goal>compile</goal>
            </goals>
            <phase>generate-sources</phase>
            <configuration>
              <protoSourceRoot>${basedir}/src</protoSourceRoot>
              <includes>
                <param>**/*.proto</param>
              </includes>
            </configuration>
          </execution>
        </executions>
      </plugin>


Reproducible: Always
Comment 1 Igor Fedorenko CLA 2011-09-23 21:38:07 EDT
Please attach complete standalone project that demonstrates use of maven-protoc-plugin and describe expected/desired behaviour when the project is imported in eclipse workspace, i.e. what natures or builders need to be enabled, when should happen during incrimental and full workspace build, etc.

Also, m2e development team does not have immediate plans to work on maven-protoc-plugin support, so somebody will need to develop m2e extension for this plugin to be supported any time soon. If you are interested, [1] provides some pointers.

[1] http://wiki.eclipse.org/M2E_Extension_Development
Comment 2 Igor Fedorenko CLA 2013-09-29 09:18:39 EDT
closing old/stale bugreports
Comment 3 Denis Roy CLA 2021-04-19 13:23:56 EDT
Moved to https://github.com/eclipse-m2e/m2e-core/issues/