Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement an example maven project #15

Merged
merged 2 commits into from
Aug 29, 2016
Merged

Conversation

jin
Copy link
Member

@jin jin commented Aug 26, 2016

Add an example Java project that uses Maven for getting dependencies.

bazelbuild/bazel#1410

I'm in the midst of writing a Skylark rule for maven_jar and maven_server,
but while that is in progress, here's the example project that I'm testing with.

@katre katre assigned katre and kchodorow and unassigned katre Aug 26, 2016

java_library(
name = "java-maven-lib",
srcs = glob(["src/main/**/myproject/*.java"]),
Copy link
Contributor

Choose a reason for hiding this comment

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

Prefer non-recursive globs (or no globs at all when there's just one file).

Copy link
Member Author

Choose a reason for hiding this comment

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

done!

@kchodorow
Copy link
Contributor

LGTM.

Jenkins, test this please.

@damienmg
Copy link
Contributor

We do not have jenkins presubmit for this project. The reason? there is no separate configure step, we should make this project testable with only bazel test //... (well would be a good follow up of that change) :p

@damienmg
Copy link
Contributor

LGTM too,

this project won't even run on ci.bazel.io because we only test the tutorial.

@kchodorow
Copy link
Contributor

Manually built & tested, looks good.

@kchodorow kchodorow merged commit 5547cbe into bazelbuild:master Aug 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants