Hi Matthew, I think our instructions for publishing to maven2 repo are wrong.
Can someone from repository help tell us how to publish to this repo? Thanks, Craig On Nov 13, 2011, at 11:55 AM, Matthew Adams wrote:
Thanks. Now the only error I get is the following. Copying to the maven-1 location worked ok. madams@minotaur:~$ cp -r public_html/jdo3.0.1/dist/m2-ibiblio-rsync-repository/* /www/people.apache.org/repo/m2-ibiblio-rsync-repositorycp: /www/people.apache.org/repo/m2-ibiblio-rsync-repository/javax/ jdo/jdo-api:Permission denied On Sun, Nov 13, 2011 at 9:02 AM, Craig L Russell <[email protected]> wrote:Hi Matthew, I gave you db group access. Try again, please. Craig On Nov 13, 2011, at 6:02 AM, Matthew Adams wrote:Attempted to copy artifacts for release & got errors. madams@minotaur:~$ cp -r public_html/jdo3.0.1/dist/db /www/www.apache.org/dist cp: /www/www.apache.org/dist/db/jdo/3.0.1: Permission denied madams@minotaur:~$ cp -r public_html/jdo3.0.1/dist/m1-ibiblio-rsync-repository/* /www/people.apache.org/repo/m1-ibiblio-rsync-repository madams@minotaur:~$ cp -r public_html/jdo3.0.1/dist/m2-ibiblio-rsync-repository/* /www/people.apache.org/repo/m2-ibiblio-rsync-repository cp:/www/people.apache.org/repo/m2-ibiblio-rsync-repository/javax/jdo/ jdo-api:Permission denied I've CCed infrastructure@ on this. Infrastructure or Craig, can youplease tell me what I need to do to request permission to copy releaseartifacts? Thanks, MatthewOn Thu, Nov 3, 2011 at 8:52 AM, Matthew Adams <[email protected] >wrote:Sent announcement to test the release.On Sat, Oct 29, 2011 at 8:52 PM, Matthew Adams <[email protected] >wrote:C:\OpenSource\jdo>svn ci -m "checking in what I have done so far" Sending HowToReleaseJDO.html Sending bin\sign-directory Sending branches\3.0.1\project.properties Transmitting file data ... Committed revision 1195086.On Sat, Oct 29, 2011 at 8:20 PM, Matthew Adams <[email protected] >wrote:scp'ed the dist to ~/public_html/jdo3.0.1 at my account atpeople.apache.org. I chmod'ed all dirs to be executable. I also triedto enable directory browsing by adding a .htaccess file to~/public_html/jdo3.0.1 with the contents "Options Indexes" to no avail.Not sure how to enable directory browsing on people.apache.org -- any ideas? I also sent an email to [email protected]. On Sat, Oct 29, 2011 at 7:43 PM, Matthew Adams <[email protected]> wrote:Used cygwin to run jdo/bin/sign-directory on directoryjdo/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([email protected]). If you run this and it picks up the wrong key,thescript will have to be modified to allow the user to tell the scriptwhich key to use. Moving on... On Sat, Oct 29, 2011 at 7:27 PM, Matthew Adams <[email protected]> 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 -jarC:\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 ALBinary files (which do not require AL headers) will be marked BCompressed 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.zipA ./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 <[email protected]> wrote:Resolved. Found vdoclet:qdox:current:jar only in Maven2 centralat 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 withthat info. Continuing on now... On Sat, Oct 29, 2011 at 6:41 PM, Matthew Adams <[email protected]> wrote:FYI, attempted to execute maven 1.1 goal "jdo3.dist" & got the following error. Pointers would be helpful while I attempt toresolve 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 toC:\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) requiredby 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) requiredby 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) requiredby 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:jarfrom 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) requiredby 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) requiredby 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:jarfrom 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\srcTrying to get missing dependencies (and updated snapshots) requiredby Maven JXR Plugin:- Attempting to download org.apache.maven:maven-jxr:1.0:jar fromhttp://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) requiredby Maven LinkCheck Plugin:- Attempting to download commons-grant:commons-grant:1.0- beta-4:jarfrom http://repo1.maven.org/maven 0K downloaded maven-linkcheck-plugin:register:Trying to get missing dependencies (and updated snapshots) requiredby 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:jarfrom 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 unsatisfieddependency:- 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 <[email protected]> wrote:GYI, "maven jdo3.build" run from the root of jdo/branches/ 3.0.1works with the following check in. Sending 3.0.1\api\project.xml Adding 3.0.1\api\test\java\javax\jdo\AbstractJDOConfigTest.javaDeleting 3.0.1\api\test\java\javax\jdo \ClasspathHelper.java Sending 3.0.1\api\test\java\javax\jdo \EnhancerTest.javaSending 3.0.1\api\test\java\javax\jdo\JDOConfigTestClassLoader.java Sending 3.0.1\api\test\java\javax\jdo\JDOHelperConfigTest.javaSending 3.0.1\api\test\java\javax\jdo \JDOHelperTest.java Sending 3.0.1\api\test\java\javax\jdo \PMFMapMapTest.javaAdding 3.0.1\api\test\java\javax\jdo\stubAdding 3.0.1\api\test\java\javax\jdo\stub \StubPMF.javaSending 3.0.1\api\test\java\javax\jdo\util\AbstractTest.java Sending3.0.1\api\test\schema\jdoconfig\Negative09\9b\META-INF \services\javax.jdo.PersistenceManagerFactorySending3.0.1\api\test\schema\jdoconfig\Pmfmapmap01\META-INF \jdoconfig.xmlSending 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 <[email protected]> wrote:On Thu, Oct 20, 2011 at 3:20 PM, Matthew Adams <[email protected]> wrote:* In 3.0.1 branch, updated README.html where appropriate to referThis thread will attempt to track what I did to release JDO3.0.1. Tasks completed: * Created svn branch branches/3.0.1 from branches/3.0to 3.0.1.* Attempted to build api project using Maven 1.1, failed (won'ttry to fix)* Attempted to build api project using Maven 2.x, tests failed * Attempted to build api project using Maven 2.x but skippingtests, 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 add3.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 ofrange: -1java.lang.StringIndexOutOfBoundsException: String index out ofrange: -1 I'd like to just sign the api jar & then release it without "buildingthe distribution", but I need Craig to confirm that that's ok.Craig?-- @matthewadams12 mailto:[email protected] skype:matthewadams12 yahoo:matthewadams aol:matthewadams12 google-talk:[email protected] msn:[email protected] http://matthewadams.me http://www.linkedin.com/in/matthewadams-- @matthewadams12 mailto:[email protected] skype:matthewadams12 yahoo:matthewadams aol:matthewadams12 google-talk:[email protected] msn:[email protected] http://matthewadams.me http://www.linkedin.com/in/matthewadams-- @matthewadams12 mailto:[email protected] skype:matthewadams12 yahoo:matthewadams aol:matthewadams12 google-talk:[email protected] msn:[email protected] http://matthewadams.me http://www.linkedin.com/in/matthewadams-- @matthewadams12 mailto:[email protected] skype:matthewadams12 yahoo:matthewadams aol:matthewadams12 google-talk:[email protected] msn:[email protected] http://matthewadams.me http://www.linkedin.com/in/matthewadams-- @matthewadams12 mailto:[email protected] skype:matthewadams12 yahoo:matthewadams aol:matthewadams12 google-talk:[email protected] msn:[email protected] http://matthewadams.me http://www.linkedin.com/in/matthewadams-- @matthewadams12 mailto:[email protected] skype:matthewadams12 yahoo:matthewadams aol:matthewadams12 google-talk:[email protected] msn:[email protected] http://matthewadams.me http://www.linkedin.com/in/matthewadams-- @matthewadams12 mailto:[email protected] skype:matthewadams12 yahoo:matthewadams aol:matthewadams12 google-talk:[email protected] msn:[email protected] http://matthewadams.me http://www.linkedin.com/in/matthewadams-- @matthewadams12 mailto:[email protected] skype:matthewadams12 yahoo:matthewadams aol:matthewadams12 google-talk:[email protected] msn:[email protected] http://matthewadams.me http://www.linkedin.com/in/matthewadams-- @matthewadams12 mailto:[email protected] skype:matthewadams12 yahoo:matthewadams aol:matthewadams12 google-talk:[email protected] msn:[email protected] http://matthewadams.me http://www.linkedin.com/in/matthewadamsCraig L Russell Architect, Oracle http://db.apache.org/jdo 408 276-5638 mailto:[email protected] P.S. A good JDO? O, Gasp!-- @matthewadams12 mailto:[email protected] skype:matthewadams12 yahoo:matthewadams aol:matthewadams12 google-talk:[email protected] msn:[email protected] http://matthewadams.me http://www.linkedin.com/in/matthewadams
Craig L Russell Architect, Oracle http://db.apache.org/jdo 408 276-5638 mailto:[email protected] P.S. A good JDO? O, Gasp!
