Thanks for taking a look at this Josh.  I submitted a PR at
https://github.com/apache/incubator-rya/pull/69

On Sat, Aug 13, 2016 at 3:21 PM Josh Elser <[email protected]> wrote:

> I'd concur with your assessment, Aaron. I would think that you should
> just remove that configuration from the maven-release-plugin. One less
> command to have to "know about" to make a release (I love projects that
> are as simple as "mvn release:prepare; mvn release:perform").
>
> Similarly, allowTimestampedSnapshots=true seems like a bad idea on the
> release-plugin's configuration.
>
> Aaron D. Mihalik wrote:
> > I'm able to perform most of the steps for the release from the command
> line
> > (e.g. build rya, sign and deploy snapshot artifacts, create and tag git
> > branches), but I don't see my 3.2.10 artifacts in the staging repository
> > [1].
> >
> > I'm following the instructions from here [2].
> >
> > I think it's an issue with my "mvn release:perform" command.  I looked
> > through the logs and it says "Executing goals 'install'..." and I
> expected
> > it to say "deploy".  Note the log snippet at the end of my email below.
> >
> > I'm pretty sure this is because (for some reason) our we override the
> maven
> > release goal to "install" [3].  I've tried overriding this on the command
> > line, but it didn't work.
> >
> > I checked my local m2 repo, and all of the 3.2.10 artifacts are correctly
> > installed.
> >
> > I figure I have two options:
> > 1. Remove the override in the POM, commit the change to 3.2.10-SNAPSHOT
> and
> > redo the release.
> >
> > 2. run "mvn deploy -Papache-release" from the 3.2.10 directory created
> > during the "mvn release:perform" command
> >
> > Here are my exact commands:
> >
> > 1.Checkout out code
> > git clone https://git-wip-us.apache.org/repos/asf/incubator-rya.git
> > incubator-rya-apache
> >
> > 2. Create release candidate branch
> > git checkout -b 3.2.10-RC1 develop
> > git push -u origin 3.2.10-RC1
> >
> > 3. Build Rya, prepare and perform release (note I'm skipping tests
> because
> > I've run them all before on the snapshots and release)
> > mvn clean package -Papache-release -DskipTests
> > mvn release:prepare  -Darguments="-DskipTests"
> > mvn release:perform -Darguments="-DskipTests" -Dgoals=deploy
> >
> > 4. Delete "3.2.10" tag create during prepare
> > git tag -d 3.2.10
> > git push origin :refs/tags/3.2.10
> >
> > --Aaron
> >
> >
> > [1] https://repository.apache.org/#stagingRepositories
> > [2]
> http://www.apache.org/dev/publishing-maven-artifacts.html#prepare-poms
> > [3] https://github.com/apache/incubator-rya/blob/develop/pom.xml#L621
> >
> > Maven logs:
> >
> > 2650 [main] [INFO]
> > org.apache.maven.shared.release.phase.CheckoutProjectFromScm - Checking
> out
> > the project to perform the release ...
> >
> > 2673 [main] [INFO] org.apache.maven.scm.manager.plexus.DefaultScmManager
> -
> > Executing: /bin/sh -c cd
> > /Users/mihalik/Documents/workspace/incubator-rya-apache/target&&  git
> clone
> > --branch 3.2.10
> https://git-wip-us.apache.org/repos/asf/incubator-rya.git
> > /Users/mihalik/Documents/workspace/incubator-rya-apache/target/checkout
> >
> > 2673 [main] [INFO] org.apache.maven.scm.manager.plexus.DefaultScmManager
> -
> > Working directory:
> > /Users/mihalik/Documents/workspace/incubator-rya-apache/target
> >
> > 11528 [main] [INFO]
> org.apache.maven.scm.manager.plexus.DefaultScmManager -
> > Executing: /bin/sh -c cd
> /var/folders/qw/7lbq60nx48n01zhm4jvrj0rr0000gn/T/
> > &&  git ls-remote
> https://git-wip-us.apache.org/repos/asf/incubator-rya.git
> >
> > 11528 [main] [INFO]
> org.apache.maven.scm.manager.plexus.DefaultScmManager -
> > Working directory: /var/folders/qw/7lbq60nx48n01zhm4jvrj0rr0000gn/T
> >
> > 12037 [main] [INFO]
> org.apache.maven.scm.manager.plexus.DefaultScmManager -
> > Executing: /bin/sh -c cd
> > /Users/mihalik/Documents/workspace/incubator-rya-apache/target/checkout&&
> > git fetch https://git-wip-us.apache.org/repos/asf/incubator-rya.git
> >
> > 12037 [main] [INFO]
> org.apache.maven.scm.manager.plexus.DefaultScmManager -
> > Working directory:
> > /Users/mihalik/Documents/workspace/incubator-rya-apache/target/checkout
> >
> > 12565 [main] [INFO]
> org.apache.maven.scm.manager.plexus.DefaultScmManager -
> > Executing: /bin/sh -c cd
> > /Users/mihalik/Documents/workspace/incubator-rya-apache/target/checkout&&
> > git checkout 3.2.10
> >
> > 12565 [main] [INFO]
> org.apache.maven.scm.manager.plexus.DefaultScmManager -
> > Working directory:
> > /Users/mihalik/Documents/workspace/incubator-rya-apache/target/checkout
> >
> > 12654 [main] [INFO]
> org.apache.maven.scm.manager.plexus.DefaultScmManager -
> > Executing: /bin/sh -c cd
> > /Users/mihalik/Documents/workspace/incubator-rya-apache/target/checkout&&
> > git ls-files
> >
> > 12654 [main] [INFO]
> org.apache.maven.scm.manager.plexus.DefaultScmManager -
> > Working directory:
> > /Users/mihalik/Documents/workspace/incubator-rya-apache/target/checkout
> >
> > 12684 [main] [INFO]
> > org.apache.maven.shared.release.phase.RunPerformGoalsPhase - Invoking
> > perform goals in directory
> > /Users/mihalik/Documents/workspace/incubator-rya-apache/target/checkout
> >
> > 12684 [main] [INFO]
> > org.apache.maven.shared.release.phase.RunPerformGoalsPhase - Executing
> > goals 'install'...
> >
>

Reply via email to