[postgis-tickets] [PostGIS] #2626: Targeting to publish postgis and jts parser relases to Central maven repository

PostGIS trac at osgeo.org
Sat Mar 22 14:54:20 PDT 2014


#2626: Targeting to publish postgis and jts parser relases to Central maven
repository
--------------------------------------+-------------------------------------
 Reporter:  bergun                    |       Owner:  bergun       
     Type:  enhancement               |      Status:  new          
 Priority:  medium                    |   Milestone:  PostGIS 2.2.0
Component:  java                      |     Version:  2.1.x        
 Keywords:  Central maven repository  |  
--------------------------------------+-------------------------------------

Comment(by bergun):

 Hi robe;

 I was aware of these things and posted the below mail to Postgis Developer
 Group:

   As described in the http://trac.osgeo.org/postgis/ticket/2626 issue I am
 trying to reestablish the process of publishing postgis-jdbc and jtsparser
 to Central Maven repository.

   The best way to do this is ALTERNATIVE-1 described in the issue but for
 that purpose we will need a separate repository for java projects.
 Basically because with maven deploy and release plugins; all the release
 and publishing process can be done straight forward. And that maven
 integrates with SCM for tagging etc. Please read the issue.

   Until the above structure can be achieved I can follow ALTERNATIVE-2
 procedure can be followed. Though I had to remove below lines from
 pom.xml; because maven gives warning for the use of properties in the
 version tag, and that I must have a pom.xml declared as in OSSRH
 guide(link provided in the issue)

 {{{
 <properties>
     <POSTGIS_MAJOR_VERSION>2</POSTGIS_MAJOR_VERSION>
     <POSTGIS_MINOR_VERSION>1</POSTGIS_MINOR_VERSION>
     <POSTGIS_MICRO_VERSION>0SVN</POSTGIS_MICRO_VERSION>
   </properties>
 }}}

   So I think release scripts are updating properties from pom.xml and on
 the next release script running it might fail. (If there is such a script
 as I guess). If you let me know about the scripts I may try to update them
 or alternatively you let me know about the next release date and the
 designated version number I will update the version number manually for
 this time only...

 So I wanted to bring these to ur attention for u to understand what might
 have been broken. Meanwhile I will try to see what I can do for PostGIS
 2.1.2.

 There is a clash between postgis release mechanism and maven recommended
 release mechanism for being able to publish to OSSRH (Sonatype Central
 Repository).

 We will need to increase communication with u guys to overcome this
 situation.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2626#comment:9>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list