Used cygwin to run jdo/bin/sign-directory on directory jdo/releases/3.0.1. Updated script to use Linux commands by default, as hopefully they'll work for both cygwin & Linux.
Everything signed ok. It was a little bit magical that gpg picked the right key (mad...@apache.org). If you run this and it picks up the wrong key, the script will have to be modified to allow the user to tell the script which key to use. Moving on... On Sat, Oct 29, 2011 at 7:27 PM, Matthew Adams <matt...@matthewadams.me>wrote: > Ok, ran RAT (now from Apache Incubator -- doc updated to reflect new RAT > home). Not really sure how to interpret its output (below). Moving on... > > C:\OpenSource\jdo\releases\3.0.1\dist>java -jar > C:\Users\MADAMS\Downloads\apache-rat-incubating-0.7-bin\apache-rat-0.7\apache-rat-0.7.jar > . > > ***************************************************** > Summary > ------- > Notes: 0 > Binaries: 0 > Archives: 7 > Standards: 2 > > Apache Licensed: 1 > Generated Documents: 0 > > JavaDocs are generated and so license header is optional > Generated files do not required license headers > > 1 Unknown Licenses > > ******************************* > > Unapproved licenses: > > ./m2-ibiblio-rsync-repository/javax/jdo/jdo-api/maven-metadata.xml > > ******************************* > > Archives: > > + ./db/jdo/3.0.1/jdo-api-3.0.1-src.tar.gz > > + ./db/jdo/3.0.1/jdo-api-3.0.1-src.zip > > + ./db/jdo/3.0.1/jdo-api-3.0.1.tar.gz > > + ./db/jdo/3.0.1/jdo-api-3.0.1.zip > > + ./db/jdo/3.0.1/jdo-tck-3.0.1-src.tar.gz > > + ./db/jdo/3.0.1/jdo-tck-3.0.1-src.zip > > + ./m1-ibiblio-rsync-repository/javax.jdo/jars/jdo-api-3.0.1.jar > > ***************************************************** > Files with Apache License headers will be marked AL > Binary files (which do not require AL headers) will be marked B > Compressed archives will be marked A > Notices, licenses etc will be marked N > A ./db/jdo/3.0.1/jdo-api-3.0.1-src.tar.gz > A ./db/jdo/3.0.1/jdo-api-3.0.1-src.zip > A ./db/jdo/3.0.1/jdo-api-3.0.1.tar.gz > A ./db/jdo/3.0.1/jdo-api-3.0.1.zip > A ./db/jdo/3.0.1/jdo-tck-3.0.1-src.tar.gz > A ./db/jdo/3.0.1/jdo-tck-3.0.1-src.zip > A ./m1-ibiblio-rsync-repository/javax.jdo/jars/jdo-api-3.0.1.jar > AL ./m1-ibiblio-rsync-repository/javax.jdo/poms/jdo-api-3.0.1.pom > !????? ./m2-ibiblio-rsync-repository/javax/jdo/jdo-api/maven-metadata.xml > > ***************************************************** > Printing headers for files without AL header... > > > ======================================================================= > ==./m2-ibiblio-rsync-repository/javax/jdo/jdo-api/maven-metadata.xml > ======================================================================= > <?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> > > > On Sat, Oct 29, 2011 at 7:16 PM, Matthew Adams <matt...@matthewadams.me>wrote: > >> Resolved. Found vdoclet:qdox:current:jar only in Maven2 central at >> http://repo1.maven.org/maven2/vdoclet/qdox/current/ >> >> Manually installed to ~/.maven/repository/vdoclet/jars & then "maven >> jdo3.dist" says it succeeded. Updated HowToReleaseJDO.html with that info. >> >> Continuing on now... >> >> >> On Sat, Oct 29, 2011 at 6:41 PM, Matthew Adams >> <matt...@matthewadams.me>wrote: >> >>> FYI, attempted to execute maven 1.1 goal "jdo3.dist" & got the following >>> error. Pointers would be helpful while I attempt to resolve this error. >>> >>> ... >>> jar:jar: >>> [jar] Building jar: >>> C:\OpenSource\jdo\branches\3.0.1\api\target\jdo-api-3.0.1.jar >>> >>> [copy] Copying 1 file to >>> C:\OpenSource\jdo\branches\3.0.1\api\target\jdo-api-3.0.1\bin\jdo-api-3.0.1 >>> Trying to get missing dependencies (and updated snapshots) required by >>> Maven Site Plugin: >>> - Attempting to download ant:ant-commons-net:1.6.5:jar from >>> http://repo1.maven.org/maven >>> 0K downloaded >>> - Attempting to download oro:oro:2.0.8:jar from >>> http://repo1.maven.org/maven >>> 0K downloaded >>> site: >>> xdoc:register-reports: >>> Trying to get missing dependencies (and updated snapshots) required by >>> Maven JDepend Plugin: >>> - Attempting to download jdepend:jdepend:2.9.1:jar from >>> http://repo1.maven.org/maven >>> 0K downloaded >>> maven-jdepend-plugin:register: >>> >>> Trying to get missing dependencies (and updated snapshots) required by >>> Maven Checkstyle Plugin: >>> - Attempting to download antlr:antlr:2.7.5:jar from >>> http://repo1.maven.org/maven >>> 0K downloaded >>> - Attempting to download checkstyle:checkstyle:4.1:jar from >>> http://repo1.maven.org/maven >>> 0K downloaded >>> - Attempting to download checkstyle:checkstyle-optional:4.1:jar from >>> http://repo1.maven.org/maven >>> 0K downloaded >>> - Attempting to download regexp:regexp:1.3:jar from >>> http://repo1.maven.org/maven >>> 0K downloaded >>> - Attempting to download >>> commons-beanutils:commons-beanutils-core:1.7.0:jar from >>> http://repo1.maven.org/ma >>> 0K downloaded >>> maven-checkstyle-plugin:register: >>> >>> Trying to get missing dependencies (and updated snapshots) required by >>> Maven Changes Plugin: >>> - Attempting to download commons-io:commons-io:1.2:jar from >>> http://repo1.maven.org/maven >>> 0K downloaded >>> maven-changes-plugin:register: >>> >>> Trying to get missing dependencies (and updated snapshots) required by >>> Maven Changelog Plugin: >>> - Attempting to download ant:ant:1.6.5:jar from >>> http://repo1.maven.org/maven >>> 0K downloaded >>> - Attempting to download org.netbeans.lib:cvsclient:20051129:jar from >>> http://repo1.maven.org/maven >>> 0K downloaded >>> maven-changelog-plugin:register: >>> >>> maven-developer-activity-plugin:register: >>> >>> maven-file-activity-plugin:register: >>> >>> maven-license-plugin:register: >>> >>> maven-javadoc-plugin:register: >>> [mkdir] Created dir: >>> C:\OpenSource\jdo\branches\3.0.1\api\target\javadoc >>> [mkdir] Created dir: >>> C:\OpenSource\jdo\branches\3.0.1\api\target\javadoc\src >>> >>> Trying to get missing dependencies (and updated snapshots) required by >>> Maven JXR Plugin: >>> - Attempting to download org.apache.maven:maven-jxr:1.0:jar from >>> http://repo1.maven.org/maven >>> 0K downloaded >>> - Attempting to download velocity:velocity:1.4:jar from >>> http://repo1.maven.org/maven >>> 0K downloaded >>> maven-jxr-plugin:register: >>> >>> maven-junit-report-plugin:register: >>> >>> Trying to get missing dependencies (and updated snapshots) required by >>> Maven LinkCheck Plugin: >>> - Attempting to download commons-grant:commons-grant:1.0-beta-4:jar from >>> http://repo1.maven.org/maven >>> 0K downloaded >>> maven-linkcheck-plugin:register: >>> >>> Trying to get missing dependencies (and updated snapshots) required by >>> Maven Tasklist Plug-in: >>> - Attempting to download vdoclet:vdoclet:20020711:jar from >>> http://repo1.maven.org/maven >>> 0K downloaded >>> - Attempting to download commons-jelly:commons-jelly:1.0-RC1:jar from >>> http://repo1.maven.org/maven >>> 0K downloaded >>> - Attempting to download vdoclet:qdox:current:jar from >>> http://repo1.maven.org/maven >>> - Attempting to download vdoclet:qdox:current:jar from >>> http://download.java.net/maven/1 >>> >>> ------------------------------------------------------------------------------- >>> >> Unable to obtain goal [jdo3.dist] >>> >> Unable to obtain goal [dist:prepare-bin-filesystem] >>> >> The build cannot continue because of the following unsatisfied >>> dependency: >>> - vdoclet:qdox:current:jar >>> >>> >>> ------------------------------------------------------------------------------- >>> BUILD FAILED >>> >>> ------------------------------------------------------------------------------- >>> Total time : 43 seconds >>> Finished at : Saturday, October 29, 2011 6:38:13 PM CDT >>> Final Memory : 14M/181M >>> >>> ------------------------------------------------------------------------------- >>> >>> >>> On Sat, Oct 29, 2011 at 3:34 PM, Matthew Adams >>> <matt...@matthewadams.me>wrote: >>> >>>> GYI, "maven jdo3.build" run from the root of jdo/branches/3.0.1 works >>>> with the following check in. >>>> >>>> Sending 3.0.1\api\project.xml >>>> Adding 3.0.1\api\test\java\javax\jdo\AbstractJDOConfigTest.java >>>> Deleting 3.0.1\api\test\java\javax\jdo\ClasspathHelper.java >>>> Sending 3.0.1\api\test\java\javax\jdo\EnhancerTest.java >>>> Sending >>>> 3.0.1\api\test\java\javax\jdo\JDOConfigTestClassLoader.java >>>> Sending 3.0.1\api\test\java\javax\jdo\JDOHelperConfigTest.java >>>> Sending 3.0.1\api\test\java\javax\jdo\JDOHelperTest.java >>>> Sending 3.0.1\api\test\java\javax\jdo\PMFMapMapTest.java >>>> Adding 3.0.1\api\test\java\javax\jdo\stub >>>> Adding 3.0.1\api\test\java\javax\jdo\stub\StubPMF.java >>>> Sending 3.0.1\api\test\java\javax\jdo\util\AbstractTest.java >>>> Sending >>>> >>>> 3.0.1\api\test\schema\jdoconfig\Negative09\9b\META-INF\services\javax.jdo.PersistenceManagerFactory >>>> Sending >>>> 3.0.1\api\test\schema\jdoconfig\Pmfmapmap01\META-INF\jdoconfig.xml >>>> Sending >>>> 3.0.1\api\test\schema\jdoconfig\Pmfmapmap02\propsfile.props >>>> Sending 3.0.1\maven.xml >>>> Sending 3.0.1\project.xml >>>> Sending 3.0.1\tck\RunRules.html >>>> Transmitting file data ............... >>>> Committed revision 1195022. >>>> >>>> I'll resume the release process next. >>>> >>>> -matthew >>>> >>>> On Tue, Oct 25, 2011 at 6:50 AM, Matthew Adams <matt...@matthewadams.me >>>> > wrote: >>>> >>>>> On Thu, Oct 20, 2011 at 3:20 PM, Matthew Adams < >>>>> matt...@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? >>>>> >>>> >>>> >>>> >>>> -- >>>> @matthewadams12 >>>> mailto:matt...@matthewadams.me >>>> skype:matthewadams12 >>>> yahoo:matthewadams >>>> aol:matthewadams12 >>>> google-talk:matthewadam...@gmail.com >>>> msn:matt...@matthewadams.me >>>> http://matthewadams.me >>>> http://www.linkedin.com/in/matthewadams >>>> >>>> >>> >>> >>> -- >>> @matthewadams12 >>> mailto:matt...@matthewadams.me >>> skype:matthewadams12 >>> yahoo:matthewadams >>> aol:matthewadams12 >>> google-talk:matthewadam...@gmail.com >>> msn:matt...@matthewadams.me >>> http://matthewadams.me >>> http://www.linkedin.com/in/matthewadams >>> >>> >> >> >> -- >> @matthewadams12 >> mailto:matt...@matthewadams.me >> skype:matthewadams12 >> yahoo:matthewadams >> aol:matthewadams12 >> google-talk:matthewadam...@gmail.com >> msn:matt...@matthewadams.me >> http://matthewadams.me >> http://www.linkedin.com/in/matthewadams >> >> > > > -- > @matthewadams12 > mailto:matt...@matthewadams.me > skype:matthewadams12 > yahoo:matthewadams > aol:matthewadams12 > google-talk:matthewadam...@gmail.com > msn:matt...@matthewadams.me > http://matthewadams.me > http://www.linkedin.com/in/matthewadams > > -- @matthewadams12 mailto:matt...@matthewadams.me skype:matthewadams12 yahoo:matthewadams aol:matthewadams12 google-talk:matthewadam...@gmail.com msn:matt...@matthewadams.me http://matthewadams.me http://www.linkedin.com/in/matthewadams