Generating POMs in bazel
See original GitHub issueIs 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:
- Created 5 years ago
- Reactions:1
- Comments:6 (2 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I just added something in https://github.com/google/bazel-common/commit/2782531da81d4002bce16e853953d9e8117a6fc1 - happy to discuss if that could work for you.
Closing this as no longer relevant as POMs are checked in.