db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthew Adams <matt...@matthewadams.me>
Subject Re: Tracking JDO 3.0.1 release
Date Tue, 25 Oct 2011 11:50:48 GMT
On Thu, Oct 20, 2011 at 3:20 PM, Matthew Adams <matthew@matthewadams.me> wrote:
> This thread will attempt to track what I did to release JDO 3.0.1.
>
> Tasks completed:
>
> * Created svn branch branches/3.0.1 from branches/3.0
>
* In 3.0.1 branch, updated README.html where appropriate to refer to 3.0.1.
* Attempted to build api project using Maven 1.1, failed (won't try to fix)
* Attempted to build api project using Maven 2.x, tests failed
* Attempted to build api project using Maven 2.x but skipping tests, succeeded

* Updated branches/3.0.1/project.properties:  jdo.currentVersion = 3.0.1
* Updated branches/3.0.1/api/m2_repo_maven_metadata.xml to add 3.0.1:

<?xml version="1.0" encoding="UTF-8"?>
<metadata>
  <groupId>javax.jdo</groupId>
  <artifactId>jdo-api</artifactId>
  <versioning>
    <versions>
      <version>3.0</version>
      <version>3.0.1</version>
    </versions>
    <lastUpdated>20111025120000</lastUpdated>
  </versioning>
</metadata>

HowToReleaseJDO.html says at step 9 to "Build the distribution".  I'm
trying to figure out how to do that now.  Note that issuing "maven
help" results in lots of exceptions containing the message

Caught exception evaluating: basedir.substring(0,
basedir.lastIndexOf('jdo')). Reason:
java.lang.StringIndexOutOfBoundsException: String index out of range:
-1
java.lang.StringIndexOutOfBoundsException: String index out of range: -1

I'd like to just sign the api jar & then release it without "building
the distribution", but I need Craig to confirm that that's ok.  Craig?

Mime
View raw message