Asqatasun / Contrast-Finder

Contrast-Finder finds correct color contrasts (background / foreground) for web accessibility (a11y, WCAG, RGAA). https://app.contrast-finder.org
GNU Affero General Public License v3.0
56 stars 18 forks source link

maven WARNING - pom.xml : 'version' contains an expression but should be a constant #46

Closed dzc34 closed 7 years ago

dzc34 commented 7 years ago

Observed behaviour


[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.asqatasun:contrast-finder-api:jar:0.4.7-dev
[WARNING] 'version' contains an expression but should be a constant. @ org.asqatasun:contrast-finder-api:${project.parent.version}, contrast-finder-api/pom.xml, line 10, column 14
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.asqatasun:contrast-finder-utils:jar:0.4.7-dev
[WARNING] 'version' contains an expression but should be a constant. @ org.asqatasun:contrast-finder-utils:${project.parent.version}, contrast-finder-utils/pom.xml, line 10, column 14
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.asqatasun:contrast-finder-hsv:jar:0.4.7-dev
[WARNING] 'version' contains an expression but should be a constant. @ org.asqatasun:contrast-finder-hsv:${project.parent.version}, contrast-finder-hsv/pom.xml, line 10, column 14
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.asqatasun:contrast-finder-impl:jar:0.4.7-dev
[WARNING] 'version' contains an expression but should be a constant. @ org.asqatasun:contrast-finder-impl:${project.parent.version}, contrast-finder-impl/pom.xml, line 10, column 14
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.asqatasun:contrast-finder-webapp:war:0.4.7-dev
[WARNING] 'version' contains an expression but should be a constant. @ org.asqatasun:contrast-finder-webapp:${project.parent.version}, contrast-finder-webapp/pom.xml, line 10, column 14
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.asqatasun:contrast-finder-resources:jar:0.4.7-dev
[WARNING] 'version' contains an expression but should be a constant. @ org.asqatasun:contrast-finder-resources:${project.parent.version}, contrast-finder-resources/pom.xml, line 12, column 14
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.

Expected behaviour

no [WARNING]

Steps to reproduce the behaviour

mvn clean install

Your configuration

mvn -v                                            
   Apache Maven 3.3.9
   Maven home: /usr/share/maven
   Java version: 1.8.0_121, vendor: Oracle Corporation
   Java home: /usr/lib/jvm/java-8-openjdk-amd64/jre
dzc34 commented 7 years ago

since 93bbb0a27380042e0ee31445ebfa31a84fc8a631