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

duplicate tags in pom files #1998

Open
daniel-sudz opened this issue May 17, 2022 · 1 comment · May be fixed by #1999
Open

duplicate tags in pom files #1998

daniel-sudz opened this issue May 17, 2022 · 1 comment · May be fixed by #1999

Comments

@daniel-sudz
Copy link
Contributor

If you parse through https://oss.sonatype.org/content/repositories/snapshots/com/twitter/scalding-hadoop-test_2.11/0.18.0-RC3-1-a0516e0f-SNAPSHOT/scalding-hadoop-test_2.11-0.18.0-RC3-1-a0516e0f-SNAPSHOT.pom

you can see that scm is duplicated twice. This causes some issues with automated ingestion tools such as artifactory maven proxy.

the ingestion crash is: Duplicated tag: 'scm' (position: START_TAG seen ...</licenses>\\n <scm>... @27:10) ."

@daniel-sudz
Copy link
Contributor Author

https://github.com/sbt/sbt-ci-release suggests that this info is automatically populated and does not need to be manually added:

By installing sbt-ci-release the following sbt plugins are also brought in:

[sbt-dynver](https://github.com/dwijnand/sbt-dynver): sets the version number based on your git history
[sbt-pgp](https://github.com/sbt/sbt-pgp): to cryptographically sign the artifacts before publishing
[sbt-sonatype](https://github.com/xerial/sbt-sonatype): to publish artifacts to Sonatype
[sbt-git](https://github.com/sbt/sbt-git): to automatically populate scmInfo

@daniel-sudz daniel-sudz linked a pull request May 17, 2022 that will close this issue
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 a pull request may close this issue.

1 participant