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

Can't invoke mvnd because of some expressions instead of URLs in some profiles. #620

Open
api-from-the-ion opened this issue Oct 8, 2023 · 1 comment

Comments

@api-from-the-ion
Copy link

Is your feature request related to a problem? Please describe.
I try to compile and test this project with mvnd instead of maven. But mvnd complains about expressions instead of constants on some values in project POM and parent POM. These places are:

  • 'profiles.profile[staging].repositories.repository.[sonatype-nexus-staging].url' contains an expression but should be a constant. @ line 310, column 26

  • 'profiles.profile[staging].pluginRepositories.pluginRepository.[sonatype-nexus-staging].url' contains an expression but should be a constant. @ line 323, column 26

  • 'profiles.profile[snapshots].repositories.repository.[sonatype-nexus-snapshots].url' contains an expression but should be a constant. @ org.eclipse.ee4j:project:1.0.7, ~/.m2/repository/org/eclipse/ee4j/project/1.0.7/project-1.0.7.pom, line 271, column 26

  • 'profiles.profile[snapshots].pluginRepositories.pluginRepository.[sonatype-nexus-snapshots].url' contains an expression but should be a constant. @ org.eclipse.ee4j:project:1.0.7, ~/.m2/repository/org/eclipse/ee4j/project/1.0.7/project-1.0.7.pom, line 284, column 26

  • 'profiles.profile[staging].repositories.repository.[sonatype-nexus-staging].url' contains an expression but should be a constant. @ org.eclipse.ee4j:project:1.0.7, ~/.m2/repository/org/eclipse/ee4j/project/1.0.7/project-1.0.7.pom, line 308, column 26

  • 'profiles.profile[staging].pluginRepositories.pluginRepository.[sonatype-nexus-staging].url' contains an expression but should be a constant. @ org.eclipse.ee4j:project:1.0.7, ~/.m2/repository/org/eclipse/ee4j/project/1.0.7/project-1.0.7.pom, line 321, column 26

Describe the solution you'd like
Could this be somehow replaced? Frankly speaking, I don't even know how. But it would be wonderful if mvnd can be used parallel with maven itself.

Describe alternatives you've considered
Maybe it's a problem with mvnd and should be addressed there? I don't think so, but anything is possible.

@api-from-the-ion
Copy link
Author

Found this regression,

api-from-the-ion added a commit to api-from-the-ion/yasson that referenced this issue Oct 23, 2023
…onding configurations.

Signed-off-by: Anton Pinsky <anton.pinsky@ionos.com>
api-from-the-ion added a commit to api-from-the-ion/yasson that referenced this issue Oct 24, 2023
Signed-off-by: Anton Pinsky <anton.pinsky@ionos.com>
api-from-the-ion added a commit to api-from-the-ion/yasson that referenced this issue Oct 25, 2023
Signed-off-by: Anton Pinsky <anton.pinsky@ionos.com>
api-from-the-ion added a commit to api-from-the-ion/yasson that referenced this issue Oct 27, 2023
…fire plugin

Signed-off-by: Anton Pinsky <anton.pinsky@ionos.com>
api-from-the-ion added a commit to api-from-the-ion/yasson that referenced this issue Oct 27, 2023
Signed-off-by: Anton Pinsky <anton.pinsky@ionos.com>
api-from-the-ion added a commit to api-from-the-ion/yasson that referenced this issue Oct 31, 2023
…ic types usage; only three cases in the wrong test are left

Signed-off-by: Anton Pinsky <anton.pinsky@ionos.com>
api-from-the-ion added a commit to api-from-the-ion/yasson that referenced this issue Nov 1, 2023
…e of CollectionsTest's test with stream.

Signed-off-by: Anton Pinsky <anton.pinsky@ionos.com>
api-from-the-ion added a commit to api-from-the-ion/yasson that referenced this issue Nov 1, 2023
…, corrected this.

Signed-off-by: Anton Pinsky <anton.pinsky@ionos.com>
api-from-the-ion added a commit to api-from-the-ion/yasson that referenced this issue Nov 1, 2023
…laced it in CollectionsTest, use collect(Collectors.toList()).

Signed-off-by: Anton Pinsky <anton.pinsky@ionos.com>
api-from-the-ion added a commit to api-from-the-ion/yasson that referenced this issue Nov 1, 2023
…laced it in CollectionsTest, use collect(Collectors.toList()).

Signed-off-by: Anton Pinsky <anton.pinsky@ionos.com>
api-from-the-ion added a commit to api-from-the-ion/yasson that referenced this issue Nov 1, 2023
Signed-off-by: Anton Pinsky <anton.pinsky@ionos.com>
api-from-the-ion added a commit to api-from-the-ion/yasson that referenced this issue Nov 1, 2023
Signed-off-by: Anton Pinsky <anton.pinsky@ionos.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant