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

Prefix package name for generated pojos #131

Merged
merged 1 commit into from
Sep 1, 2021

Conversation

johnksv
Copy link
Contributor

@johnksv johnksv commented Jun 23, 2021

As it could cause problems when pojos from same xsds were on class path

Prefix all package names of generated pojos with no.digipost

@johnksv johnksv force-pushed the move-package-for-generated-pojo branch 6 times, most recently from 869e3a6 to dbdfaae Compare June 23, 2021 08:25
Copy link

@post-svejk post-svejk left a comment

Choose a reason for hiding this comment

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

Ser greit ut. Bør la @eivinhb og/eller @velfundert ta en kikk, og ta stilling til om denne endringen er ok i offentlig repo og som Maven-artefakter. Alternativet er vel å holde det på en privat fork, som kun deployer til vårt interne Maven-repo.

@eivinhb
Copy link
Member

eivinhb commented Jun 23, 2021

It should be easy to test if this has backwards compatibility issues with the client and/or meldingsformidler. If that seems ok, then I see no issues here.

@johnksv
Copy link
Contributor Author

johnksv commented Aug 19, 2021

Must bump a major version due to change in package names. Thus clients and MF must change imports to be compatible with the changes introduced in this PR.

pom.xml Outdated Show resolved Hide resolved
@johnksv johnksv force-pushed the move-package-for-generated-pojo branch from dbdfaae to 6165673 Compare September 1, 2021 12:41
…s when other pojos from same xsds were on class path
Copy link
Member

@runeflobakk runeflobakk left a comment

Choose a reason for hiding this comment

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

Røddig! 🏆 🥇

@johnksv johnksv merged commit 0e3cea1 into main Sep 1, 2021
@johnksv johnksv deleted the move-package-for-generated-pojo branch September 1, 2021 14:09
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.

4 participants