GithubHelp home page GithubHelp logo

Comments (7)

manoswerts avatar manoswerts commented on August 27, 2024 1

A bit late to the party, but for the ones coming across this issues. As a workaround, you can do this:

<plugin>
        <groupId>com.github.danielflower.mavenplugins</groupId>
        <artifactId>multi-module-maven-release-plugin</artifactId>
        <version>2.1.4</version>

        <configuration>
                <releaseGoals>
                        <releaseGoal>deploy ${arguments}</releaseGoal>
                </releaseGoals>
        </configuration>
</plugin>
mvn releaser:release -Darguments="-Dcredentials=something"

from multi-module-maven-release-plugin.

yasserg avatar yasserg commented on August 27, 2024

+1

from multi-module-maven-release-plugin.

garyhodgson avatar garyhodgson commented on August 27, 2024

+1 particularly as it appears that skipTests does not include failsafe integration tests, which I would prefer to skip when releasing some modules.

from multi-module-maven-release-plugin.

SourcePond avatar SourcePond commented on August 27, 2024

If you work with Maven 3.3 / Java 8 you can try this fork: https://github.com/SourcePond/multi-module-release-maven-plugin. It supports parameter passing to the release build + supports a config item true

from multi-module-maven-release-plugin.

cvgaviao avatar cvgaviao commented on August 27, 2024

Well, I have in my project many profiles that are activated by a combination of files and system properties being passed in command-line, including those that MUST be activate at release as the sign, javadoc and others.
Unfortunately none of then are being activate while using this plugin.

This issue is opened since 2015, is that improvement so hard to implement?

from multi-module-maven-release-plugin.

danielflower avatar danielflower commented on August 27, 2024

I'm not sure if it's hard to implement or not. If someone wants to help, just adding a failing test would be a good start. There is an established test pattern in the repo. Just add the simplest possible sample project and call the build from a test and assert on build result or log.

from multi-module-maven-release-plugin.

danielflower avatar danielflower commented on August 27, 2024

As of 3.0.1 you can specify arguments: http://danielflower.github.io/multi-module-maven-release-plugin/release-mojo.html#arguments

Fixed as part of this commit which also added tests to prove that MAVEN_OPTS and other env vars get passed through (so I suppose someone fixed this during the 4 years that this ticket has been open).

If arguments, maven options, or env vars aren't working for you on version 3.0.1 or later please open a new ticket with details.

from multi-module-maven-release-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.