eclipse-ee4j / eclipse-ee4j/yasson

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

Open
#620 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
218
Forks
109
Avg merge
1d 5h
Merged PRs (30d)
9

Description

**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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.