GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — AVRO-1749 Java: Introduce induce Maven plugin goal by embs · Pull Request #70 · apache/avro

Conversation

@embs

@embs embs commented Feb 5, 2016

Copy link
Copy Markdown

AVRO-1749

Maven plugin goal to induce Avro schemas and protocol from Java classes.

(this PR was previously #67)

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
embs
AVRO-1749 Java: Introduce induce Maven plugin goal
a7371fa
@iemejia iemejia added the Java Pull Requests for Java binding label Nov 29, 2018
@dkulp
dkulp merged commit 4b498e5 into apache:master Dec 11, 2018
Fokko
Fokko reviewed Dec 13, 2018
View reviewed changes
Comment thread lang/java/maven-plugin/src/main/java/org/apache/avro/mojo/InduceMojo.java
File outputFile = new File(fileName);
outputFile.getParentFile().mkdirs();
try {
PrintWriter writer = new PrintWriter(fileName, "UTF-8");

@Fokko Fokko Dec 13, 2018

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we use Try-With-Resource here: https://docs.oracle.com/javase/tutorial/essential/exceptions/tryResourceClose.html

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread lang/java/maven-plugin/src/main/java/org/apache/avro/mojo/InduceMojo.java
}

private String parseClassName(String fileName) {
String indentifier = "java/";

@Fokko Fokko Dec 13, 2018

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe make this a static final constant?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
SingingBush pushed a commit to SingingBush/avro that referenced this pull request Jun 29, 2023
@davidmc24
Merge pull request apache#70 from rocketraman/avro-1.9
df6ceec
Avro 1.9.0-SNAPSHOT, with jsr310 enabled
StitchMl pushed a commit to StitchMl/avro that referenced this pull request Jul 13, 2026
Matheus Santana @dkulp
AVRO-1749 Java: Introduce induce Maven plugin goal (apache#70)
e18bb7c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@Fokko Fokko Fokko left review comments

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

Java Pull Requests for Java binding

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@embs @Fokko @iemejia @dkulp
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.