Actually, the parent pom.xml can probably be deleted now. I was trying to keep the child one together with a sibling pom.xml, which builds some benchmarks (that I'm not going to push to Maven Central since they wouldn't be useful as a library). I'll do that and see if it makes any difference. You'll notice that release.sh descends into a subfolder to do the build; so do my other build scripts.
On Sun, Sep 10, 2017 at 12:45 PM Karl Heinz Marbaise <khmarba...@gmx.de> wrote: > Hi Chris, > > If i correctly see in your pom file you have defined Git URL in the root > location of your project as well as in the sub module which is simply > wrong... > Cause you are trying to release a multi module build which means these > things should only be at the root of that... > > Furthermore your child (skinny-wars-javaee5/pom.xml) duplicates many > things...Apart from that your child (which is not the case) based on the > things in Git repo: > > <!-- <parent> > <artifactId>root</artifactId> > <groupId>io.github.pr0methean.betterrandom</groupId> > <version>0.9.2.6-SNAPSHOT</version> > <relativePath>../pom.xml</relativePath> > </parent> --> > <properties> > <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> > <prefix /> > <maven.compiler.source>1.8</maven.compiler.source> > <maven.compiler.target>1.8</maven.compiler.target> > <annotatedJdk>${org.checkerframework:jdk8:jar}</annotatedJdk> > <github.global.server>github</github.global.server> > </properties> > <groupId>io.github.pr0methean.betterrandom</groupId> > <artifactId>BetterRandom</artifactId> > <version>0.9.2.15-SNAPSHOT</version> > <name>BetterRandom</name> > > > So in the end the parent is an aggregator...So my question if why are > you trying to release a single module ? Why not the whole in one go? > > Furthermore you see the difference in the version ? > > BTW: I'm not sure but there have been improvements made in more recent > versions of maven-release-plugin (but I'm not sure if really support > releases of childs at the moment?)... > > Kind regards > Karl Heinz Marbaise > > > > > > > On 10/09/17 20:52, Chris wrote: > > I've been informed at https://issues.sonatype.org/browse/OSSRH-34445 > that: > > "The logs show that the build is trying to checkout the release branch, > but > > whatever it checks out probably still has 0.9.2.7-SNAPSHOT as the version > > instead of 0.9.2.8 > > > > Once the build things it's building a SNAPSHOT version, it has no choice > > but to deploy to the Snapshots repo" > > > > I've changed my release shell script a little bit since then to properly > > integrate the Proguard step, but I'm still having the same issue. A more > > up-to-date output log is here: https://pastebin.ca/3866418 The script > I'm > > running is at > > > https://github.com/Pr0methean/BetterRandom/blob/66901100812a4bca1243ac7639c34a837d6aecfa/release.sh > > and > > the pom.xml is at > > > https://github.com/Pr0methean/BetterRandom/blob/master/betterrandom/pom.xml > > . > > > > What do I need to do differently to generate a release with a > non-snapshot > > tag? > > >