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.

Cleanup POM files for publication

See original GitHub issue

Using PomChecker to verify the structure of a POM file, yields the following outputs:

for GCToolkit’s root POM file

[ERROR] The POM file
[ERROR] /Users/kirk/Projects/github/gctoolkit/pom.xml
[ERROR] cannot be uploaded to Maven Central due to the following reasons:
[ERROR]  * <version> can not be -SNAPSHOT.
[ERROR]  * The <repositories> block should not be present.

Related to #80

For GCToolkit/core/api POM file

[WARNING] <name> is not defined in POM. Will use value from parent: 
        GCToolKit
[WARNING] <description> is not defined in POM. Will use value from parent: 
        GC log parsing utilities
[WARNING] <url> is not defined in POM. Will use computed value from parent: 
        https://github.com/Microsoft/gctoolkit/core/api

Decide which values for <name>, <description>, <url> should be use for child projects.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
dsgrievecommented, Sep 2, 2021

The first one goes away when you do the mvn release:prepare/perform steps.

1reaction
kirk-microsoftcommented, Oct 8, 2021

@anantk24 it all looks great!!!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Maven Release plugin – Clean a Release
Cleaning a release goes through the following release phases: Delete the release descriptor ( release.properties ); Delete any backup POM files.
Read more >
Cleanup pom setup and make build consistent #292 - GitHub
There are many things we can clean up the maven pom file and make build more smooth. Also the parent quartz/pom.xml is named...
Read more >
Standardize Your Builds - POM Manipulation Extension
POM Cleanup ; Build Management ... PME will remove all reporting and repository sections (including profiles) from the POM files (default: off).
Read more >
Artifactory Cleanup Best Practices - JFrog
Artifactory's remote repositories store downloaded files in a cache. It's generally beneficial to retain the entire cache as it speeds up ...
Read more >
Get rid of unused dependencies - Mastering Apache Maven 3 ...
Always make sure that you maintain a clean application POM file. You should not have any unused dependencies defined or used undeclared dependencies....
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