Oh - and if for some non-obvious reason you want to create the distribution
jars when you do the build you can run

mvn -P apache-release clean install.

On Wed, Aug 17, 2011 at 11:35 AM, ralph.goers @dslextreme.com <
ralph.go...@dslextreme.com> wrote:

> Oops. That should be mvn site:stage-deploy.
>
> Ralph
>
>
> On Wed, Aug 17, 2011 at 11:32 AM, ralph.goers @dslextreme.com <
> ralph.go...@dslextreme.com> wrote:
>
>> What do you mean "It did not work"?  This is a multi-project site so in
>> general mvn site is useless.  You have to run mvn site:stage-deply
>> -DstagingSiteURL="file url where I want the site to go".  I suppose I could
>> add that to the readme, but it is documented pretty well on the maven site
>> plugin web site.
>>
>> In a prior release candidate I wasn't generating the release notes and I
>> had the comment in the README.  The release was vetoed due to the lack of
>> release notes. I simply forgot to delete the README.
>>
>> Did you run announcement-generate from the core directory? That only works
>> at the project root.
>>
>> The build instructions consist of:
>>
>> mvn clean install
>>
>> Ralph
>>
>>
>> On Wed, Aug 17, 2011 at 8:13 AM, Gary Gregory <garydgreg...@gmail.com>wrote:
>>
>>> Hi All:
>>>
>>> I am not sure if I am building correctly, but here is what I found. Some
>>> build instructions in the readme.txt file would help.
>>>
>>> Downloaded source zip from
>>> http://people.apache.org/~rgoers/commons-vfs/staged/
>>>
>>> From the root I ran "mvn site" which did not work. Fine, starting to poke
>>> around.
>>>
>>> From the "dist" directory I ran "mvn site" which did not work:
>>>
>>> [INFO] Generating "Dependency Management" report    ---
>>> maven-project-info-reports-plugin:2.3.1
>>> Downloading:
>>>
>>> http://repo1.maven.org/maven2/org/apache/commons/commons-vfs-examples/2.0/commons-vfs-examples-2.0.pom
>>> [WARNING] Unable to create Maven project from repository.
>>> org.apache.maven.project.ProjectBuildingException: Error resolving
>>> project
>>> artifact: Failure to find org.apache.commons:commons-vfs-examples:pom:2.0
>>> in
>>> http://r
>>> epo1.maven.org/maven2 was cached in the local repository, resolution
>>> will
>>> not be reattempted until the update interval of central has elapsed or
>>> updates are for
>>> ced for project org.apache.commons:commons-vfs-examples:pom:2.0
>>>        at
>>>
>>> org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:272)
>>>        at
>>>
>>> org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:237)
>>>        at
>>>
>>> org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:252)
>>>
>>> Why would building the site require an installed VFS2?
>>>
>>> The README.txt says to run "mvn changes:announcement-generate" to get
>>> release notes but there is a RELEASE-NOTES.txt file in the same dir. Why
>>> do
>>> we need two?
>>>
>>> When I do run "mvn changes:announcement-generate", I get:
>>>
>>> [INFO] --- maven-changes-plugin:2.4:announcement-generate (default-cli) @
>>> commons-vfs2 ---
>>> [WARNING] changes.xml file
>>> C:\test\commons-vfs-2.0\core\src\changes\changes.xml does not exist.
>>>
>>> There is no such file.
>>>
>>> I do not know if I should -1 this because there are no build
>>> instructions,
>>> or if there are, they are located in some non-obvious spot.
>>>
>>> Gary
>>>
>>> On Wed, Aug 17, 2011 at 1:44 AM, Ralph Goers <ralph.go...@dslextreme.com
>>> >wrote:
>>>
>>> > This is a vote to release Apache Commons VFS 2.0.
>>> >
>>> > Changes made since the last candidate:
>>> >
>>> > * Fixed the manifest error that was causing the build to fail.
>>> > * Changed the copyright date in the Notice file from 2010 to 2011.
>>> > * Removed the references to javamail from the Notice file.
>>> > * Removed all the @version tags
>>> > * Fixed the EOL issues with README.txt, RELEASE-NOTES.txt, and
>>> > src/changes/announcement.vm (osgi/MANIFEST.MF has been removed).
>>> > * Modified the release notes to mention the code is not source
>>> compatible
>>> > with VFS 1.x and that the package name changed.
>>> > * Fixed the WARNING for the use of the deprecated tasks element.
>>> > * Fixed the WARNING for the use of the deprecated systemProperties
>>> element.
>>> > * Made sure all jars have NOTICE.txt and LICENSE.txt
>>> >
>>> > The build message
>>> > [WARNING] Ignoring project type pom - supportedProjectTypes = [jar,
>>> bundle]
>>> > was not fixed as that is due to commons parent causing the maven-bundle
>>> > plugin to run on all subprojects, including those that don't generate
>>> > bundles or jars.
>>> >
>>> > I have also removed files that shouldn't be present in the Maven
>>> repository
>>> > from the staging repo.
>>> >
>>> > [ ] +1 release it
>>> > [ ] +0 go ahead I don't care
>>> > [ ] -1 no, do not release it because.
>>> >
>>> > Ralph
>>> >
>>> >
>>> > Tag:
>>> >
>>> https://svn.apache.org/repos/asf/commons/proper/vfs/tags/commons-vfs2-project-2.0/(revision
>>>  1158401).
>>> >
>>> > Site: http://people.apache.org/~rgoers/commons-vfs/site/
>>> >
>>> > Binaries: http://people.apache.org/~rgoers/commons-vfs/staged/
>>> >
>>> > The following artifacts have been staged to the org.apache.commons-045
>>> > (u:rgoers, a:208.29.163.248) repository.
>>> >
>>> > The Maven artifacts are at:
>>> >
>>> >
>>> >
>>> https://repository.apache.org/content/groups/staging/org/apache/commons/commons-vfs2/
>>> >
>>> >
>>> https://repository.apache.org/content/groups/staging/org/apache/commons/commons-vfs2-examples/
>>> >
>>> >
>>> https://repository.apache.org/content/groups/staging/org/apache/commons/commons-vfs2-project/
>>> >
>>> >
>>> https://repository.apache.org/content/groups/staging/org/apache/commons/commons-vfs2-sandbox/
>>> >
>>> > and consist of
>>> >
>>> > archetype-catalog.xml
>>> > commons-vfs2-examples-2.0-javadoc.jar
>>> > commons-vfs2-examples-2.0-sources.jar.asc
>>> > commons-vfs2-examples-2.0.pom
>>> > commons-vfs2-examples-2.0-tests.jar
>>> > commons-vfs2-examples-2.0-tests.jar.asc
>>> > commons-vfs2-examples-2.0.jar.asc
>>> > commons-vfs2-examples-2.0.pom.asc
>>> > commons-vfs2-examples-2.0-javadoc.jar.asc
>>> > commons-vfs2-examples-2.0.jar
>>> > commons-vfs2-examples-2.0-sources.jar
>>> > commons-vfs2-project-2.0.pom.asc
>>> > commons-vfs2-project-2.0.pom
>>> > commons-vfs2-sandbox-2.0.pom.asc
>>> > commons-vfs2-sandbox-2.0-sources.jar.asc
>>> > commons-vfs2-sandbox-2.0-test-sources.jar.asc
>>> > commons-vfs2-sandbox-2.0.jar
>>> > commons-vfs2-sandbox-2.0-javadoc.jar
>>> > commons-vfs2-sandbox-2.0-test-sources.jar
>>> > commons-vfs2-sandbox-2.0.jar.asc
>>> > commons-vfs2-sandbox-2.0-sources.jar
>>> > commons-vfs2-sandbox-2.0-javadoc.jar.asc
>>> > commons-vfs2-sandbox-2.0-tests.jar.asc
>>> > commons-vfs2-sandbox-2.0-tests.jar
>>> > commons-vfs2-sandbox-2.0.pom
>>> > commons-vfs2-2.0.pom.asc
>>> > commons-vfs2-2.0-javadoc.jar
>>> > commons-vfs2-2.0-tests.jar.asc
>>> > commons-vfs2-2.0-tests.jar
>>> > commons-vfs2-2.0.pom
>>> > commons-vfs2-2.0.jar
>>> > commons-vfs2-2.0-sources.jar.asc
>>> > commons-vfs2-2.0-test-sources.jar.asc
>>> > commons-vfs2-2.0.jar.asc
>>> > commons-vfs2-2.0-sources.jar
>>> > commons-vfs2-2.0-test-sources.jar
>>> > commons-vfs2-2.0-javadoc.jar.asc
>>>
>>>
>>>
>>>
>>> --
>>> Thank you,
>>> Gary
>>>
>>> http://garygregory.wordpress.com/
>>> http://garygregory.com/
>>> http://people.apache.org/~ggregory/
>>> http://twitter.com/GaryGregory
>>>
>>
>>
>

Reply via email to