question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Generating POMs in bazel

See original GitHub issue

Is there any mechanism for generating poms in Bazel? A brief look around suggests that there is nothing in place atm.

Until there is would you consider a pull request that:

  • checked in minimal poms for each jar in the location java/elemental2/<module>/pom.xml
  • an enhancement to build_gwt_mvn_jars.sh that copied these poms to exist side-by-side with jars
  • an enhancement to build_gwt_mvn_jars.sh that laid out the filesystem in a Maven2 compatible format.

This would make it a lot easier to integrate this into more traditional build systems.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
ronshapirocommented, Apr 12, 2018

I just added something in https://github.com/google/bazel-common/commit/2782531da81d4002bce16e853953d9e8117a6fc1 - happy to discuss if that could work for you.

0reactions
realityforgecommented, Feb 19, 2019

Closing this as no longer relevant as POMs are checked in.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Generate external dependencies for a Java project - Bazel 3.3.0
Generate external dependencies from Maven projects. The tool generate_workspace helps automate the process of writing the WORKSPACE file for a Java project.
Read more >
How to publish artifacts from Bazel to Maven Central - Medium
It will create all the necessary files for your artifact, including main jar, source jar and pom file. Enter all project details for...
Read more >
bazelbuild/rules_jvm_external - Aspect's Bazel Documentation
This macro also generates a name-pom target that creates the pom.xml file associated with the artifacts. The template used is derived from the...
Read more >
Building Java Applications with Bazel - Baeldung
Let's create a multi-module Maven project: bazel (root) pom.xml WORKSPACE (bazel workspace) |— bazelapp pom.xml BUILD (bazel build file) ...
Read more >
Migrating to Bazel as a Build Tool - Why We Left Maven
It can have external dependencies and other targets from the project as well. After creating the BUILD.bazel file, we can run the below...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found