Opened 11 years ago
Closed 11 years ago
#2625 closed defect (fixed)
need to add 2.1.2 version number to pom.xml for 2.1.2 release
Reported by: | bergun | Owned by: | bergun |
---|---|---|---|
Priority: | medium | Milestone: | PostGIS 2.1.2 |
Component: | java | Version: | 2.1.x |
Keywords: | Cc: |
Description
As the below Warnings indicate we need to update pom.xml to be compatible with future versions of maven. I will fix this for jdbc and jts parser projetcs.
[WARNING] Some problems were encountered while building the effective model for org.postgis:postgis-jdbc:jar:2.1.0SVN [WARNING] 'version' contains an expression but should be a constant. @ org.postgis:postgis-jdbc:${POSTGIS_MAJOR_VERSION}.${POSTGIS_MINOR_VERSION}.${POSTGIS_MICRO_VERSION}, /storage/software/postgis/postgis/java/jdbc/pom.xml, line 8, column 11 [WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-javadoc-plugin is missing. @ org.postgis:postgis-jdbc:${POSTGIS_MAJOR_VERSION}.${POSTGIS_MINOR_VERSION}.${POSTGIS_MICRO_VERSION}, /storage/software/postgis/postgis/java/jdbc/pom.xml, line 127, column 12 [WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-dependency-plugin is missing. @ org.postgis:postgis-jdbc:${POSTGIS_MAJOR_VERSION}.${POSTGIS_MINOR_VERSION}.${POSTGIS_MICRO_VERSION}, /storage/software/postgis/postgis/java/jdbc/pom.xml, line 130, column 12 [WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-project-info-reports-plugin is missing. @ org.postgis:postgis-jdbc:${POSTGIS_MAJOR_VERSION}.${POSTGIS_MINOR_VERSION}.${POSTGIS_MICRO_VERSION}, /storage/software/postgis/postgis/java/jdbc/pom.xml, line 133, column 12 [WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-report-plugin is missing. @ org.postgis:postgis-jdbc:${POSTGIS_MAJOR_VERSION}.${POSTGIS_MINOR_VERSION}.${POSTGIS_MICRO_VERSION}, /storage/software/postgis/postgis/java/jdbc/pom.xml, line 136, column 12 [WARNING] 'reporting.plugins.plugin.version' for org.codehaus.mojo:findbugs-maven-plugin is missing. @ org.postgis:postgis-jdbc:${POSTGIS_MAJOR_VERSION}.${POSTGIS_MINOR_VERSION}.${POSTGIS_MICRO_VERSION}, /storage/software/postgis/postgis/java/jdbc/pom.xml, line 139, column 12 [WARNING] 'reporting.plugins.plugin.version' for org.codehaus.mojo:javancss-maven-plugin is missing. @ org.postgis:postgis-jdbc:${POSTGIS_MAJOR_VERSION}.${POSTGIS_MINOR_VERSION}.${POSTGIS_MICRO_VERSION}, /storage/software/postgis/postgis/java/jdbc/pom.xml, line 143, column 12 [WARNING] 'reporting.plugins.plugin.version' for org.codehaus.mojo:jdepend-maven-plugin is missing. @ org.postgis:postgis-jdbc:${POSTGIS_MAJOR_VERSION}.${POSTGIS_MINOR_VERSION}.${POSTGIS_MICRO_VERSION}, /storage/software/postgis/postgis/java/jdbc/pom.xml, line 147, column 12 [WARNING] 'reporting.plugins.plugin.version' for org.codehaus.mojo:jxr-maven-plugin is missing. @ org.postgis:postgis-jdbc:${POSTGIS_MAJOR_VERSION}.${POSTGIS_MINOR_VERSION}.${POSTGIS_MICRO_VERSION}, /storage/software/postgis/postgis/java/jdbc/pom.xml, line 151, column 12 [WARNING] 'reporting.plugins.plugin.version' for org.codehaus.mojo:taglist-maven-plugin is missing. @ org.postgis:postgis-jdbc:${POSTGIS_MAJOR_VERSION}.${POSTGIS_MINOR_VERSION}.${POSTGIS_MICRO_VERSION}, /storage/software/postgis/postgis/java/jdbc/pom.xml, line 155, column 12 [WARNING] 'reporting.plugins.plugin.version' for org.codehaus.mojo:versions-maven-plugin is missing. @ org.postgis:postgis-jdbc:${POSTGIS_MAJOR_VERSION}.${POSTGIS_MINOR_VERSION}.${POSTGIS_MICRO_VERSION}, /storage/software/postgis/postgis/java/jdbc/pom.xml, line 159, column 12 [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.
Change History (7)
comment:1 by , 11 years ago
Summary: | pom.xml enhancments necessary → pom.xml enhancements necessary |
---|
comment:2 by , 11 years ago
comment:3 by , 11 years ago
bergun,
The changes you've been doing don't seem to have been backported to 2.1 branch since I'm getting a lot of warnings in the buildbot 2.1 build that I am not seeing in trunk. Please do so.
Both however have version hard-coded to 2.1.0SVN still. I'd say for both, just hard-code the version for now and then revisit after we've released 2.1.2
comment:4 by , 11 years ago
Summary: | pom.xml enhancements necessary → need to add 2.1.2 version number to pom.xml for 2.1.2 release |
---|---|
Type: | enhancement → defect |
I am updating this issue as defect and changing the subject
comment:7 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
maven plugin dependencies versions should be declared explicitly. At the moment non-declared versions of dependencies is allowed with warnings in maven. On future releases of maven they will be considered as errors. Variable names should not be used for project version. Genarally pom.xml should be improved for postgis-jdbc and postgis-jdbc-jtsparser