├── .asf.yaml
├── .github
├── ISSUE_TEMPLATE
│ ├── BUG.yml
│ ├── FEATURE.yml
│ └── config.yml
├── dependabot.yml
├── pull_request_template.md
├── release-drafter.yml
└── workflows
│ ├── maven-verify.yml
│ ├── pr-automation.yml
│ ├── release-drafter.yml
│ └── stale.yml
├── .gitignore
├── Jenkinsfile
├── README.md
├── pom.xml
└── src
├── config
└── checkstyle-suppressions.xml
├── it
├── MINVOKER-190-logDirectory
│ ├── pom.xml
│ ├── src
│ │ └── it
│ │ │ └── module
│ │ │ └── pom.xml
│ └── verify.groovy
├── MINVOKER-191
│ ├── invoker.properties
│ ├── module-a
│ │ ├── pom.xml
│ │ └── src
│ │ │ ├── main
│ │ │ └── java
│ │ │ │ └── org
│ │ │ │ └── apache
│ │ │ │ └── maven
│ │ │ │ └── plugins
│ │ │ │ └── foo
│ │ │ │ └── Hello.java
│ │ │ └── test
│ │ │ └── java
│ │ │ └── org
│ │ │ └── apache
│ │ │ └── maven
│ │ │ └── plugins
│ │ │ └── foo
│ │ │ └── HelloTest.java
│ ├── module-b
│ │ ├── pom.xml
│ │ └── src
│ │ │ ├── main
│ │ │ └── java
│ │ │ │ └── org
│ │ │ │ └── apache
│ │ │ │ └── maven
│ │ │ │ └── plugins
│ │ │ │ └── foo
│ │ │ │ └── Hello.java
│ │ │ └── test
│ │ │ └── java
│ │ │ └── org
│ │ │ └── apache
│ │ │ └── maven
│ │ │ └── plugins
│ │ │ └── foo
│ │ │ └── HelloTest.java
│ ├── plugin
│ │ ├── pom.xml
│ │ └── src
│ │ │ ├── it
│ │ │ └── basic
│ │ │ │ └── pom.xml
│ │ │ └── main
│ │ │ └── java
│ │ │ └── org
│ │ │ └── apache
│ │ │ └── maven
│ │ │ └── it
│ │ │ └── plugins
│ │ │ └── dummy
│ │ │ └── MyMojo.java
│ └── pom.xml
├── MINVOKER-196_junit_report_file
│ ├── pom.xml
│ ├── src
│ │ └── it
│ │ │ ├── project
│ │ │ ├── pom.xml
│ │ │ └── verify.groovy
│ │ │ ├── project_2
│ │ │ ├── pom.xml
│ │ │ └── verify.groovy
│ │ │ └── settings.xml
│ └── verify.groovy
├── MINVOKER-243_install-reactor
│ ├── invoker.properties
│ ├── module-a
│ │ └── pom.xml
│ ├── module-b
│ │ └── pom.xml
│ ├── plugin
│ │ └── pom.xml
│ ├── pom.xml
│ └── verify.groovy
├── MINVOKER-288-failed-setup-run
│ ├── invoker.properties
│ ├── pom.xml
│ ├── src
│ │ └── it
│ │ │ ├── project1
│ │ │ └── pom.xml
│ │ │ └── project2
│ │ │ └── pom.xml
│ └── verify.groovy
├── MINVOKER-288-failed-setup-verify
│ ├── invoker.properties
│ ├── pom.xml
│ ├── src
│ │ └── it
│ │ │ ├── project1
│ │ │ └── pom.xml
│ │ │ └── project2
│ │ │ └── pom.xml
│ └── verify.groovy
├── MINVOKER-289
│ ├── pom.xml
│ ├── src
│ │ └── it
│ │ │ └── project
│ │ │ ├── pom.xml
│ │ │ └── prebuild.bsh
│ └── verify.groovy
├── MINVOKER-294-mavenExacutable-in-properties
│ ├── pom.xml
│ └── src
│ │ └── it
│ │ └── project
│ │ ├── invoker.properties
│ │ ├── mvn1
│ │ ├── mvn1.cmd
│ │ ├── mvn2
│ │ ├── mvn2.cmd
│ │ ├── pom.xml
│ │ ├── postbuild.groovy
│ │ └── prebuild.groovy
├── MINVOKER-328_install-default
│ ├── invoker.properties
│ ├── pom.xml
│ └── verify.groovy
├── MINVOKER-330-realative-mavenExacutable
│ ├── pom.xml
│ └── src
│ │ └── it
│ │ └── project
│ │ └── pom.xml
├── MINVOKER-335-symlinks-in-source
│ ├── invoker.properties
│ ├── pom.xml
│ ├── selector.groovy
│ ├── src
│ │ └── it
│ │ │ └── clone-symlinks
│ │ │ └── pom.xml
│ └── verify.groovy
├── MINVOKER-351
│ ├── invoker.properties
│ ├── pom.xml
│ ├── src
│ │ └── it
│ │ │ └── minvoker-351
│ │ │ ├── pom.xml
│ │ │ └── postbuild.groovy
│ └── verify.groovy
├── MINVOKER-365-user-poperties-from-pre-build
│ ├── pom.xml
│ ├── src
│ │ └── it
│ │ │ └── project
│ │ │ ├── pom.xml
│ │ │ ├── postbuild.groovy
│ │ │ └── prebuild.groovy
│ └── verify.groovy
├── MINVOKER-368-install-filter-scope
│ ├── pom.xml
│ └── verify.groovy
├── clone-clean
│ ├── invoker.properties
│ ├── pom.xml
│ ├── setup.groovy
│ ├── src
│ │ └── it
│ │ │ └── clone-clean
│ │ │ └── pom.xml
│ └── verify.groovy
├── clone-maven-plugin-packaging
│ ├── invoker.properties
│ ├── pom.xml
│ ├── src
│ │ └── it
│ │ │ └── clone-clean
│ │ │ └── pom.xml
│ └── verify.bsh
├── exec-timeout-invoker-level
│ ├── invoker.properties
│ ├── pom.xml
│ ├── src
│ │ ├── it
│ │ │ └── basic
│ │ │ │ ├── invoker.properties
│ │ │ │ └── pom.xml
│ │ └── main
│ │ │ └── java
│ │ │ └── org
│ │ │ └── apache
│ │ │ └── maven
│ │ │ └── it
│ │ │ └── plugins
│ │ │ └── dummy
│ │ │ └── MyMojo.java
│ └── verify.groovy
├── exec-timeout-mojo-level
│ ├── invoker.properties
│ ├── pom.xml
│ ├── src
│ │ ├── it
│ │ │ └── basic
│ │ │ │ └── pom.xml
│ │ └── main
│ │ │ └── java
│ │ │ └── org
│ │ │ └── apache
│ │ │ └── maven
│ │ │ └── it
│ │ │ └── plugins
│ │ │ └── dummy
│ │ │ └── MyMojo.java
│ └── verify.groovy
├── fail-build-streamLogsOnFailures
│ ├── invoker.properties
│ ├── pom.xml
│ ├── src
│ │ └── it
│ │ │ └── project
│ │ │ └── pom.xml
│ └── verify.groovy
├── fail-build-with-verify-streamLogsOnFailures
│ ├── invoker.properties
│ ├── pom.xml
│ ├── src
│ │ └── it
│ │ │ └── project
│ │ │ └── pom.xml
│ └── verify.groovy
├── fail-build-with-verify
│ ├── invoker.properties
│ ├── pom.xml
│ ├── src
│ │ └── it
│ │ │ └── project
│ │ │ ├── pom.xml
│ │ │ └── prebuild.bsh
│ └── verify.bsh
├── fail-build
│ ├── invoker.properties
│ ├── pom.xml
│ ├── src
│ │ └── it
│ │ │ └── project
│ │ │ ├── pom.xml
│ │ │ └── prebuild.bsh
│ └── verify.bsh
├── fail-ignore-with-verify
│ ├── pom.xml
│ └── src
│ │ └── it
│ │ └── project
│ │ └── pom.xml
├── fail-ignore
│ ├── pom.xml
│ └── src
│ │ └── it
│ │ └── project
│ │ └── pom.xml
├── fail-noprojects_integration-test
│ └── pom.xml
├── fail-noprojects_run
│ ├── invoker.properties
│ └── pom.xml
├── fail-noprojects_verify
│ ├── invoker.properties
│ └── pom.xml
├── fail-postbuild
│ ├── invoker.properties
│ ├── pom.xml
│ ├── src
│ │ └── it
│ │ │ └── project
│ │ │ ├── pom.xml
│ │ │ ├── postbuild.bsh
│ │ │ └── prebuild.bsh
│ └── verify.bsh
├── fail-prebuild
│ ├── invoker.properties
│ ├── pom.xml
│ ├── src
│ │ └── it
│ │ │ └── project
│ │ │ ├── pom.xml
│ │ │ └── prebuild.bsh
│ └── verify.bsh
├── fail-run-postbuild
│ ├── invoker.properties
│ ├── pom.xml
│ ├── src
│ │ └── it
│ │ │ └── project
│ │ │ ├── pom.xml
│ │ │ ├── postbuild.bsh
│ │ │ └── src
│ │ │ └── main
│ │ │ └── java
│ │ │ └── Foo.java
│ └── verify.bsh
├── filtering-extensions
│ ├── pom.xml
│ ├── src
│ │ └── it
│ │ │ └── project
│ │ │ ├── .mvn
│ │ │ └── extensions.xml
│ │ │ └── pom.xml
│ └── verify.bsh
├── install-extra-artifacts
│ ├── pom.xml
│ └── verify.bsh
├── integration-test-never-fails
│ ├── pom.xml
│ ├── src
│ │ └── it
│ │ │ └── project
│ │ │ ├── pom.xml
│ │ │ └── prebuild.bsh
│ └── verify.bsh
├── invocation-cmdline-exclude
│ ├── pom.xml
│ ├── src
│ │ └── it
│ │ │ ├── minvoker-140-executable
│ │ │ └── pom.xml
│ │ │ └── minvoker-140-ignorable
│ │ │ └── pom.xml
│ ├── test.properties
│ └── verify.groovy
├── invocation-debug
│ ├── pom.xml
│ └── src
│ │ └── it
│ │ └── minvoker-142
│ │ ├── invoker.properties
│ │ ├── pom.xml
│ │ └── verify.groovy
├── invocation-emptyproperty
│ ├── pom.xml
│ └── src
│ │ └── it
│ │ └── minvoker-118
│ │ └── pom.xml
├── invocation-environmentvariable
│ ├── invoker.properties
│ ├── pom.xml
│ ├── src
│ │ └── it
│ │ │ ├── minvoker-145
│ │ │ ├── pom.xml
│ │ │ └── verify.groovy
│ │ │ ├── minvoker-255
│ │ │ ├── invoker.properties
│ │ │ ├── pom.xml
│ │ │ └── verify.groovy
│ │ │ └── minvoker-273
│ │ │ └── pom.xml
│ └── verify.groovy
├── invocation-group-properties
│ ├── pom.xml
│ ├── src
│ │ └── it
│ │ │ └── projects
│ │ │ ├── group-1
│ │ │ ├── invoker.properties
│ │ │ ├── sub-1
│ │ │ │ ├── invoker.properties
│ │ │ │ └── pom.xml
│ │ │ └── sub-2
│ │ │ │ └── pom.xml
│ │ │ ├── group-2
│ │ │ ├── sub-1
│ │ │ │ ├── invoker.properties
│ │ │ │ └── pom.xml
│ │ │ └── sub-2
│ │ │ │ └── pom.xml
│ │ │ └── invoker.properties
│ └── verify.groovy
├── invocation-multiple
│ ├── pom.xml
│ ├── src
│ │ └── it
│ │ │ ├── project
│ │ │ ├── invoker.properties
│ │ │ ├── pom.xml
│ │ │ ├── src
│ │ │ │ └── main
│ │ │ │ │ └── java
│ │ │ │ │ └── org
│ │ │ │ │ └── TestMojo.java
│ │ │ ├── user.properties
│ │ │ └── user3.properties
│ │ │ └── settings.xml
│ └── verify.bsh
├── invocation-offline
│ ├── pom.xml
│ ├── src
│ │ └── it
│ │ │ ├── project
│ │ │ ├── invoker.properties
│ │ │ └── pom.xml
│ │ │ └── settings.xml
│ └── verify.bsh
├── invocation-project
│ ├── pom.xml
│ ├── src
│ │ └── it
│ │ │ ├── project
│ │ │ ├── invoker.properties
│ │ │ ├── pom.xml
│ │ │ ├── setup.bsh
│ │ │ ├── sub-1
│ │ │ │ └── pom.xml
│ │ │ ├── sub-2
│ │ │ │ └── pom.xml
│ │ │ └── sub-3
│ │ │ │ └── pom.xml
│ │ │ └── settings.xml
│ └── verify.bsh
├── invocation-reactor-indirect
│ ├── invoker.properties
│ ├── itests
│ │ ├── pom.xml
│ │ └── src
│ │ │ └── it
│ │ │ └── basic
│ │ │ └── pom.xml
│ ├── plugin
│ │ ├── pom.xml
│ │ └── src
│ │ │ └── main
│ │ │ └── java
│ │ │ └── org
│ │ │ └── apache
│ │ │ └── maven
│ │ │ └── it
│ │ │ └── plugins
│ │ │ └── dummy
│ │ │ └── MyMojo.java
│ └── pom.xml
├── invocation-spaces
│ ├── pom.xml
│ ├── src
│ │ └── it projects
│ │ │ ├── project
│ │ │ ├── spacy pom.xml
│ │ │ └── src
│ │ │ │ └── main
│ │ │ │ └── resources
│ │ │ │ └── test.txt
│ │ │ └── settings.xml
│ └── verify.bsh
├── invoker-report
│ ├── invoker.properties
│ ├── pom.xml
│ ├── src
│ │ └── it
│ │ │ ├── failure-build
│ │ │ └── pom.xml
│ │ │ ├── failure-post
│ │ │ ├── invoker.properties
│ │ │ ├── pom.xml
│ │ │ └── verify.bsh
│ │ │ ├── failure-pre
│ │ │ ├── invoker.properties
│ │ │ ├── pom.xml
│ │ │ └── setup.bsh
│ │ │ ├── skip-jre
│ │ │ ├── invoker.properties
│ │ │ └── pom.xml
│ │ │ ├── skip-maven
│ │ │ ├── invoker.properties
│ │ │ └── pom.xml
│ │ │ ├── skip-os
│ │ │ ├── invoker.properties
│ │ │ └── pom.xml
│ │ │ └── success
│ │ │ ├── invoker.properties
│ │ │ └── pom.xml
│ └── verify.bsh
├── local-repo-default
│ ├── pom.xml
│ ├── src
│ │ └── it
│ │ │ ├── project
│ │ │ ├── pom.xml
│ │ │ └── postbuild.bsh
│ │ │ └── settings.xml
│ └── verify.bsh
├── local-repo-isolated
│ ├── pom.xml
│ ├── src
│ │ └── it
│ │ │ ├── project
│ │ │ └── pom.xml
│ │ │ └── settings.xml
│ └── verify.bsh
├── local-repo-path
│ ├── pom.xml
│ ├── src
│ │ └── it
│ │ │ ├── project
│ │ │ └── pom.xml
│ │ │ └── settings.xml
│ └── verify.bsh
├── local-repo-url
│ ├── pom.xml
│ ├── src
│ │ └── it
│ │ │ ├── project
│ │ │ ├── pom.xml
│ │ │ └── postbuild.groovy
│ │ │ └── settings.xml
│ └── verify.groovy
├── not-clone-not-plugin
│ ├── invoker.properties
│ ├── pom.xml
│ ├── src
│ │ └── it
│ │ │ └── clone-clean
│ │ │ └── pom.xml
│ └── verify.bsh
├── pom-filtering-encoding
│ ├── pom.xml
│ ├── src
│ │ └── it
│ │ │ ├── latin-1
│ │ │ └── pom.xml
│ │ │ └── utf-8
│ │ │ └── pom.xml
│ └── verify.bsh
├── pom-filtering-reactor
│ ├── pom.xml
│ ├── src
│ │ └── it
│ │ │ └── mod2-parent
│ │ │ ├── mod1-parent
│ │ │ └── pom.xml
│ │ │ ├── mod1
│ │ │ ├── pom.xml
│ │ │ └── src
│ │ │ │ └── it
│ │ │ │ └── pom.xml
│ │ │ ├── mod2
│ │ │ └── pom.xml
│ │ │ ├── mod3
│ │ │ ├── pom.xml
│ │ │ └── src
│ │ │ │ └── it
│ │ │ │ └── pom.xml
│ │ │ └── pom.xml
│ └── verify.bsh
├── pom-filtering
│ ├── pom.xml
│ ├── src
│ │ └── it
│ │ │ ├── project
│ │ │ └── pom.xml
│ │ │ └── settings.xml
│ └── verify.bsh
├── pom-less-invocation
│ ├── pom.xml
│ ├── src
│ │ └── it
│ │ │ └── no-pom
│ │ │ └── workaround.txt
│ └── verify.bsh
├── postbuild-executed-only-once
│ ├── pom.xml
│ ├── src
│ │ └── it
│ │ │ └── project
│ │ │ ├── invoker.properties
│ │ │ ├── pom.xml
│ │ │ ├── postbuild.bsh
│ │ │ ├── src
│ │ │ ├── main
│ │ │ │ └── java
│ │ │ │ │ └── org
│ │ │ │ │ └── apache
│ │ │ │ │ └── maven
│ │ │ │ │ └── plugins
│ │ │ │ │ └── invoker
│ │ │ │ │ └── it
│ │ │ │ │ └── post_executed_only_once
│ │ │ │ │ └── App.java
│ │ │ └── test
│ │ │ │ └── java
│ │ │ │ └── org
│ │ │ │ └── apache
│ │ │ │ └── maven
│ │ │ │ └── plugins
│ │ │ │ └── invoker
│ │ │ │ └── it
│ │ │ │ └── post_executed_only_once
│ │ │ │ └── AppTest.java
│ │ │ └── system2.properties
│ └── verify.groovy
├── project-cloning-reactor
│ ├── pom.xml
│ ├── src
│ │ └── it
│ │ │ ├── aggregator
│ │ │ └── pom.xml
│ │ │ ├── module-a
│ │ │ └── pom.xml
│ │ │ ├── module-b
│ │ │ └── pom.xml
│ │ │ └── parent
│ │ │ └── pom.xml
│ └── verify.bsh
├── project-cloning
│ ├── pom.xml
│ ├── setup.bsh
│ ├── src
│ │ └── it
│ │ │ ├── module-1
│ │ │ ├── pom.xml
│ │ │ └── sub-module
│ │ │ │ └── pom.xml
│ │ │ └── module
│ │ │ └── pom.xml
│ └── verify.bsh
├── project-setup
│ ├── pom.xml
│ ├── src
│ │ └── it
│ │ │ ├── project1
│ │ │ ├── invoker.properties
│ │ │ └── pom.xml
│ │ │ ├── project2
│ │ │ └── pom.xml
│ │ │ ├── project3
│ │ │ ├── invoker.properties
│ │ │ └── pom.xml
│ │ │ ├── project4
│ │ │ └── pom.xml
│ │ │ ├── project5
│ │ │ └── pom.xml
│ │ │ └── project6
│ │ │ ├── invoker.properties
│ │ │ └── pom.xml
│ └── verify.bsh
├── script-accessibility
│ ├── invoker.properties
│ ├── pom.xml
│ └── src
│ │ ├── it
│ │ ├── beanshell
│ │ │ ├── pom.xml
│ │ │ └── verify.bsh
│ │ └── groovy
│ │ │ ├── pom.xml
│ │ │ └── verify.groovy
│ │ └── main
│ │ └── java
│ │ └── org
│ │ └── MyClass.java
├── script-additional-vars
│ ├── pom.xml
│ └── src
│ │ └── it
│ │ ├── beanshell
│ │ ├── pom.xml
│ │ ├── postbuild.bsh
│ │ ├── prebuild.bsh
│ │ └── selector.bsh
│ │ └── groovy
│ │ ├── pom.xml
│ │ ├── postbuild.groovy
│ │ ├── prebuild.groovy
│ │ └── selector.groovy
├── script-class-loading
│ ├── invoker.properties
│ ├── pom.xml
│ └── src
│ │ ├── it
│ │ ├── beanshell
│ │ │ ├── pom.xml
│ │ │ ├── postbuild.bsh
│ │ │ └── prebuild.bsh
│ │ └── groovy
│ │ │ ├── pom.xml
│ │ │ ├── postbuild.groovy
│ │ │ └── prebuild.groovy
│ │ └── test
│ │ └── java
│ │ └── org
│ │ └── MyUtils.java
├── script-classpath-duplicates
│ ├── pom.xml
│ ├── src
│ │ └── it
│ │ │ ├── beanshell
│ │ │ ├── pom.xml
│ │ │ ├── postbuild.bsh
│ │ │ └── prebuild.bsh
│ │ │ └── groovy
│ │ │ ├── pom.xml
│ │ │ ├── postbuild.groovy
│ │ │ └── prebuild.groovy
│ └── verify.bsh
├── script-context
│ ├── pom.xml
│ ├── src
│ │ └── it
│ │ │ ├── beanshell
│ │ │ ├── pom.xml
│ │ │ ├── setup.bsh
│ │ │ └── verify.bsh
│ │ │ └── groovy
│ │ │ ├── pom.xml
│ │ │ ├── setup.groovy
│ │ │ └── verify.groovy
│ └── verify.bsh
├── script-errors
│ ├── pom.xml
│ ├── src
│ │ └── it
│ │ │ ├── beanshell
│ │ │ ├── pom.xml
│ │ │ └── setup.bsh
│ │ │ └── groovy
│ │ │ ├── pom.xml
│ │ │ └── setup.groovy
│ └── verify.bsh
├── script-global-vars
│ ├── pom.xml
│ └── src
│ │ └── it
│ │ ├── beanshell
│ │ ├── pom.xml
│ │ ├── setup.bsh
│ │ └── verify.bsh
│ │ └── groovy
│ │ ├── pom.xml
│ │ ├── setup.groovy
│ │ └── verify.groovy
├── script-interpreter-detection
│ ├── pom.xml
│ ├── src
│ │ └── it
│ │ │ ├── beanshell
│ │ │ ├── pom.xml
│ │ │ ├── postbuild.bsh
│ │ │ └── prebuild.bsh
│ │ │ └── groovy
│ │ │ ├── pom.xml
│ │ │ ├── postbuild.groovy
│ │ │ └── prebuild.groovy
│ └── verify.bsh
├── script-streamLogs-false
│ ├── pom.xml
│ ├── src
│ │ └── it
│ │ │ ├── beanshell
│ │ │ ├── pom.xml
│ │ │ └── setup.bsh
│ │ │ └── groovy
│ │ │ ├── pom.xml
│ │ │ └── setup.groovy
│ └── verify.groovy
├── script-streamLogs-true
│ ├── pom.xml
│ ├── src
│ │ └── it
│ │ │ ├── beanshell
│ │ │ ├── pom.xml
│ │ │ └── setup.bsh
│ │ │ └── groovy
│ │ │ ├── pom.xml
│ │ │ └── setup.groovy
│ └── verify.groovy
├── script-verify-xml
│ ├── pom.xml
│ ├── src
│ │ └── it
│ │ │ └── minvoker-138
│ │ │ └── pom.xml
│ └── verify.groovy
├── selector-conditions
│ ├── pom.xml
│ ├── src
│ │ └── it
│ │ │ ├── jre-version-match
│ │ │ ├── invoker.properties
│ │ │ ├── pom.xml
│ │ │ └── postbuild.bsh
│ │ │ ├── jre-version-mismatch
│ │ │ ├── invoker.properties
│ │ │ ├── pom.xml
│ │ │ └── postbuild.bsh
│ │ │ ├── maven-version-match
│ │ │ ├── invoker.properties
│ │ │ ├── pom.xml
│ │ │ └── postbuild.bsh
│ │ │ ├── maven-version-mismatch
│ │ │ ├── invoker.properties
│ │ │ ├── pom.xml
│ │ │ └── postbuild.bsh
│ │ │ ├── os-family-match
│ │ │ ├── invoker.properties
│ │ │ ├── pom.xml
│ │ │ └── postbuild.bsh
│ │ │ ├── os-family-mismatch
│ │ │ ├── invoker.properties
│ │ │ ├── pom.xml
│ │ │ └── postbuild.bsh
│ │ │ └── toolchain-mismatch
│ │ │ ├── invoker.properties
│ │ │ ├── pom.xml
│ │ │ └── postbuild.bsh
│ └── verify.groovy
├── selector-scripts
│ ├── pom.xml
│ ├── setup.groovy
│ ├── src
│ │ └── it
│ │ │ ├── script-ret-false
│ │ │ ├── pom.xml
│ │ │ ├── postbuild.bsh
│ │ │ └── selector.bsh
│ │ │ ├── script-ret-other
│ │ │ ├── pom.xml
│ │ │ ├── postbuild.bsh
│ │ │ └── selector.bsh
│ │ │ ├── script-ret-quiet
│ │ │ ├── pom.xml
│ │ │ ├── postbuild.bsh
│ │ │ └── selector.bsh
│ │ │ ├── script-ret-true
│ │ │ ├── pom.xml
│ │ │ ├── postbuild.bsh
│ │ │ └── selector.bsh
│ │ │ └── script-throw
│ │ │ ├── pom.xml
│ │ │ ├── postbuild.bsh
│ │ │ └── selector.bsh
│ └── verify.bsh
├── settings-auto-exclude
│ ├── pom.xml
│ └── src
│ │ └── it
│ │ ├── project
│ │ └── pom.xml
│ │ └── settings.xml
├── settings-inherit
│ ├── invoker.properties
│ ├── pom.xml
│ └── src
│ │ └── it
│ │ └── project
│ │ └── pom.xml
├── settings-merge-multiexecutions
│ ├── invoker.properties
│ ├── pom.xml
│ └── src
│ │ └── it
│ │ ├── minvoker-133
│ │ └── pom.xml
│ │ └── settings.xml
├── settings-merge
│ ├── invoker.properties
│ ├── pom.xml
│ └── src
│ │ └── it
│ │ ├── project
│ │ └── pom.xml
│ │ └── settings.xml
├── settings-merge_jdk9+
│ ├── invoker.properties
│ ├── pom.xml
│ └── src
│ │ └── it
│ │ ├── project
│ │ ├── pom.xml
│ │ └── postbuild.groovy
│ │ └── settings.xml
├── settings-override
│ ├── invoker.properties
│ ├── pom.xml
│ └── src
│ │ └── it
│ │ ├── project
│ │ ├── invoker.properties
│ │ ├── pom.xml
│ │ └── postbuild.groovy
│ │ ├── settings-override.xml
│ │ └── settings.xml
├── settings.xml
├── skip-install
│ ├── pom.xml
│ ├── test.properties
│ └── verify.bsh
├── skip-run
│ ├── pom.xml
│ ├── src
│ │ └── it
│ │ │ └── project
│ │ │ ├── pom.xml
│ │ │ └── prebuild.bsh
│ ├── test.properties
│ └── verify.bsh
├── spaces-should-work_non-windows
│ ├── invoker.properties
│ ├── pom.xml
│ ├── setup.groovy
│ └── src
│ │ └── it
│ │ └── minvoker-test
│ │ ├── invoker.properties
│ │ ├── pom.xml
│ │ └── verify.groovy
├── spaces-should-work_windows
│ ├── invoker.properties
│ ├── pom.xml
│ ├── setup.groovy
│ └── src
│ │ └── it
│ │ └── minvoker-test
│ │ ├── invoker.properties
│ │ ├── pom.xml
│ │ └── verify.groovy
├── special-characters-should-work
│ ├── invoker.properties
│ ├── pom.xml
│ ├── setup.groovy
│ └── src
│ │ └── it
│ │ └── minvoker-test
│ │ ├── invoker.properties
│ │ ├── pom.xml
│ │ └── verify.groovy
├── staging-dependencies-test-scope
│ ├── invoker.properties
│ ├── pom.xml
│ └── verify.bsh
├── staging-dependencies
│ ├── invoker.properties
│ ├── pom.xml
│ ├── repo
│ │ └── org
│ │ │ └── apache
│ │ │ └── maven
│ │ │ └── its
│ │ │ ├── dep
│ │ │ ├── 1.0
│ │ │ │ ├── dep-1.0-tests.jar
│ │ │ │ └── dep-1.0.pom
│ │ │ ├── 2.0
│ │ │ │ ├── dep-2.0.jar
│ │ │ │ └── dep-2.0.pom
│ │ │ └── maven-metadata.xml
│ │ │ ├── minvoker-70
│ │ │ ├── 1.0-SNAPSHOT
│ │ │ │ ├── maven-metadata.xml
│ │ │ │ ├── minvoker-70-1.0-20081020.164906-1.jar
│ │ │ │ └── minvoker-70-1.0-20081020.164906-1.pom
│ │ │ └── maven-metadata.xml
│ │ │ ├── parent-a
│ │ │ └── 0.1-SNAPSHOT
│ │ │ │ ├── maven-metadata.xml
│ │ │ │ └── parent-a-0.1-20081020.164906-1.pom
│ │ │ ├── parent-b
│ │ │ └── 0.1-SNAPSHOT
│ │ │ │ ├── maven-metadata.xml
│ │ │ │ └── parent-b-0.1-20081020.164906-1.pom
│ │ │ └── pom
│ │ │ └── 0.3-SNAPSHOT
│ │ │ ├── maven-metadata.xml
│ │ │ └── pom-0.3-20081020.164906-1.pom
│ └── verify.bsh
├── staging-pom
│ ├── invoker.properties
│ ├── pom.xml
│ ├── src
│ │ └── site
│ │ │ └── site.xml
│ └── verify.bsh
├── staging-reactor
│ ├── invoker.properties
│ ├── mod1-parent
│ │ └── pom.xml
│ ├── mod1
│ │ └── pom.xml
│ ├── mod2
│ │ ├── pom.xml
│ │ └── src
│ │ │ └── main
│ │ │ └── resources
│ │ │ └── main.properties
│ ├── mod3
│ │ ├── pom.xml
│ │ └── src
│ │ │ └── main
│ │ │ └── resources
│ │ │ └── main.properties
│ ├── pom.xml
│ ├── src
│ │ └── site
│ │ │ └── site.xml
│ └── verify.bsh
└── updateOnly
│ ├── pom.xml
│ ├── src
│ └── it
│ │ └── project
│ │ └── pom.xml
│ └── verify.bsh
├── main
├── java
│ └── org
│ │ └── apache
│ │ └── maven
│ │ └── plugins
│ │ └── invoker
│ │ ├── AbstractInvokerMojo.java
│ │ ├── CompositeMap.java
│ │ ├── FileLogger.java
│ │ ├── InstallMojo.java
│ │ ├── IntegrationTestMojo.java
│ │ ├── InterpolatorUtils.java
│ │ ├── InvokerMojo.java
│ │ ├── InvokerProperties.java
│ │ ├── InvokerReport.java
│ │ ├── InvokerReportRenderer.java
│ │ ├── InvokerSession.java
│ │ ├── InvokerToolchain.java
│ │ ├── JobExecutor.java
│ │ ├── PomUtils.java
│ │ ├── ReportUtils.java
│ │ ├── RunFailureException.java
│ │ ├── Selector.java
│ │ ├── SelectorUtils.java
│ │ ├── SystemPropertyPrinter.java
│ │ └── VerifyMojo.java
├── mdo
│ └── invocation.mdo
└── resources
│ ├── invoker-report.properties
│ ├── invoker-report_de.properties
│ ├── invoker-report_en.properties
│ └── invoker-report_fr.properties
├── site
├── apt
│ ├── examples
│ │ ├── access-test-classes.apt.vm
│ │ ├── clone-projects.apt.vm
│ │ ├── fast-use.apt.vm
│ │ ├── filtering.apt.vm
│ │ ├── install-artifacts.apt.vm
│ │ ├── integration-test-verify.apt.vm
│ │ ├── invoker-properties.apt.vm
│ │ ├── logs-for-failed-tests.apt.vm
│ │ ├── parallel-projects-execution.apt.vm
│ │ ├── pre-post-build-script.apt.vm
│ │ ├── prepare-build-env.apt.vm
│ │ ├── selector-conditions.apt.vm
│ │ ├── selector-scripts.apt.vm
│ │ └── skipping.apt.vm
│ ├── groovy-version.apt.vm
│ ├── index.apt.vm
│ └── usage.apt.vm
├── fml
│ └── faq.fml
├── resources
│ └── download.cgi
├── site.xml
└── xdoc
│ └── download.xml.vm
└── test
├── java
└── org
│ └── apache
│ └── maven
│ └── plugins
│ └── invoker
│ ├── InterpolationTest.java
│ ├── InterpolatorUtilsTest.java
│ ├── InvokerMojoTest.java
│ ├── InvokerPropertiesTest.java
│ ├── InvokerSessionTest.java
│ ├── JobExecutorTest.java
│ ├── SelectorTest.java
│ ├── SelectorUtilsTest.java
│ └── TestUtil.java
└── resources
└── unit
├── dummy
└── pom.xml
├── interpolation
└── pom.xml
├── with-pom-project-dir
└── pom.xml
└── without-pom-project-dir
└── mark.txt
/.github/dependabot.yml:
--------------------------------------------------------------------------------
1 | #
2 | # Licensed to the Apache Software Foundation (ASF) under one or more
3 | # contributor license agreements. See the NOTICE file distributed with
4 | # this work for additional information regarding copyright ownership.
5 | # The ASF licenses this file to You under the Apache License, Version 2.0
6 | # (the "License"); you may not use this file except in compliance with
7 | # the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing, software
12 | # distributed under the License is distributed on an "AS IS" BASIS,
13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | # See the License for the specific language governing permissions and
15 | # limitations under the License.
16 | #
17 | version: 2
18 | updates:
19 | - package-ecosystem: maven
20 | directory: "/"
21 | schedule:
22 | interval: daily
23 | time: '04:00'
24 | ignore:
25 | # ignore Maven Core updates
26 | - dependency-name: "org.apache.maven:*"
27 | open-pull-requests-limit: 10
28 | - package-ecosystem: "github-actions"
29 | directory: "/"
30 | schedule:
31 | interval: "daily"
32 |
--------------------------------------------------------------------------------
/.github/release-drafter.yml:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 | _extends: maven-gh-actions-shared
19 |
--------------------------------------------------------------------------------
/.github/workflows/maven-verify.yml:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 | name: Verify
19 |
20 | on:
21 | push:
22 | pull_request:
23 |
24 | jobs:
25 | build:
26 | name: Verify
27 | uses: apache/maven-gh-actions-shared/.github/workflows/maven-verify.yml@v4
28 | with:
29 | verify-fail-fast: false
30 |
--------------------------------------------------------------------------------
/.github/workflows/pr-automation.yml:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 | name: PR Automation
19 | on:
20 | pull_request_target:
21 | types:
22 | - closed
23 |
24 | jobs:
25 | pr-automation:
26 | name: PR Automation
27 | uses: apache/maven-gh-actions-shared/.github/workflows/pr-automation.yml@v4
28 |
--------------------------------------------------------------------------------
/.github/workflows/release-drafter.yml:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 | name: Release Drafter
19 | on:
20 | push:
21 | branches:
22 | - master
23 | jobs:
24 | update_release_draft:
25 | uses: apache/maven-gh-actions-shared/.github/workflows/release-drafter.yml@v4
26 |
--------------------------------------------------------------------------------
/.github/workflows/stale.yml:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 | name: Stale
19 |
20 | on:
21 | schedule:
22 | - cron: '38 0 * * *'
23 | issue_comment:
24 | types: [ 'created' ]
25 |
26 | jobs:
27 | stale:
28 | uses: 'apache/maven-gh-actions-shared/.github/workflows/stale.yml@v4'
29 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | target/
2 | .project
3 | .classpath
4 | .settings/
5 | .svn/
6 | bin/
7 | # Intellij
8 | *.ipr
9 | *.iml
10 | .idea
11 | out/
12 | .DS_Store
13 | /bootstrap
14 | /dependencies.xml
15 | .java-version
16 | .checkstyle
--------------------------------------------------------------------------------
/Jenkinsfile:
--------------------------------------------------------------------------------
1 | /**
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing,
13 | * software distributed under the License is distributed on an
14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | * KIND, either express or implied. See the License for the
16 | * specific language governing permissions and limitations
17 | * under the License.
18 | */
19 |
20 | asfMavenTlpPlgnBuild()
21 |
--------------------------------------------------------------------------------
/src/config/checkstyle-suppressions.xml:
--------------------------------------------------------------------------------
1 |
2 |
20 |
23 |
24 |
25 |
26 |
--------------------------------------------------------------------------------
/src/it/MINVOKER-190-logDirectory/verify.groovy:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing,
13 | * software distributed under the License is distributed on an
14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | * KIND, either express or implied. See the License for the
16 | * specific language governing permissions and limitations
17 | * under the License.
18 | */
19 |
20 | assert !(new File(basedir,'target/it/module/build.log').exists())
21 | assert new File(basedir,'target/it-logs/module/build.log').exists()
22 |
--------------------------------------------------------------------------------
/src/it/MINVOKER-191/invoker.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 | invoker.goals = verify -T3
19 |
--------------------------------------------------------------------------------
/src/it/MINVOKER-191/module-a/src/main/java/org/apache/maven/plugins/foo/Hello.java:
--------------------------------------------------------------------------------
1 | package org.apache.maven.plugins.foo;
2 |
3 | /*
4 | * Licensed to the Apache Software Foundation (ASF) under one
5 | * or more contributor license agreements. See the NOTICE file
6 | * distributed with this work for additional information
7 | * regarding copyright ownership. The ASF licenses this file
8 | * to you under the Apache License, Version 2.0 (the
9 | * "License"); you may not use this file except in compliance
10 | * with the License. You may obtain a copy of the License at
11 | *
12 | * http://www.apache.org/licenses/LICENSE-2.0
13 | *
14 | * Unless required by applicable law or agreed to in writing,
15 | * software distributed under the License is distributed on an
16 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17 | * KIND, either express or implied. See the License for the
18 | * specific language governing permissions and limitations
19 | * under the License.
20 | */
21 |
22 | public class Hello {
23 |
24 | public static String sayHello(String who) throws Exception {
25 | return "Hello " + who;
26 | }
27 |
28 | }
--------------------------------------------------------------------------------
/src/it/MINVOKER-191/module-a/src/test/java/org/apache/maven/plugins/foo/HelloTest.java:
--------------------------------------------------------------------------------
1 | package org.apache.maven.plugins.foo;
2 |
3 | /*
4 | * Licensed to the Apache Software Foundation (ASF) under one
5 | * or more contributor license agreements. See the NOTICE file
6 | * distributed with this work for additional information
7 | * regarding copyright ownership. The ASF licenses this file
8 | * to you under the Apache License, Version 2.0 (the
9 | * "License"); you may not use this file except in compliance
10 | * with the License. You may obtain a copy of the License at
11 | *
12 | * http://www.apache.org/licenses/LICENSE-2.0
13 | *
14 | * Unless required by applicable law or agreed to in writing,
15 | * software distributed under the License is distributed on an
16 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17 | * KIND, either express or implied. See the License for the
18 | * specific language governing permissions and limitations
19 | * under the License.
20 | */
21 |
22 | import org.junit.Test;
23 |
24 | public class HelloTest {
25 |
26 | @Test
27 | public void say_hello_test() throws Exception {
28 | Hello.sayHello("foo");
29 | Thread.sleep(4000);
30 | }
31 |
32 | }
--------------------------------------------------------------------------------
/src/it/MINVOKER-191/module-b/src/main/java/org/apache/maven/plugins/foo/Hello.java:
--------------------------------------------------------------------------------
1 | package org.apache.maven.plugins.foo;
2 |
3 | /*
4 | * Licensed to the Apache Software Foundation (ASF) under one
5 | * or more contributor license agreements. See the NOTICE file
6 | * distributed with this work for additional information
7 | * regarding copyright ownership. The ASF licenses this file
8 | * to you under the Apache License, Version 2.0 (the
9 | * "License"); you may not use this file except in compliance
10 | * with the License. You may obtain a copy of the License at
11 | *
12 | * http://www.apache.org/licenses/LICENSE-2.0
13 | *
14 | * Unless required by applicable law or agreed to in writing,
15 | * software distributed under the License is distributed on an
16 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17 | * KIND, either express or implied. See the License for the
18 | * specific language governing permissions and limitations
19 | * under the License.
20 | */
21 |
22 | public class Hello {
23 |
24 | public static String sayHello(String who) throws Exception {
25 | return "Hello " + who;
26 | }
27 |
28 | }
--------------------------------------------------------------------------------
/src/it/MINVOKER-191/module-b/src/test/java/org/apache/maven/plugins/foo/HelloTest.java:
--------------------------------------------------------------------------------
1 | package org.apache.maven.plugins.foo;
2 |
3 | /*
4 | * Licensed to the Apache Software Foundation (ASF) under one
5 | * or more contributor license agreements. See the NOTICE file
6 | * distributed with this work for additional information
7 | * regarding copyright ownership. The ASF licenses this file
8 | * to you under the Apache License, Version 2.0 (the
9 | * "License"); you may not use this file except in compliance
10 | * with the License. You may obtain a copy of the License at
11 | *
12 | * http://www.apache.org/licenses/LICENSE-2.0
13 | *
14 | * Unless required by applicable law or agreed to in writing,
15 | * software distributed under the License is distributed on an
16 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17 | * KIND, either express or implied. See the License for the
18 | * specific language governing permissions and limitations
19 | * under the License.
20 | */
21 |
22 | import org.junit.Test;
23 |
24 | public class HelloTest {
25 |
26 | @Test
27 | public void say_hello_test() throws Exception {
28 | Hello.sayHello("foo");
29 | Thread.sleep(2000);
30 | }
31 |
32 | }
--------------------------------------------------------------------------------
/src/it/MINVOKER-196_junit_report_file/src/it/project_2/verify.groovy:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing,
13 | * software distributed under the License is distributed on an
14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | * KIND, either express or implied. See the License for the
16 | * specific language governing permissions and limitations
17 | * under the License.
18 | */
19 |
20 | assert new File( basedir, "../../../target/it-repo_not_here" ).canonicalFile.equals( localRepositoryPath )
21 |
--------------------------------------------------------------------------------
/src/it/MINVOKER-196_junit_report_file/src/it/settings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
21 |
22 |
23 |
24 |
25 | sandbox
26 | A completely isolated repo to test the interpolation of "localRepositoryUrl"
27 | @localRepositoryUrl@
28 | *
29 |
30 |
31 |
32 |
--------------------------------------------------------------------------------
/src/it/MINVOKER-243_install-reactor/invoker.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 | invoker.goals = verify
19 |
--------------------------------------------------------------------------------
/src/it/MINVOKER-288-failed-setup-run/invoker.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 | invoker.buildResult = failure
19 |
--------------------------------------------------------------------------------
/src/it/MINVOKER-288-failed-setup-verify/invoker.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 | invoker.buildResult = failure
19 |
--------------------------------------------------------------------------------
/src/it/MINVOKER-289/src/it/project/prebuild.bsh:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing,
13 | * software distributed under the License is distributed on an
14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | * KIND, either express or implied. See the License for the
16 | * specific language governing permissions and limitations
17 | * under the License.
18 | */
19 |
20 | import java.io.*;
21 |
22 | // marker for parent build that this sub build was indeed run
23 | File touchFile = new File( basedir, "touch.txt" );
24 | touchFile.createNewFile();
25 |
--------------------------------------------------------------------------------
/src/it/MINVOKER-294-mavenExacutable-in-properties/src/it/project/invoker.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 | invoker.mavenExecutable.1 = mvn1
19 | invoker.mavenExecutable.2 = mvn2
20 | invoker.mavenExecutable.3 = mvn
21 |
--------------------------------------------------------------------------------
/src/it/MINVOKER-294-mavenExacutable-in-properties/src/it/project/mvn1:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | # ----------------------------------------------------------------------------
3 | # Licensed to the Apache Software Foundation (ASF) under one
4 | # or more contributor license agreements. See the NOTICE file
5 | # distributed with this work for additional information
6 | # regarding copyright ownership. The ASF licenses this file
7 | # to you under the Apache License, Version 2.0 (the
8 | # "License"); you may not use this file except in compliance
9 | # with the License. You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing,
14 | # software distributed under the License is distributed on an
15 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 | # KIND, either express or implied. See the License for the
17 | # specific language governing permissions and limitations
18 | # under the License.
19 | # ----------------------------------------------------------------------------
20 |
21 | echo "maven 1 execute"
22 |
--------------------------------------------------------------------------------
/src/it/MINVOKER-294-mavenExacutable-in-properties/src/it/project/mvn1.cmd:
--------------------------------------------------------------------------------
1 | @REM ----------------------------------------------------------------------------
2 | @REM Licensed to the Apache Software Foundation (ASF) under one
3 | @REM or more contributor license agreements. See the NOTICE file
4 | @REM distributed with this work for additional information
5 | @REM regarding copyright ownership. The ASF licenses this file
6 | @REM to you under the Apache License, Version 2.0 (the
7 | @REM "License"); you may not use this file except in compliance
8 | @REM with the License. You may obtain a copy of the License at
9 | @REM
10 | @REM http://www.apache.org/licenses/LICENSE-2.0
11 | @REM
12 | @REM Unless required by applicable law or agreed to in writing,
13 | @REM software distributed under the License is distributed on an
14 | @REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | @REM KIND, either express or implied. See the License for the
16 | @REM specific language governing permissions and limitations
17 | @REM under the License.
18 | @REM ----------------------------------------------------------------------------
19 | @ECHO off
20 |
21 | echo maven 1 execute
22 |
--------------------------------------------------------------------------------
/src/it/MINVOKER-294-mavenExacutable-in-properties/src/it/project/mvn2:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | # ----------------------------------------------------------------------------
3 | # Licensed to the Apache Software Foundation (ASF) under one
4 | # or more contributor license agreements. See the NOTICE file
5 | # distributed with this work for additional information
6 | # regarding copyright ownership. The ASF licenses this file
7 | # to you under the Apache License, Version 2.0 (the
8 | # "License"); you may not use this file except in compliance
9 | # with the License. You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing,
14 | # software distributed under the License is distributed on an
15 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 | # KIND, either express or implied. See the License for the
17 | # specific language governing permissions and limitations
18 | # under the License.
19 | # ----------------------------------------------------------------------------
20 |
21 | echo "maven 2 execute"
22 |
--------------------------------------------------------------------------------
/src/it/MINVOKER-294-mavenExacutable-in-properties/src/it/project/mvn2.cmd:
--------------------------------------------------------------------------------
1 | @REM ----------------------------------------------------------------------------
2 | @REM Licensed to the Apache Software Foundation (ASF) under one
3 | @REM or more contributor license agreements. See the NOTICE file
4 | @REM distributed with this work for additional information
5 | @REM regarding copyright ownership. The ASF licenses this file
6 | @REM to you under the Apache License, Version 2.0 (the
7 | @REM "License"); you may not use this file except in compliance
8 | @REM with the License. You may obtain a copy of the License at
9 | @REM
10 | @REM http://www.apache.org/licenses/LICENSE-2.0
11 | @REM
12 | @REM Unless required by applicable law or agreed to in writing,
13 | @REM software distributed under the License is distributed on an
14 | @REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | @REM KIND, either express or implied. See the License for the
16 | @REM specific language governing permissions and limitations
17 | @REM under the License.
18 | @REM ----------------------------------------------------------------------------
19 | @ECHO off
20 |
21 | echo maven 2 execute
22 |
--------------------------------------------------------------------------------
/src/it/MINVOKER-294-mavenExacutable-in-properties/src/it/project/postbuild.groovy:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing,
13 | * software distributed under the License is distributed on an
14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | * KIND, either express or implied. See the License for the
16 | * specific language governing permissions and limitations
17 | * under the License.
18 | */
19 |
20 | def buildLog = new File( basedir, "build.log" ).text
21 |
22 | assert buildLog.contains( "maven 1 execute" )
23 | assert buildLog.contains( "maven 2 execute" )
24 | assert buildLog.contains( "[INFO] BUILD SUCCESS" )
25 |
--------------------------------------------------------------------------------
/src/it/MINVOKER-294-mavenExacutable-in-properties/src/it/project/prebuild.groovy:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing,
13 | * software distributed under the License is distributed on an
14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | * KIND, either express or implied. See the License for the
16 | * specific language governing permissions and limitations
17 | * under the License.
18 | */
19 |
20 | // workaround for executable flags, eg during build from source-release.zip
21 | new File( basedir, "mvn1" ).setExecutable( true )
22 | new File( basedir, "mvn2" ).setExecutable( true )
23 |
--------------------------------------------------------------------------------
/src/it/MINVOKER-328_install-default/invoker.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 | invoker.goals = verify
19 |
--------------------------------------------------------------------------------
/src/it/MINVOKER-328_install-default/verify.groovy:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing,
13 | * software distributed under the License is distributed on an
14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | * KIND, either express or implied. See the License for the
16 | * specific language governing permissions and limitations
17 | * under the License.
18 | */
19 | File buildLog = new File(basedir, 'build.log')
20 | assert buildLog.text.contains('[DEBUG] Skip install the same target')
--------------------------------------------------------------------------------
/src/it/MINVOKER-335-symlinks-in-source/invoker.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 | # NOTE: Don't clean here to be able to detect test failures
19 | invoker.goals = initialize
20 |
--------------------------------------------------------------------------------
/src/it/MINVOKER-335-symlinks-in-source/verify.groovy:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing,
13 | * software distributed under the License is distributed on an
14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | * KIND, either express or implied. See the License for the
16 | * specific language governing permissions and limitations
17 | * under the License.
18 | */
19 |
20 | import java.nio.file.Files
21 | import java.nio.file.Paths
22 |
23 | def projectPath = new File(basedir, 'target/it/clone-symlinks').toPath()
24 |
25 | assert Files.readSymbolicLink(projectPath.resolve('testDirLink')) == Paths.get('testDir')
26 | assert Files.readSymbolicLink(projectPath.resolve('testLink.txt')) == Paths.get('test.txt')
27 |
--------------------------------------------------------------------------------
/src/it/MINVOKER-351/invoker.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 | invoker.goals.1 = initialize
19 | invoker.buildResult.1 = failure
20 |
21 | invoker.goals.2 = site
22 |
--------------------------------------------------------------------------------
/src/it/MINVOKER-351/src/it/minvoker-351/postbuild.groovy:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing,
13 | * software distributed under the License is distributed on an
14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | * KIND, either express or implied. See the License for the
16 | * specific language governing permissions and limitations
17 | * under the License.
18 | */
19 |
20 | throw new Exception("Special chars \tcharName=" + Character.getName(7) + ": " + (char) 7)
21 |
--------------------------------------------------------------------------------
/src/it/MINVOKER-351/verify.groovy:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing,
13 | * software distributed under the License is distributed on an
14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | * KIND, either express or implied. See the License for the
16 | * specific language governing permissions and limitations
17 | * under the License.
18 | */
19 |
20 | // we have a special chars in build.log
21 | def buildLog = new File(basedir, 'target/it/minvoker-351/build.log').text
22 | buildLog.contains('Special chars \tcharName=BEL: \u0007')
23 |
24 | def surefireReport = new File(basedir, 'target/site/surefire.html').text
25 | assert surefireReport.contains('maven.invoker.it.minvoker-351')
26 |
--------------------------------------------------------------------------------
/src/it/MINVOKER-365-user-poperties-from-pre-build/src/it/project/postbuild.groovy:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing,
13 | * software distributed under the License is distributed on an
14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | * KIND, either express or implied. See the License for the
16 | * specific language governing permissions and limitations
17 | * under the License.
18 | */
19 |
20 | def logs = new File(basedir, 'build.log').text
21 |
22 | assert logs.contains('[INFO] Clean is skipped.')
23 |
--------------------------------------------------------------------------------
/src/it/MINVOKER-365-user-poperties-from-pre-build/src/it/project/prebuild.groovy:
--------------------------------------------------------------------------------
1 | import java.nio.file.Files
2 |
3 | /*
4 | * Licensed to the Apache Software Foundation (ASF) under one
5 | * or more contributor license agreements. See the NOTICE file
6 | * distributed with this work for additional information
7 | * regarding copyright ownership. The ASF licenses this file
8 | * to you under the Apache License, Version 2.0 (the
9 | * "License"); you may not use this file except in compliance
10 | * with the License. You may obtain a copy of the License at
11 | *
12 | * http://www.apache.org/licenses/LICENSE-2.0
13 | *
14 | * Unless required by applicable law or agreed to in writing,
15 | * software distributed under the License is distributed on an
16 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17 | * KIND, either express or implied. See the License for the
18 | * specific language governing permissions and limitations
19 | * under the License.
20 | */
21 |
22 | def userProperties = context.get('userProperties')
23 |
24 | def testFilePath = Files.createTempFile('minvoker-365-prefix', 'suffix')
25 | userProperties.put('testFile', testFilePath.toString())
26 | userProperties.put('maven.clean.skip', 'true')
27 |
--------------------------------------------------------------------------------
/src/it/clone-clean/invoker.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 | # NOTE: Don't clean here to be able to detect test failures
19 | invoker.goals = initialize
20 |
--------------------------------------------------------------------------------
/src/it/clone-clean/setup.groovy:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing,
13 | * software distributed under the License is distributed on an
14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | * KIND, either express or implied. See the License for the
16 | * specific language governing permissions and limitations
17 | * under the License.
18 | */
19 |
20 | File itRoot = new File(basedir, "target/it/clone-clean")
21 | itRoot.mkdirs()
22 | assert new File(itRoot, "foobar.log").createNewFile()
23 |
24 | assert !new File(basedir, 'src/it/clone-clean/.mvn').exists()
25 |
26 |
--------------------------------------------------------------------------------
/src/it/clone-clean/verify.groovy:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing,
13 | * software distributed under the License is distributed on an
14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | * KIND, either express or implied. See the License for the
16 | * specific language governing permissions and limitations
17 | * under the License.
18 | */
19 |
20 |
21 | File itRoot = new File(basedir, "target/it/clone-clean")
22 | assert !new File(itRoot, "foobar.log").exists()
23 | // .mnv will be created
24 | assert new File(itRoot, ".mvn").isDirectory()
25 |
--------------------------------------------------------------------------------
/src/it/clone-maven-plugin-packaging/invoker.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 | # NOTE: Don't clean here to be able to detect test failures
19 | invoker.goals = initialize
20 |
--------------------------------------------------------------------------------
/src/it/clone-maven-plugin-packaging/verify.bsh:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing,
13 | * software distributed under the License is distributed on an
14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | * KIND, either express or implied. See the License for the
16 | * specific language governing permissions and limitations
17 | * under the License.
18 | */
19 |
20 | import java.io.*;
21 |
22 | try
23 | {
24 | File itRoot = new File( basedir, "target/it/clone-clean" );
25 | return itRoot.exists();
26 | }
27 | catch( Throwable t )
28 | {
29 | t.printStackTrace();
30 | return false;
31 | }
32 |
--------------------------------------------------------------------------------
/src/it/exec-timeout-invoker-level/invoker.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 | invoker.goals = verify
19 | invoker.buildResult = failure
20 |
--------------------------------------------------------------------------------
/src/it/exec-timeout-invoker-level/src/it/basic/invoker.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 | invoker.timeoutInSeconds = 2
18 |
--------------------------------------------------------------------------------
/src/it/exec-timeout-invoker-level/verify.groovy:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing,
13 | * software distributed under the License is distributed on an
14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | * KIND, either express or implied. See the License for the
16 | * specific language governing permissions and limitations
17 | * under the License.
18 | */
19 | def buildLog = new File( basedir, 'target/it/basic/build.log' )
20 |
21 | assert !buildLog.text.contains('Total time: ')
22 | assert !buildLog.text.contains('Finished at: ')
--------------------------------------------------------------------------------
/src/it/exec-timeout-mojo-level/invoker.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 | invoker.goals = verify
19 | invoker.buildResult = failure
20 |
--------------------------------------------------------------------------------
/src/it/exec-timeout-mojo-level/verify.groovy:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing,
13 | * software distributed under the License is distributed on an
14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | * KIND, either express or implied. See the License for the
16 | * specific language governing permissions and limitations
17 | * under the License.
18 | */
19 | def buildLog = new File( basedir, 'target/it/basic/build.log' )
20 |
21 | assert !buildLog.text.contains('Total time: ')
22 | assert !buildLog.text.contains('Finished at: ')
--------------------------------------------------------------------------------
/src/it/fail-build-streamLogsOnFailures/invoker.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 | invoker.buildResult = failure
19 |
--------------------------------------------------------------------------------
/src/it/fail-build-with-verify-streamLogsOnFailures/invoker.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 | invoker.buildResult = failure
19 |
--------------------------------------------------------------------------------
/src/it/fail-build-with-verify/invoker.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 | invoker.buildResult = failure
19 |
--------------------------------------------------------------------------------
/src/it/fail-build-with-verify/src/it/project/prebuild.bsh:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing,
13 | * software distributed under the License is distributed on an
14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | * KIND, either express or implied. See the License for the
16 | * specific language governing permissions and limitations
17 | * under the License.
18 | */
19 |
20 | import java.io.*;
21 |
22 | // marker for parent build that this sub build was indeed run
23 | File touchFile = new File( basedir, "touch.txt" );
24 | touchFile.createNewFile();
25 |
--------------------------------------------------------------------------------
/src/it/fail-build/invoker.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 | invoker.buildResult = failure
19 |
--------------------------------------------------------------------------------
/src/it/fail-build/src/it/project/prebuild.bsh:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing,
13 | * software distributed under the License is distributed on an
14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | * KIND, either express or implied. See the License for the
16 | * specific language governing permissions and limitations
17 | * under the License.
18 | */
19 |
20 | import java.io.*;
21 |
22 | // marker for parent build that this sub build was indeed run
23 | File touchFile = new File( basedir, "touch.txt" );
24 | touchFile.createNewFile();
25 |
--------------------------------------------------------------------------------
/src/it/fail-noprojects_run/invoker.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 | invoker.buildResult = failure
19 |
--------------------------------------------------------------------------------
/src/it/fail-noprojects_verify/invoker.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 | invoker.buildResult = failure
19 |
--------------------------------------------------------------------------------
/src/it/fail-postbuild/invoker.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 | invoker.buildResult = failure
19 |
--------------------------------------------------------------------------------
/src/it/fail-postbuild/src/it/project/postbuild.bsh:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing,
13 | * software distributed under the License is distributed on an
14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | * KIND, either express or implied. See the License for the
16 | * specific language governing permissions and limitations
17 | * under the License.
18 | */
19 |
20 | return false;
21 |
--------------------------------------------------------------------------------
/src/it/fail-postbuild/src/it/project/prebuild.bsh:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing,
13 | * software distributed under the License is distributed on an
14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | * KIND, either express or implied. See the License for the
16 | * specific language governing permissions and limitations
17 | * under the License.
18 | */
19 |
20 | import java.io.*;
21 |
22 | // marker for parent build that this sub build was indeed run
23 | File touchFile = new File( basedir, "touch.txt" );
24 | touchFile.createNewFile();
25 |
--------------------------------------------------------------------------------
/src/it/fail-prebuild/invoker.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 | invoker.buildResult = failure
19 |
--------------------------------------------------------------------------------
/src/it/fail-prebuild/src/it/project/prebuild.bsh:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing,
13 | * software distributed under the License is distributed on an
14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | * KIND, either express or implied. See the License for the
16 | * specific language governing permissions and limitations
17 | * under the License.
18 | */
19 |
20 | import java.io.*;
21 |
22 | // marker for parent build that this sub build was indeed run
23 | File touchFile = new File( basedir, "touch.txt" );
24 | touchFile.createNewFile();
25 |
26 | return false;
27 |
--------------------------------------------------------------------------------
/src/it/fail-run-postbuild/invoker.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 | invoker.buildResult = failure
--------------------------------------------------------------------------------
/src/it/fail-run-postbuild/src/it/project/postbuild.bsh:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing,
13 | * software distributed under the License is distributed on an
14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | * KIND, either express or implied. See the License for the
16 | * specific language governing permissions and limitations
17 | * under the License.
18 | */
19 |
20 | import java.io.*;
21 |
22 | // marker for parent build that this sub build was indeed run
23 | File touchFile = new File( basedir, "touch.txt" );
24 | touchFile.createNewFile();
25 |
--------------------------------------------------------------------------------
/src/it/fail-run-postbuild/src/it/project/src/main/java/Foo.java:
--------------------------------------------------------------------------------
1 | package org.apache.maven.plugins.invoker;
2 |
3 | /*
4 | * Licensed to the Apache Software Foundation (ASF) under one
5 | * or more contributor license agreements. See the NOTICE file
6 | * distributed with this work for additional information
7 | * regarding copyright ownership. The ASF licenses this file
8 | * to you under the Apache License, Version 2.0 (the
9 | * "License"); you may not use this file except in compliance
10 | * with the License. You may obtain a copy of the License at
11 | *
12 | * http://www.apache.org/licenses/LICENSE-2.0
13 | *
14 | * Unless required by applicable law or agreed to in writing,
15 | * software distributed under the License is distributed on an
16 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17 | * KIND, either express or implied. See the License for the
18 | * specific language governing permissions and limitations
19 | * under the License.
20 | */
21 |
22 |
23 |
24 | Foo beer Maven rocks
--------------------------------------------------------------------------------
/src/it/filtering-extensions/src/it/project/pom.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
21 |
22 |
23 | 4.0.0
24 | test
25 | pom-filtering
26 | 0.1-SNAPSHOT
27 | jar
28 |
29 |
--------------------------------------------------------------------------------
/src/it/integration-test-never-fails/src/it/project/prebuild.bsh:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing,
13 | * software distributed under the License is distributed on an
14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | * KIND, either express or implied. See the License for the
16 | * specific language governing permissions and limitations
17 | * under the License.
18 | */
19 |
20 | import java.io.*;
21 |
22 | // marker for parent build that this sub build was indeed run
23 | File touchFile = new File( basedir, "touch.txt" );
24 | touchFile.createNewFile();
25 |
--------------------------------------------------------------------------------
/src/it/invocation-cmdline-exclude/test.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 | invoker.test = !*-ignorable
19 |
--------------------------------------------------------------------------------
/src/it/invocation-cmdline-exclude/verify.groovy:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing,
13 | * software distributed under the License is distributed on an
14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | * KIND, either express or implied. See the License for the
16 | * specific language governing permissions and limitations
17 | * under the License.
18 | */
19 | assert new File(basedir, 'target/invoker-reports-test/BUILD-minvoker-140-executable.xml').exists()
20 | assert !new File(basedir, 'target/invoker-reports-test/BUILD-minvoker-140-ignorable.xml').exists()
21 |
22 |
--------------------------------------------------------------------------------
/src/it/invocation-debug/src/it/minvoker-142/invoker.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 | invoker.debug = true
19 |
--------------------------------------------------------------------------------
/src/it/invocation-debug/src/it/minvoker-142/verify.groovy:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing,
13 | * software distributed under the License is distributed on an
14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | * KIND, either express or implied. See the License for the
16 | * specific language governing permissions and limitations
17 | * under the License.
18 | */
19 | File buildLog = new File( basedir, 'build.log' )
20 | assert buildLog.text.contains( '[INFO] Rule 0: org.apache.maven.enforcer.rules.AlwaysPass passed' )
--------------------------------------------------------------------------------
/src/it/invocation-environmentvariable/invoker.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 | invoker.environmentVariables.MINVOKER273_PROPERTIES1 = minvoker273_properties1
19 | invoker.environmentVariables.MINVOKER273_PROPERTIES2 = minvoker273_properties2
20 |
--------------------------------------------------------------------------------
/src/it/invocation-environmentvariable/src/it/minvoker-145/verify.groovy:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing,
13 | * software distributed under the License is distributed on an
14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | * KIND, either express or implied. See the License for the
16 | * specific language governing permissions and limitations
17 | * under the License.
18 | */
19 | def buildLog = new File( basedir, 'build.log' )
20 |
21 | // on this level we try find some substring,
22 | // if not found it will be logged and cause parent verify script to find required text
23 | assert buildLog.text.contains('] BUILD SUCCESS')
24 |
25 |
--------------------------------------------------------------------------------
/src/it/invocation-environmentvariable/src/it/minvoker-255/invoker.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 | invoker.name = Test Environment variable
19 |
20 | # override value from plugin config
21 | invoker.environmentVariables.MINVOKER145 = minvoker_145
22 |
23 | # add next value
24 | invoker.environmentVariables.MINVOKER255_PROPERTIES = minvoker255_properties
25 |
--------------------------------------------------------------------------------
/src/it/invocation-environmentvariable/src/it/minvoker-255/verify.groovy:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing,
13 | * software distributed under the License is distributed on an
14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | * KIND, either express or implied. See the License for the
16 | * specific language governing permissions and limitations
17 | * under the License.
18 | */
19 | def buildLog = new File( basedir, 'build.log' )
20 |
21 | // on this level we try find some substring,
22 | // if not found it will be logged and cause parent verify script to find required text
23 | assert buildLog.text.contains('] BUILD SUCCESS')
24 |
25 |
--------------------------------------------------------------------------------
/src/it/invocation-group-properties/src/it/projects/group-1/invoker.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 | invoker.buildResult = failure
--------------------------------------------------------------------------------
/src/it/invocation-group-properties/src/it/projects/group-1/sub-1/invoker.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 | invoker.goals = validate
19 | invoker.buildResult = success
--------------------------------------------------------------------------------
/src/it/invocation-group-properties/src/it/projects/group-2/sub-1/invoker.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 | invoker.buildResult = failure
--------------------------------------------------------------------------------
/src/it/invocation-group-properties/src/it/projects/invoker.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 | invoker.goals = initialize
--------------------------------------------------------------------------------
/src/it/invocation-group-properties/verify.groovy:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing,
13 | * software distributed under the License is distributed on an
14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | * KIND, either express or implied. See the License for the
16 | * specific language governing permissions and limitations
17 | * under the License.
18 | */
19 |
20 | return true
--------------------------------------------------------------------------------
/src/it/invocation-multiple/src/it/project/user.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 | maven.invoker.test = UTF-8
19 |
--------------------------------------------------------------------------------
/src/it/invocation-multiple/src/it/project/user3.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 | maven.invoker.test = ISO-8859-1
19 |
--------------------------------------------------------------------------------
/src/it/invocation-offline/src/it/project/invoker.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 | # First run if offline mode which should fail to download the Clean Plugin
19 | invoker.goals.1 = clean
20 | invoker.offline.1 = true
21 | invoker.buildResult.1 = failure
22 |
23 | # Now again in online mode
24 | invoker.goals.2 = clean
25 |
--------------------------------------------------------------------------------
/src/it/invocation-project/src/it/project/invoker.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 | # path to POM
19 | invoker.project.1 = sub-1/pom.xml
20 |
21 | # path to base directory
22 | invoker.project.2 = sub-3
23 |
--------------------------------------------------------------------------------
/src/it/invocation-project/src/it/project/sub-1/pom.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
21 |
22 |
23 | 4.0.0
24 |
25 | test
26 | sub-1
27 | 0.1-SNAPSHOT
28 | jar
29 |
30 |
--------------------------------------------------------------------------------
/src/it/invocation-project/src/it/project/sub-2/pom.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
21 |
22 |
23 | 4.0.0
24 |
25 | test
26 | sub-2
27 | 0.1-SNAPSHOT
28 | jar
29 |
30 |
--------------------------------------------------------------------------------
/src/it/invocation-project/src/it/project/sub-3/pom.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
21 |
22 |
23 | 4.0.0
24 |
25 | test
26 | sub-3
27 | 0.1-SNAPSHOT
28 | jar
29 |
30 |
--------------------------------------------------------------------------------
/src/it/invocation-reactor-indirect/invoker.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 | invoker.goals = verify
19 |
--------------------------------------------------------------------------------
/src/it/invocation-spaces/src/it projects/project/src/main/resources/test.txt:
--------------------------------------------------------------------------------
1 | ${propertyFromSettings}
2 | ${propertyFromCommandLine}
3 |
--------------------------------------------------------------------------------
/src/it/invoker-report/invoker.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 | invoker.goals = integration-test site
19 |
--------------------------------------------------------------------------------
/src/it/invoker-report/src/it/failure-post/invoker.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 | invoker.description = A build job without name.
19 |
--------------------------------------------------------------------------------
/src/it/invoker-report/src/it/failure-post/verify.bsh:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing,
13 | * software distributed under the License is distributed on an
14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | * KIND, either express or implied. See the License for the
16 | * specific language governing permissions and limitations
17 | * under the License.
18 | */
19 |
20 | throw new IllegalStateException( "The post-build script failed as expected." );
21 |
22 |
--------------------------------------------------------------------------------
/src/it/invoker-report/src/it/failure-pre/invoker.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 | invoker.name = No Description
19 |
--------------------------------------------------------------------------------
/src/it/invoker-report/src/it/failure-pre/setup.bsh:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing,
13 | * software distributed under the License is distributed on an
14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | * KIND, either express or implied. See the License for the
16 | * specific language governing permissions and limitations
17 | * under the License.
18 | */
19 |
20 | throw new IllegalStateException( "The pre-build script failed as expected." );
21 |
22 |
--------------------------------------------------------------------------------
/src/it/invoker-report/src/it/skip-jre/invoker.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 | invoker.description = A build job skipped due to JRE version.
19 | invoker.java.version = 1.0
20 |
--------------------------------------------------------------------------------
/src/it/invoker-report/src/it/skip-maven/invoker.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 | invoker.description = A build job skipped due to Maven version.
19 | invoker.maven.version = 2.1.5
20 |
--------------------------------------------------------------------------------
/src/it/invoker-report/src/it/skip-os/invoker.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 | invoker.description = A build job skipped due to Operation System.
19 | invoker.os.family = ties
20 |
--------------------------------------------------------------------------------
/src/it/invoker-report/src/it/success/invoker.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 | invoker.name = Success
19 | invoker.description = A build job that should succeed.
20 |
--------------------------------------------------------------------------------
/src/it/local-repo-path/src/it/settings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
21 |
22 |
23 |
24 |
25 | sandbox
26 | A completely isolated repo to test the interpolation of "localRepository"
27 | file://@localRepository@
28 | *
29 |
30 |
31 |
32 |
--------------------------------------------------------------------------------
/src/it/local-repo-path/verify.bsh:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing,
13 | * software distributed under the License is distributed on an
14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | * KIND, either express or implied. See the License for the
16 | * specific language governing permissions and limitations
17 | * under the License.
18 | */
19 |
20 | import java.io.*;
21 | import java.util.*;
22 | import java.util.regex.*;
23 |
24 | // sanity check to make sure the builds were actually run
25 | File repoDir = new File( basedir, "target/it-repo" );
26 | System.out.println( "Checking for existence of test repo: " + repoDir );
27 | if ( !repoDir.exists() )
28 | {
29 | throw new FileNotFoundException( "Missing repository directory: " + repoDir );
30 | }
31 |
32 | return true;
33 |
--------------------------------------------------------------------------------
/src/it/local-repo-url/src/it/settings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
21 |
22 |
23 |
24 |
25 | sandbox
26 | A completely isolated repo to test the interpolation of "localRepositoryUrl"
27 | @localRepositoryUrl@
28 | *
29 |
30 |
31 |
32 |
--------------------------------------------------------------------------------
/src/it/local-repo-url/verify.groovy:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing,
13 | * software distributed under the License is distributed on an
14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | * KIND, either express or implied. See the License for the
16 | * specific language governing permissions and limitations
17 | * under the License.
18 | */
19 | File buildLog = new File( basedir, 'build.log' )
20 | assert buildLog.text.contains( '[INFO] run post-build script postbuild.groovy' )
--------------------------------------------------------------------------------
/src/it/not-clone-not-plugin/invoker.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 | # NOTE: Don't clean here to be able to detect test failures
19 | invoker.goals = initialize
20 |
--------------------------------------------------------------------------------
/src/it/not-clone-not-plugin/verify.bsh:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing,
13 | * software distributed under the License is distributed on an
14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | * KIND, either express or implied. See the License for the
16 | * specific language governing permissions and limitations
17 | * under the License.
18 | */
19 |
20 | import java.io.*;
21 |
22 | try
23 | {
24 | File itRoot = new File( basedir, "target/it/clone-clean" );
25 | return !itRoot.exists();
26 | }
27 | catch( Throwable t )
28 | {
29 | t.printStackTrace();
30 | return false;
31 | }
32 |
--------------------------------------------------------------------------------
/src/it/pom-filtering-encoding/src/it/latin-1/pom.xml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/maven-invoker-plugin/6e3c6c941b84b9165c733bb8ee5393909afc51f3/src/it/pom-filtering-encoding/src/it/latin-1/pom.xml
--------------------------------------------------------------------------------
/src/it/pom-less-invocation/src/it/no-pom/workaround.txt:
--------------------------------------------------------------------------------
1 | This file ensures the directory is cloned, to be deleted once MINVOKER-48 is released.
2 |
--------------------------------------------------------------------------------
/src/it/postbuild-executed-only-once/src/it/project/invoker.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 | invoker.goals.1 = test
19 | invoker.goals.2 = test
20 | invoker.systemPropertiesFile.2 = system2.properties
21 |
--------------------------------------------------------------------------------
/src/it/postbuild-executed-only-once/src/it/project/system2.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 | create_touch_file = true
19 |
--------------------------------------------------------------------------------
/src/it/postbuild-executed-only-once/verify.groovy:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing,
13 | * software distributed under the License is distributed on an
14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | * KIND, either express or implied. See the License for the
16 | * specific language governing permissions and limitations
17 | * under the License.
18 | */
19 |
20 | // make sure the Invoker Plugin was indeed run and the build didn't fail somewhere else
21 | def touchFile = new File(basedir, 'target/it/project/target/touch.txt')
22 | assert touchFile.exists()
23 |
24 | def logs = new File(basedir, 'build.log').text
25 | assert logs.contains('[WARNING] property invoker.systemPropertiesFile is deprecated - please use invoker.userPropertiesFile')
26 |
--------------------------------------------------------------------------------
/src/it/project-cloning-reactor/verify.bsh:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing,
13 | * software distributed under the License is distributed on an
14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | * KIND, either express or implied. See the License for the
16 | * specific language governing permissions and limitations
17 | * under the License.
18 | */
19 |
20 | import java.io.*;
21 | import java.util.*;
22 | import java.util.regex.*;
23 |
24 | // sanity check to make sure the builds were actually run
25 | File itDir = new File( basedir, "target/it" );
26 | System.out.println( "Checking for existence of clones: " + itDir );
27 | if ( !itDir.exists() )
28 | {
29 | throw new FileNotFoundException( "Missing IT directory: " + itDir );
30 | }
31 |
32 | return true;
33 |
--------------------------------------------------------------------------------
/src/it/project-cloning/setup.bsh:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing,
13 | * software distributed under the License is distributed on an
14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | * KIND, either express or implied. See the License for the
16 | * specific language governing permissions and limitations
17 | * under the License.
18 | */
19 |
20 | import java.io.*;
21 | import java.util.*;
22 | import java.util.regex.*;
23 |
24 | try
25 | {
26 | File emptyDir = new File( basedir, "src/it/module-1/empty-dir" );
27 | emptyDir.mkdirs();
28 | }
29 | catch( Throwable t )
30 | {
31 | t.printStackTrace();
32 | return false;
33 | }
34 |
35 | return true;
36 |
--------------------------------------------------------------------------------
/src/it/project-setup/src/it/project1/invoker.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 | invoker.name = Foo
19 | invoker.description = good foo
20 |
--------------------------------------------------------------------------------
/src/it/project-setup/src/it/project3/invoker.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 | invoker.ordinal=100
19 |
--------------------------------------------------------------------------------
/src/it/project-setup/src/it/project6/invoker.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 | invoker.ordinal=2
19 |
--------------------------------------------------------------------------------
/src/it/script-accessibility/invoker.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 | invoker.goals = compile
19 |
--------------------------------------------------------------------------------
/src/it/script-accessibility/src/it/beanshell/verify.bsh:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing,
13 | * software distributed under the License is distributed on an
14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | * KIND, either express or implied. See the License for the
16 | * specific language governing permissions and limitations
17 | * under the License.
18 | */
19 |
20 | import org.MyClass;
21 |
22 | System.out.println( MyClass.PUBLIC );
23 | System.out.println( MyClass.PROTECTED );
24 | System.out.println( MyClass.PACKAGE );
25 | System.out.println( MyClass.PRIVATE );
26 |
--------------------------------------------------------------------------------
/src/it/script-accessibility/src/it/groovy/verify.groovy:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing,
13 | * software distributed under the License is distributed on an
14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | * KIND, either express or implied. See the License for the
16 | * specific language governing permissions and limitations
17 | * under the License.
18 | */
19 |
20 | import org.MyClass;
21 |
22 | println MyClass.PUBLIC
23 | println MyClass.PROTECTED
24 | println MyClass.PACKAGE
25 | println MyClass.PRIVATE
26 |
--------------------------------------------------------------------------------
/src/it/script-accessibility/src/main/java/org/MyClass.java:
--------------------------------------------------------------------------------
1 | package org;
2 |
3 | /*
4 | * Licensed to the Apache Software Foundation (ASF) under one
5 | * or more contributor license agreements. See the NOTICE file
6 | * distributed with this work for additional information
7 | * regarding copyright ownership. The ASF licenses this file
8 | * to you under the Apache License, Version 2.0 (the
9 | * "License"); you may not use this file except in compliance
10 | * with the License. You may obtain a copy of the License at
11 | *
12 | * http://www.apache.org/licenses/LICENSE-2.0
13 | *
14 | * Unless required by applicable law or agreed to in writing,
15 | * software distributed under the License is distributed on an
16 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17 | * KIND, either express or implied. See the License for the
18 | * specific language governing permissions and limitations
19 | * under the License.
20 | */
21 |
22 |
23 | public class MyClass
24 | {
25 |
26 | public static final String PUBLIC = "public";
27 |
28 | protected static final String PROTECTED = "protected";
29 |
30 | static final String PACKAGE = "package";
31 |
32 | private static final String PRIVATE = "private";
33 |
34 | }
35 |
--------------------------------------------------------------------------------
/src/it/script-class-loading/invoker.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 | invoker.goals = test-compile
19 |
--------------------------------------------------------------------------------
/src/it/script-class-loading/src/test/java/org/MyUtils.java:
--------------------------------------------------------------------------------
1 | package org;
2 |
3 | /*
4 | * Licensed to the Apache Software Foundation (ASF) under one
5 | * or more contributor license agreements. See the NOTICE file
6 | * distributed with this work for additional information
7 | * regarding copyright ownership. The ASF licenses this file
8 | * to you under the Apache License, Version 2.0 (the
9 | * "License"); you may not use this file except in compliance
10 | * with the License. You may obtain a copy of the License at
11 | *
12 | * http://www.apache.org/licenses/LICENSE-2.0
13 | *
14 | * Unless required by applicable law or agreed to in writing,
15 | * software distributed under the License is distributed on an
16 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17 | * KIND, either express or implied. See the License for the
18 | * specific language governing permissions and limitations
19 | * under the License.
20 | */
21 |
22 |
23 | public class MyUtils
24 | {
25 |
26 | public static String getNothing()
27 | {
28 | return "nothing";
29 | }
30 |
31 | }
32 |
--------------------------------------------------------------------------------
/src/it/script-context/src/it/beanshell/setup.bsh:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing,
13 | * software distributed under the License is distributed on an
14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | * KIND, either express or implied. See the License for the
16 | * specific language governing permissions and limitations
17 | * under the License.
18 | */
19 |
20 | import java.io.*;
21 | import java.util.*;
22 | import java.util.regex.*;
23 |
24 | context.put( "touchFile", new File( basedir, "touch.txt" ) );
25 |
26 | System.out.println( context );
27 |
--------------------------------------------------------------------------------
/src/it/script-context/src/it/beanshell/verify.bsh:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing,
13 | * software distributed under the License is distributed on an
14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | * KIND, either express or implied. See the License for the
16 | * specific language governing permissions and limitations
17 | * under the License.
18 | */
19 |
20 | import java.io.*;
21 | import java.util.*;
22 | import java.util.regex.*;
23 |
24 | System.out.println( context );
25 |
26 | File touchFile = context.get( "touchFile" );
27 | touchFile.createNewFile();
28 |
29 | return true;
30 |
--------------------------------------------------------------------------------
/src/it/script-context/src/it/groovy/setup.groovy:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing,
13 | * software distributed under the License is distributed on an
14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | * KIND, either express or implied. See the License for the
16 | * specific language governing permissions and limitations
17 | * under the License.
18 | */
19 |
20 | import java.io.*
21 | import java.util.*
22 | import java.util.regex.*
23 |
24 | context.put( "touchFile", new File( basedir, "touch.txt" ) )
25 |
26 | println context
27 |
--------------------------------------------------------------------------------
/src/it/script-context/src/it/groovy/verify.groovy:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing,
13 | * software distributed under the License is distributed on an
14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | * KIND, either express or implied. See the License for the
16 | * specific language governing permissions and limitations
17 | * under the License.
18 | */
19 |
20 | import java.io.*
21 | import java.util.*
22 | import java.util.regex.*
23 |
24 | println context
25 |
26 | File touchFile = context.get( "touchFile" )
27 | touchFile.createNewFile()
28 |
29 | return true
30 |
--------------------------------------------------------------------------------
/src/it/script-errors/src/it/beanshell/setup.bsh:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing,
13 | * software distributed under the License is distributed on an
14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | * KIND, either express or implied. See the License for the
16 | * specific language governing permissions and limitations
17 | * under the License.
18 | */
19 |
20 | import java.io.*;
21 |
22 | // marker for parent build that this sub build was indeed run
23 | File touchFile = new File( basedir, "touch.txt" );
24 | touchFile.createNewFile();
25 |
26 | // BeanShell does not allow us to simply throw an error, so will we try to trigger an OutOfMemoryError...
27 | long[] arr = new long[ Integer.MAX_VALUE ];
28 |
--------------------------------------------------------------------------------
/src/it/script-errors/src/it/groovy/setup.groovy:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing,
13 | * software distributed under the License is distributed on an
14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | * KIND, either express or implied. See the License for the
16 | * specific language governing permissions and limitations
17 | * under the License.
18 | */
19 |
20 | import java.io.*;
21 |
22 | // marker for parent build that this sub build was indeed run
23 | File touchFile = new File( basedir, "touch.txt" )
24 | touchFile.createNewFile()
25 |
26 | if ( true ) throw new AssertionError( "This should not cause the main build to fail" )
27 |
28 |
--------------------------------------------------------------------------------
/src/it/script-streamLogs-false/src/it/beanshell/setup.bsh:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing,
13 | * software distributed under the License is distributed on an
14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | * KIND, either express or implied. See the License for the
16 | * specific language governing permissions and limitations
17 | * under the License.
18 | */
19 |
20 | import java.io.*;
21 |
22 | // marker for parent build that this sub build was indeed run
23 | File touchFile = new File( basedir, "touch.txt" );
24 | touchFile.createNewFile();
25 |
26 | System.out.println("Output form beanshell script");
27 |
28 | // BeanShell does not allow us to simply throw an error, so will we try to trigger an OutOfMemoryError...
29 | long[] arr = new long[ Integer.MAX_VALUE ];
30 |
--------------------------------------------------------------------------------
/src/it/script-streamLogs-false/src/it/groovy/setup.groovy:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing,
13 | * software distributed under the License is distributed on an
14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | * KIND, either express or implied. See the License for the
16 | * specific language governing permissions and limitations
17 | * under the License.
18 | */
19 |
20 | import java.io.*;
21 |
22 | // marker for parent build that this sub build was indeed run
23 | File touchFile = new File( basedir, "touch.txt" )
24 | touchFile.createNewFile()
25 |
26 | println("Output from groovy script")
27 |
28 | def pom = new File( basedir, "pom.xml" ).text
29 | assert pom.contains("9.9.9")
30 |
31 |
--------------------------------------------------------------------------------
/src/it/script-streamLogs-true/src/it/beanshell/setup.bsh:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing,
13 | * software distributed under the License is distributed on an
14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | * KIND, either express or implied. See the License for the
16 | * specific language governing permissions and limitations
17 | * under the License.
18 | */
19 |
20 | import java.io.*;
21 |
22 | // marker for parent build that this sub build was indeed run
23 | File touchFile = new File( basedir, "touch.txt" );
24 | touchFile.createNewFile();
25 |
26 | System.out.println("Output form beanshell script");
27 |
28 | // BeanShell does not allow us to simply throw an error, so will we try to trigger an OutOfMemoryError...
29 | long[] arr = new long[ Integer.MAX_VALUE ];
30 |
--------------------------------------------------------------------------------
/src/it/script-streamLogs-true/src/it/groovy/setup.groovy:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing,
13 | * software distributed under the License is distributed on an
14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | * KIND, either express or implied. See the License for the
16 | * specific language governing permissions and limitations
17 | * under the License.
18 | */
19 |
20 | import java.io.*;
21 |
22 | // marker for parent build that this sub build was indeed run
23 | File touchFile = new File( basedir, "touch.txt" )
24 | touchFile.createNewFile()
25 |
26 | println("Output from groovy script")
27 |
28 | def pom = new File( basedir, "pom.xml" ).text
29 | assert pom.contains("9.9.9")
30 |
31 |
--------------------------------------------------------------------------------
/src/it/selector-conditions/src/it/jre-version-match/invoker.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 | invoker.java.version = 1.4-, 1.4, 1.5+
19 |
--------------------------------------------------------------------------------
/src/it/selector-conditions/src/it/jre-version-match/postbuild.bsh:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing,
13 | * software distributed under the License is distributed on an
14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | * KIND, either express or implied. See the License for the
16 | * specific language governing permissions and limitations
17 | * under the License.
18 | */
19 |
20 | import java.io.*;
21 |
22 | // create touch file so that the parent build can verify whether this build was executed
23 | File touchFile = new File( basedir, "target/touch.txt" );
24 | System.out.println( "Creating touch file: " + touchFile );
25 | touchFile.getParentFile().mkdirs();
26 | touchFile.createNewFile();
27 |
--------------------------------------------------------------------------------
/src/it/selector-conditions/src/it/jre-version-mismatch/invoker.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 | invoker.java.version = 1.2
19 |
--------------------------------------------------------------------------------
/src/it/selector-conditions/src/it/jre-version-mismatch/postbuild.bsh:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing,
13 | * software distributed under the License is distributed on an
14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | * KIND, either express or implied. See the License for the
16 | * specific language governing permissions and limitations
17 | * under the License.
18 | */
19 |
20 | import java.io.*;
21 |
22 | // create touch file so that the parent build can verify whether this build was executed
23 | File touchFile = new File( basedir, "target/touch.txt" );
24 | System.out.println( "Creating touch file: " + touchFile );
25 | touchFile.getParentFile().mkdirs();
26 | touchFile.createNewFile();
27 |
--------------------------------------------------------------------------------
/src/it/selector-conditions/src/it/maven-version-match/invoker.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 | invoker.maven.version = 2.0+
19 |
--------------------------------------------------------------------------------
/src/it/selector-conditions/src/it/maven-version-match/postbuild.bsh:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing,
13 | * software distributed under the License is distributed on an
14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | * KIND, either express or implied. See the License for the
16 | * specific language governing permissions and limitations
17 | * under the License.
18 | */
19 |
20 | import java.io.*;
21 |
22 | // create touch file so that the parent build can verify whether this build was executed
23 | File touchFile = new File( basedir, "target/touch.txt" );
24 | System.out.println( "Creating touch file: " + touchFile );
25 | touchFile.getParentFile().mkdirs();
26 | touchFile.createNewFile();
27 |
--------------------------------------------------------------------------------
/src/it/selector-conditions/src/it/maven-version-mismatch/invoker.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 | invoker.maven.version = 1.2
19 |
--------------------------------------------------------------------------------
/src/it/selector-conditions/src/it/maven-version-mismatch/postbuild.bsh:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing,
13 | * software distributed under the License is distributed on an
14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | * KIND, either express or implied. See the License for the
16 | * specific language governing permissions and limitations
17 | * under the License.
18 | */
19 |
20 | import java.io.*;
21 |
22 | // create touch file so that the parent build can verify whether this build was executed
23 | File touchFile = new File( basedir, "target/touch.txt" );
24 | System.out.println( "Creating touch file: " + touchFile );
25 | touchFile.getParentFile().mkdirs();
26 | touchFile.createNewFile();
27 |
--------------------------------------------------------------------------------
/src/it/selector-conditions/src/it/os-family-match/invoker.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 | invoker.os.family = !nowhere
19 |
--------------------------------------------------------------------------------
/src/it/selector-conditions/src/it/os-family-match/postbuild.bsh:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing,
13 | * software distributed under the License is distributed on an
14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | * KIND, either express or implied. See the License for the
16 | * specific language governing permissions and limitations
17 | * under the License.
18 | */
19 |
20 | import java.io.*;
21 |
22 | // create touch file so that the parent build can verify whether this build was executed
23 | File touchFile = new File( basedir, "target/touch.txt" );
24 | System.out.println( "Creating touch file: " + touchFile );
25 | touchFile.getParentFile().mkdirs();
26 | touchFile.createNewFile();
27 |
--------------------------------------------------------------------------------
/src/it/selector-conditions/src/it/os-family-mismatch/invoker.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 | invoker.os.family = nowhere
19 |
--------------------------------------------------------------------------------
/src/it/selector-conditions/src/it/os-family-mismatch/postbuild.bsh:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing,
13 | * software distributed under the License is distributed on an
14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | * KIND, either express or implied. See the License for the
16 | * specific language governing permissions and limitations
17 | * under the License.
18 | */
19 |
20 | import java.io.*;
21 |
22 | // create touch file so that the parent build can verify whether this build was executed
23 | File touchFile = new File( basedir, "target/touch.txt" );
24 | System.out.println( "Creating touch file: " + touchFile );
25 | touchFile.getParentFile().mkdirs();
26 | touchFile.createNewFile();
27 |
--------------------------------------------------------------------------------
/src/it/selector-conditions/src/it/toolchain-mismatch/invoker.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 | invoker.toolchain.jdk.vendor = mycomp
19 |
--------------------------------------------------------------------------------
/src/it/selector-conditions/src/it/toolchain-mismatch/postbuild.bsh:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing,
13 | * software distributed under the License is distributed on an
14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | * KIND, either express or implied. See the License for the
16 | * specific language governing permissions and limitations
17 | * under the License.
18 | */
19 |
20 | import java.io.*;
21 |
22 | // create touch file so that the parent build can verify whether this build was executed
23 | File touchFile = new File( basedir, "target/touch.txt" );
24 | System.out.println( "Creating touch file: " + touchFile );
25 | touchFile.getParentFile().mkdirs();
26 | touchFile.createNewFile();
27 |
--------------------------------------------------------------------------------
/src/it/selector-scripts/setup.groovy:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing,
13 | * software distributed under the License is distributed on an
14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | * KIND, either express or implied. See the License for the
16 | * specific language governing permissions and limitations
17 | * under the License.
18 | */
19 |
20 | import java.io.File
21 |
22 | // Previous potential target 'content' has impact on IT execution
23 | // (Some new file should be created by verify.sh)
24 | new File( basedir, "target/invoker-reports-test" ).deleteDir()
25 | new File( basedir, "src/it/script-ret-quiet/target" ).deleteDir()
26 | new File( basedir, "src/it/script-ret-true/target" ).deleteDir()
27 | return true;
28 |
--------------------------------------------------------------------------------
/src/it/selector-scripts/src/it/script-ret-false/postbuild.bsh:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing,
13 | * software distributed under the License is distributed on an
14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | * KIND, either express or implied. See the License for the
16 | * specific language governing permissions and limitations
17 | * under the License.
18 | */
19 |
20 | import java.io.*;
21 |
22 | // create touch file so that the parent build can verify whether this build was executed
23 | File touchFile = new File( basedir, "target/touch.txt" );
24 | System.out.println( "Creating touch file: " + touchFile );
25 | touchFile.getParentFile().mkdirs();
26 | touchFile.createNewFile();
27 |
--------------------------------------------------------------------------------
/src/it/selector-scripts/src/it/script-ret-false/selector.bsh:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing,
13 | * software distributed under the License is distributed on an
14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | * KIND, either express or implied. See the License for the
16 | * specific language governing permissions and limitations
17 | * under the License.
18 | */
19 |
20 | import java.io.*;
21 |
22 | return false;
23 |
--------------------------------------------------------------------------------
/src/it/selector-scripts/src/it/script-ret-other/postbuild.bsh:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing,
13 | * software distributed under the License is distributed on an
14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | * KIND, either express or implied. See the License for the
16 | * specific language governing permissions and limitations
17 | * under the License.
18 | */
19 |
20 | import java.io.*;
21 |
22 | // create touch file so that the parent build can verify whether this build was executed
23 | File touchFile = new File( basedir, "target/touch.txt" );
24 | System.out.println( "Creating touch file: " + touchFile );
25 | touchFile.getParentFile().mkdirs();
26 | touchFile.createNewFile();
27 |
--------------------------------------------------------------------------------
/src/it/selector-scripts/src/it/script-ret-other/selector.bsh:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing,
13 | * software distributed under the License is distributed on an
14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | * KIND, either express or implied. See the License for the
16 | * specific language governing permissions and limitations
17 | * under the License.
18 | */
19 |
20 | import java.io.*;
21 |
22 | return "Some thing";
23 |
--------------------------------------------------------------------------------
/src/it/selector-scripts/src/it/script-ret-quiet/postbuild.bsh:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing,
13 | * software distributed under the License is distributed on an
14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | * KIND, either express or implied. See the License for the
16 | * specific language governing permissions and limitations
17 | * under the License.
18 | */
19 |
20 | import java.io.*;
21 |
22 | // create touch file so that the parent build can verify whether this build was executed
23 | File touchFile = new File( basedir, "target/touch.txt" );
24 | System.out.println( "Creating touch file: " + touchFile );
25 | touchFile.getParentFile().mkdirs();
26 | touchFile.createNewFile();
27 |
--------------------------------------------------------------------------------
/src/it/selector-scripts/src/it/script-ret-quiet/selector.bsh:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing,
13 | * software distributed under the License is distributed on an
14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | * KIND, either express or implied. See the License for the
16 | * specific language governing permissions and limitations
17 | * under the License.
18 | */
19 |
20 | import java.io.*;
21 |
22 |
--------------------------------------------------------------------------------
/src/it/selector-scripts/src/it/script-ret-true/postbuild.bsh:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing,
13 | * software distributed under the License is distributed on an
14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | * KIND, either express or implied. See the License for the
16 | * specific language governing permissions and limitations
17 | * under the License.
18 | */
19 |
20 | import java.io.*;
21 |
22 | // create touch file so that the parent build can verify whether this build was executed
23 | File touchFile = new File( basedir, "target/touch.txt" );
24 | System.out.println( "Creating touch file: " + touchFile );
25 | touchFile.getParentFile().mkdirs();
26 | touchFile.createNewFile();
27 | return true;
28 |
--------------------------------------------------------------------------------
/src/it/selector-scripts/src/it/script-ret-true/selector.bsh:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing,
13 | * software distributed under the License is distributed on an
14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | * KIND, either express or implied. See the License for the
16 | * specific language governing permissions and limitations
17 | * under the License.
18 | */
19 |
20 | import java.io.*;
21 |
22 | return true;
23 |
--------------------------------------------------------------------------------
/src/it/selector-scripts/src/it/script-throw/postbuild.bsh:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing,
13 | * software distributed under the License is distributed on an
14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | * KIND, either express or implied. See the License for the
16 | * specific language governing permissions and limitations
17 | * under the License.
18 | */
19 |
20 | import java.io.*;
21 |
22 | // create touch file so that the parent build can verify whether this build was executed
23 | File touchFile = new File( basedir, "target/touch.txt" );
24 | System.out.println( "Creating touch file: " + touchFile );
25 | touchFile.getParentFile().mkdirs();
26 | touchFile.createNewFile();
27 |
--------------------------------------------------------------------------------
/src/it/selector-scripts/src/it/script-throw/selector.bsh:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing,
13 | * software distributed under the License is distributed on an
14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | * KIND, either express or implied. See the License for the
16 | * specific language governing permissions and limitations
17 | * under the License.
18 | */
19 |
20 | import java.io.*;
21 |
22 | throw new NullPointerException( "Bite me" );
23 |
--------------------------------------------------------------------------------
/src/it/settings-inherit/invoker.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 | # See https://issues.apache.org/jira/browse/MNG-5224
19 | invoker.maven.version = 3.0-,3.0.4+
20 |
--------------------------------------------------------------------------------
/src/it/settings-merge-multiexecutions/invoker.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 | # See https://issues.apache.org/jira/browse/MNG-5224
19 | invoker.maven.version = 3.0-,3.0.4+
20 |
--------------------------------------------------------------------------------
/src/it/settings-merge/invoker.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 | # See https://issues.apache.org/jira/browse/MNG-5224
19 | invoker.maven.version = 3.0-,3.0.4+
20 | invoker.java.version = 9-
--------------------------------------------------------------------------------
/src/it/settings-merge_jdk9+/invoker.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 | # See https://issues.apache.org/jira/browse/MNG-5224
19 | invoker.maven.version = 3.0-,3.0.4+
20 |
--------------------------------------------------------------------------------
/src/it/settings-override/invoker.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 | # See https://issues.apache.org/jira/browse/MNG-5224
19 | invoker.maven.version = 3.0-,3.0.4+
20 |
--------------------------------------------------------------------------------
/src/it/settings-override/src/it/project/invoker.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 | invoker.settingsFile =src/it/settings-override.xml
--------------------------------------------------------------------------------
/src/it/settings-override/src/it/project/postbuild.groovy:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing,
13 | * software distributed under the License is distributed on an
14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | * KIND, either express or implied. See the License for the
16 | * specific language governing permissions and limitations
17 | * under the License.
18 | */
19 |
20 | File interpolatedCustomSettings = new File( basedir, "../interpolated-settings-override.xml" )
21 | assert interpolatedCustomSettings.isFile()
22 |
--------------------------------------------------------------------------------
/src/it/settings-override/src/it/settings-override.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
21 |
22 |
23 |
24 |
25 | it-properties
26 |
27 | true
28 |
29 |
30 | false
31 |
32 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/src/it/settings-override/src/it/settings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
21 |
22 |
23 |
24 |
25 | it-properties
26 |
27 | true
28 |
29 |
30 | true
31 |
32 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/src/it/skip-install/test.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 | # NOTE: Skipping from the CLI is the primary use case so we prefer the system property over the direct POM configuration
19 | invoker.skip = true
20 |
--------------------------------------------------------------------------------
/src/it/skip-install/verify.bsh:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing,
13 | * software distributed under the License is distributed on an
14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | * KIND, either express or implied. See the License for the
16 | * specific language governing permissions and limitations
17 | * under the License.
18 | */
19 |
20 | import java.io.*;
21 | import java.util.*;
22 | import java.util.regex.*;
23 |
24 | File itRepoDir = new File( basedir, "target/it-repo" );
25 | System.out.println( "Checking for absence of: " + itRepoDir );
26 | if ( itRepoDir.isDirectory() )
27 | {
28 | throw new IllegalStateException( "Creation of staging repository was not skipped: " + itRepoDir );
29 | return false;
30 | }
31 |
32 | return true;
33 |
--------------------------------------------------------------------------------
/src/it/skip-run/src/it/project/prebuild.bsh:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing,
13 | * software distributed under the License is distributed on an
14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | * KIND, either express or implied. See the License for the
16 | * specific language governing permissions and limitations
17 | * under the License.
18 | */
19 |
20 | import java.io.*;
21 |
22 | // marker for parent build that this sub build was indeed run
23 | File touchFile = new File( basedir, "touch.txt" );
24 | touchFile.createNewFile();
25 |
26 | return true;
27 |
--------------------------------------------------------------------------------
/src/it/skip-run/test.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 | # NOTE: Skipping from the CLI is the primary use case so we prefer the system property over the direct POM configuration
19 | invoker.skip = true
20 |
--------------------------------------------------------------------------------
/src/it/spaces-should-work_non-windows/invoker.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 | invoker.goals = verify
19 | invoker.os.family = !windows
--------------------------------------------------------------------------------
/src/it/spaces-should-work_non-windows/src/it/minvoker-test/invoker.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 | invoker.debug = true
19 | invoker.goals = verify
20 |
--------------------------------------------------------------------------------
/src/it/spaces-should-work_non-windows/src/it/minvoker-test/verify.groovy:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing,
13 | * software distributed under the License is distributed on an
14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | * KIND, either express or implied. See the License for the
16 | * specific language governing permissions and limitations
17 | * under the License.
18 | */
19 | File buildLog = new File( basedir, 'build.log' )
20 |
21 | // if one of criteria matches
22 | if( buildLog.exists() )
23 | {
24 | assert buildLog.text.contains( '[INFO] Rule 0: org.apache.maven.enforcer.rules.AlwaysPass passed' )
25 | }
26 |
27 |
--------------------------------------------------------------------------------
/src/it/spaces-should-work_windows/invoker.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 | invoker.goals = verify
19 | invoker.os.family = windows
20 | invoker.maven.version = 3.5.0+
--------------------------------------------------------------------------------
/src/it/spaces-should-work_windows/src/it/minvoker-test/invoker.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 | invoker.debug = true
19 | invoker.goals = verify
20 |
--------------------------------------------------------------------------------
/src/it/spaces-should-work_windows/src/it/minvoker-test/verify.groovy:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing,
13 | * software distributed under the License is distributed on an
14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | * KIND, either express or implied. See the License for the
16 | * specific language governing permissions and limitations
17 | * under the License.
18 | */
19 | File buildLog = new File( basedir, 'build.log' )
20 |
21 | // if one of criteria matches
22 | if( buildLog.exists() )
23 | {
24 | assert buildLog.text.contains( '[INFO] Rule 0: org.apache.maven.enforcer.rules.AlwaysPass passed' )
25 | }
26 |
27 |
--------------------------------------------------------------------------------
/src/it/special-characters-should-work/invoker.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 | invoker.goals = verify
19 |
--------------------------------------------------------------------------------
/src/it/special-characters-should-work/src/it/minvoker-test/invoker.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 | invoker.debug = true
19 | invoker.goals = verify
20 |
--------------------------------------------------------------------------------
/src/it/special-characters-should-work/src/it/minvoker-test/verify.groovy:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing,
13 | * software distributed under the License is distributed on an
14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | * KIND, either express or implied. See the License for the
16 | * specific language governing permissions and limitations
17 | * under the License.
18 | */
19 | File buildLog = new File( basedir, 'build.log' )
20 | assert buildLog.text.contains( '[INFO] Rule 0: org.apache.maven.enforcer.rules.AlwaysPass passed' )
--------------------------------------------------------------------------------
/src/it/staging-dependencies-test-scope/invoker.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 | invoker.goals = verify
19 |
--------------------------------------------------------------------------------
/src/it/staging-dependencies/invoker.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 | invoker.goals = verify
19 |
--------------------------------------------------------------------------------
/src/it/staging-dependencies/repo/org/apache/maven/its/dep/1.0/dep-1.0-tests.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/maven-invoker-plugin/6e3c6c941b84b9165c733bb8ee5393909afc51f3/src/it/staging-dependencies/repo/org/apache/maven/its/dep/1.0/dep-1.0-tests.jar
--------------------------------------------------------------------------------
/src/it/staging-dependencies/repo/org/apache/maven/its/dep/1.0/dep-1.0.pom:
--------------------------------------------------------------------------------
1 |
2 |
3 | 4.0.0
4 | org.apache.maven.its
5 | dep
6 | jar
7 | 1.0
8 |
9 |
--------------------------------------------------------------------------------
/src/it/staging-dependencies/repo/org/apache/maven/its/dep/2.0/dep-2.0.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/maven-invoker-plugin/6e3c6c941b84b9165c733bb8ee5393909afc51f3/src/it/staging-dependencies/repo/org/apache/maven/its/dep/2.0/dep-2.0.jar
--------------------------------------------------------------------------------
/src/it/staging-dependencies/repo/org/apache/maven/its/dep/2.0/dep-2.0.pom:
--------------------------------------------------------------------------------
1 |
2 |
3 | 4.0.0
4 | org.apache.maven.its
5 | dep
6 | jar
7 | 2.0
8 |
9 |
--------------------------------------------------------------------------------
/src/it/staging-dependencies/repo/org/apache/maven/its/dep/maven-metadata.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
21 |
22 |
23 | org.apache.maven.its
24 | dep
25 |
26 | 2.0
27 | 2.0
28 |
29 | 1.0
30 | 2.0
31 |
32 | 20081020164906
33 |
34 |
35 |
--------------------------------------------------------------------------------
/src/it/staging-dependencies/repo/org/apache/maven/its/minvoker-70/1.0-SNAPSHOT/minvoker-70-1.0-20081020.164906-1.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/maven-invoker-plugin/6e3c6c941b84b9165c733bb8ee5393909afc51f3/src/it/staging-dependencies/repo/org/apache/maven/its/minvoker-70/1.0-SNAPSHOT/minvoker-70-1.0-20081020.164906-1.jar
--------------------------------------------------------------------------------
/src/it/staging-dependencies/repo/org/apache/maven/its/minvoker-70/1.0-SNAPSHOT/minvoker-70-1.0-20081020.164906-1.pom:
--------------------------------------------------------------------------------
1 |
2 |
3 | 4.0.0
4 |
5 | org.apache.maven.its
6 | parent-b
7 | 0.1-SNAPSHOT
8 |
9 | minvoker-70
10 | jar
11 | 1.0-SNAPSHOT
12 |
13 |
--------------------------------------------------------------------------------
/src/it/staging-dependencies/repo/org/apache/maven/its/minvoker-70/maven-metadata.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
21 |
22 |
23 | org.apache.maven.its
24 | minvoker-70
25 | 1.0-SNAPSHOT
26 |
27 |
28 | 1.0-SNAPSHOT
29 |
30 | 20081020164906
31 |
32 |
33 |
--------------------------------------------------------------------------------
/src/it/staging-dependencies/repo/org/apache/maven/its/parent-a/0.1-SNAPSHOT/parent-a-0.1-20081020.164906-1.pom:
--------------------------------------------------------------------------------
1 |
2 |
3 | 4.0.0
4 | org.apache.maven.its
5 | parent-a
6 | pom
7 | 0.1-SNAPSHOT
8 |
9 |
--------------------------------------------------------------------------------
/src/it/staging-dependencies/repo/org/apache/maven/its/parent-b/0.1-SNAPSHOT/parent-b-0.1-20081020.164906-1.pom:
--------------------------------------------------------------------------------
1 |
2 |
3 | 4.0.0
4 |
5 | org.apache.maven.its
6 | parent-a
7 | 0.1-SNAPSHOT
8 |
9 | parent-b
10 | pom
11 | 0.1-SNAPSHOT
12 |
13 |
--------------------------------------------------------------------------------
/src/it/staging-dependencies/repo/org/apache/maven/its/pom/0.3-SNAPSHOT/maven-metadata.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
21 |
22 |
23 | org.apache.maven.its
24 | pom
25 | 0.3-SNAPSHOT
26 |
27 |
28 | 20081020.164906
29 | 1
30 |
31 | 20081020164906
32 |
33 |
34 |
--------------------------------------------------------------------------------
/src/it/staging-dependencies/repo/org/apache/maven/its/pom/0.3-SNAPSHOT/pom-0.3-20081020.164906-1.pom:
--------------------------------------------------------------------------------
1 |
2 |
3 | 4.0.0
4 | org.apache.maven.its
5 | pom
6 | pom
7 | 0.3-SNAPSHOT
8 |
9 |
--------------------------------------------------------------------------------
/src/it/staging-pom/invoker.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 | invoker.goals = verify
19 |
--------------------------------------------------------------------------------
/src/it/staging-pom/src/site/site.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
21 |
22 |
23 |
24 |
25 |
26 |
--------------------------------------------------------------------------------
/src/it/staging-reactor/invoker.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 | invoker.goals = verify
19 |
--------------------------------------------------------------------------------
/src/it/staging-reactor/mod2/src/main/resources/main.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 |
--------------------------------------------------------------------------------
/src/it/staging-reactor/mod3/src/main/resources/main.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 |
--------------------------------------------------------------------------------
/src/it/staging-reactor/src/site/site.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
21 |
22 |
23 |
24 |
25 |
26 |
--------------------------------------------------------------------------------
/src/it/updateOnly/src/it/project/pom.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
21 |
22 |
23 | 4.0.0
24 | jar
25 |
26 | test
27 | project
28 | 0.1-SNAPSHOT
29 |
30 |
31 |
--------------------------------------------------------------------------------
/src/main/resources/invoker-report_en.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 | # NOTE:
19 | # This bundle is intentionally empty because English strings are provided by the base bundle via the parent chain. It
20 | # must be provided nevertheless such that a request for locale "en" will not erroneously pick up the bundle for the
21 | # JVM's default locale (which need not be "en"). See the method javadoc about
22 | # ResourceBundle.getBundle(String, Locale, ClassLoader)
23 | # for a full description of the lookup strategy.
--------------------------------------------------------------------------------
/src/main/resources/invoker-report_fr.properties:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/maven-invoker-plugin/6e3c6c941b84b9165c733bb8ee5393909afc51f3/src/main/resources/invoker-report_fr.properties
--------------------------------------------------------------------------------
/src/site/resources/download.cgi:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | #
3 | # Licensed to the Apache Software Foundation (ASF) under one
4 | # or more contributor license agreements. See the NOTICE file
5 | # distributed with this work for additional information
6 | # regarding copyright ownership. The ASF licenses this file
7 | # to you under the Apache License, Version 2.0 (the
8 | # "License"); you may not use this file except in compliance
9 | # with the License. You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing,
14 | # software distributed under the License is distributed on an
15 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 | # KIND, either express or implied. See the License for the
17 | # specific language governing permissions and limitations
18 | # under the License.
19 | #
20 | # Just call the standard mirrors.cgi script. It will use download.html
21 | # as the input template.
22 | exec /www/www.apache.org/dyn/mirrors/mirrors.cgi $*
--------------------------------------------------------------------------------
/src/test/resources/unit/with-pom-project-dir/pom.xml:
--------------------------------------------------------------------------------
1 |
2 |
20 |
21 | 4.0.0
22 | org.apache.maven.test
23 | unit
24 | pom
25 | 0.1-SNAPSHOT
26 |
--------------------------------------------------------------------------------
/src/test/resources/unit/without-pom-project-dir/mark.txt:
--------------------------------------------------------------------------------
1 | Licensed to the Apache Software Foundation (ASF) under one
2 | or more contributor license agreements. See the NOTICE file
3 | distributed with this work for additional information
4 | regarding copyright ownership. The ASF licenses this file
5 | to you under the Apache License, Version 2.0 (the
6 | "License"); you may not use this file except in compliance
7 | with the License. You may obtain a copy of the License at
8 |
9 | http://www.apache.org/licenses/LICENSE-2.0
10 |
11 | Unless required by applicable law or agreed to in writing,
12 | software distributed under the License is distributed on an
13 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | KIND, either express or implied. See the License for the
15 | specific language governing permissions and limitations
16 | under the License.
17 |
--------------------------------------------------------------------------------