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