├── .asf.yaml
├── .git-blame-ignore-revs
├── .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
├── it
├── MSHADE-321_respectDrpFlag
│ ├── pom.xml
│ ├── repo
│ │ └── org
│ │ │ └── apache
│ │ │ └── maven
│ │ │ └── its
│ │ │ └── shade
│ │ │ └── drp
│ │ │ └── a
│ │ │ └── 0.1
│ │ │ ├── a-0.1.jar
│ │ │ └── a-0.1.pom
│ └── verify.groovy
├── mrm
│ ├── repository
│ │ ├── MSHADE-247
│ │ │ ├── mshade-247-one-0.1-sources.jar
│ │ │ │ └── org
│ │ │ │ │ └── apache
│ │ │ │ │ └── maven
│ │ │ │ │ └── its
│ │ │ │ │ └── shade
│ │ │ │ │ └── csj
│ │ │ │ │ └── Test.java
│ │ │ ├── mshade-247-one-0.1.pom
│ │ │ └── mshade-247-two-0.1.pom
│ │ ├── artifact-includes-excludes
│ │ │ ├── a-0.1.jar
│ │ │ │ └── a.properties
│ │ │ ├── a-0.1.pom
│ │ │ ├── b-0.2.jar
│ │ │ │ └── b.properties
│ │ │ └── b-0.2.pom
│ │ ├── dep-reduced-pom-artifactset-provided-excludes
│ │ │ ├── a-0.1.pom
│ │ │ ├── b-0.1.pom
│ │ │ ├── c-0.1.pom
│ │ │ ├── d-0.1.pom
│ │ │ └── e-0.1.pom
│ │ ├── dep-reduced-pom-exclusions
│ │ │ ├── a-0.1.pom
│ │ │ ├── b-0.2-alt.jar
│ │ │ │ └── b-alt.properties
│ │ │ ├── b-0.2.pom
│ │ │ └── c-1.pom
│ │ ├── dep-reduced-pom-unique
│ │ │ ├── a-0.1.pom
│ │ │ ├── b-0.2.pom
│ │ │ └── c-1.pom
│ │ ├── dep-reduced-pom-use-base-version
│ │ │ ├── a-0.1-20130115.024354-82.pom
│ │ │ └── maven-metadata.xml
│ │ ├── dep-reduced-pom
│ │ │ ├── a-0.1.pom
│ │ │ ├── b-0.2-client.jar
│ │ │ │ └── b-client.properties
│ │ │ ├── b-0.2.pom
│ │ │ └── c-1.pom
│ │ ├── filter-artifact-contents
│ │ │ ├── a-0.1.jar
│ │ │ │ ├── META-INF
│ │ │ │ │ └── maven
│ │ │ │ │ │ └── org.apache.maven.its.shade.fac
│ │ │ │ │ │ └── a
│ │ │ │ │ │ └── pom.properties
│ │ │ │ ├── a.properties
│ │ │ │ └── org
│ │ │ │ │ ├── a.properties
│ │ │ │ │ └── apache
│ │ │ │ │ ├── a.properties
│ │ │ │ │ └── maven
│ │ │ │ │ └── a.properties
│ │ │ ├── a-0.1.pom
│ │ │ ├── b-0.1-client.jar
│ │ │ │ ├── META-INF
│ │ │ │ │ └── maven
│ │ │ │ │ │ └── org.apache.maven.its.shade.fac
│ │ │ │ │ │ └── b
│ │ │ │ │ │ └── pom.properties
│ │ │ │ ├── b.properties
│ │ │ │ └── org
│ │ │ │ │ ├── apache
│ │ │ │ │ ├── b.properties
│ │ │ │ │ └── maven
│ │ │ │ │ │ ├── b.properties
│ │ │ │ │ │ └── b
│ │ │ │ │ │ └── b.properties
│ │ │ │ │ └── b.properties
│ │ │ └── b-0.1.pom
│ │ ├── non-runtime-scope-excluded
│ │ │ ├── compile-1.0.jar
│ │ │ │ └── compile.properties
│ │ │ ├── compile-1.0.pom
│ │ │ ├── provided-1.0.jar
│ │ │ │ └── provided.properties
│ │ │ ├── provided-1.0.pom
│ │ │ ├── runtime-1.0.jar
│ │ │ │ └── runtime.properties
│ │ │ ├── runtime-1.0.pom
│ │ │ ├── test-1.0.jar
│ │ │ │ └── test.properties
│ │ │ └── test-1.0.pom
│ │ ├── plugin-descriptor-relocation
│ │ │ └── comp-0.1.pom
│ │ ├── services-resource-transformer-with-reloc-includes-excludes
│ │ │ ├── mshade-237-one-0.1.jar
│ │ │ │ └── META-INF
│ │ │ │ │ └── services
│ │ │ │ │ └── org.apache.maven.shade
│ │ │ ├── mshade-237-one-0.1.pom
│ │ │ ├── mshade-237-two-0.1.jar
│ │ │ │ └── META-INF
│ │ │ │ │ └── services
│ │ │ │ │ └── org.apache.maven.shade
│ │ │ └── mshade-237-two-0.1.pom
│ │ └── services-resource-transformer
│ │ │ ├── one-0.1.jar
│ │ │ └── META-INF
│ │ │ │ └── services
│ │ │ │ └── org.apache.maven.Shade
│ │ │ ├── one-0.1.pom
│ │ │ ├── two-0.1.jar
│ │ │ └── META-INF
│ │ │ │ └── services
│ │ │ │ └── org.apache.maven.Shade
│ │ │ └── two-0.1.pom
│ └── settings.xml
└── projects
│ ├── MSHADE-105
│ ├── bundle
│ │ ├── pom.xml
│ │ └── src
│ │ │ └── main
│ │ │ └── java
│ │ │ └── test
│ │ │ └── Dummy.java
│ ├── pom.xml
│ ├── shaded-jar
│ │ └── pom.xml
│ └── verify.bsh
│ ├── MSHADE-114
│ └── pom.xml
│ ├── MSHADE-133
│ ├── pom.xml
│ ├── src
│ │ └── main
│ │ │ └── resources
│ │ │ ├── logback.xml
│ │ │ └── myConfig.yml
│ └── verify.groovy
│ ├── MSHADE-155
│ ├── pom.xml
│ ├── src
│ │ └── main
│ │ │ └── resources
│ │ │ └── META-INF
│ │ │ └── ejb-jar.xml
│ └── verify.groovy
│ ├── MSHADE-182
│ ├── pom.xml
│ ├── src
│ │ └── main
│ │ │ └── resources
│ │ │ └── META-INF
│ │ │ └── services
│ │ │ └── relocateme.Service
│ └── verify.groovy
│ ├── MSHADE-183
│ ├── pom.xml
│ └── verify.bsh
│ ├── MSHADE-185
│ ├── invoker.properties
│ ├── pom.xml
│ └── verify.groovy
│ ├── MSHADE-232_ResourceBundleAppendingTransformer
│ ├── invoker.properties
│ ├── one
│ │ ├── pom.xml
│ │ └── src
│ │ │ └── main
│ │ │ └── resources
│ │ │ └── org
│ │ │ └── apache
│ │ │ └── maven
│ │ │ └── plugins
│ │ │ └── shade
│ │ │ └── its
│ │ │ ├── Message.properties
│ │ │ └── Message_nl.properties
│ ├── pom.xml
│ ├── two
│ │ ├── pom.xml
│ │ └── src
│ │ │ └── main
│ │ │ └── resources
│ │ │ └── org
│ │ │ └── apache
│ │ │ └── maven
│ │ │ └── plugins
│ │ │ └── shade
│ │ │ └── its
│ │ │ ├── Message.properties
│ │ │ └── Message_nl.properties
│ └── verify.groovy
│ ├── MSHADE-239_finalName-attachments
│ ├── pom.xml
│ └── verify.groovy
│ ├── MSHADE-240_reloc-mavenfiles
│ ├── pom.xml
│ └── verify.groovy
│ ├── MSHADE-247
│ └── pom.xml
│ ├── MSHADE-258_module_relocation
│ ├── pom.xml
│ └── verify.groovy
│ ├── MSHADE-284_shadeTestJar
│ ├── api
│ │ ├── pom.xml
│ │ └── src
│ │ │ ├── main
│ │ │ ├── java
│ │ │ │ └── Api.java
│ │ │ └── resources
│ │ │ │ └── api-resource.txt
│ │ │ └── test
│ │ │ ├── java
│ │ │ └── ApiTest.java
│ │ │ └── resources
│ │ │ └── api-test-resource.txt
│ ├── impl
│ │ ├── pom.xml
│ │ └── src
│ │ │ ├── main
│ │ │ ├── java
│ │ │ │ └── Impl.java
│ │ │ └── resources
│ │ │ │ └── impl-resource.txt
│ │ │ └── test
│ │ │ ├── java
│ │ │ └── ImplTest.java
│ │ │ └── resources
│ │ │ └── impl-test-resource.txt
│ ├── pom.xml
│ ├── uber
│ │ └── pom.xml
│ └── verify.groovy
│ ├── MSHADE-285_createTestSourcesJar
│ ├── api
│ │ ├── pom.xml
│ │ └── src
│ │ │ ├── main
│ │ │ └── java
│ │ │ │ └── Api.java
│ │ │ └── test
│ │ │ └── java
│ │ │ └── ApiTest.java
│ ├── impl
│ │ ├── pom.xml
│ │ └── src
│ │ │ ├── main
│ │ │ └── java
│ │ │ │ └── Impl.java
│ │ │ └── test
│ │ │ └── java
│ │ │ └── ImplTest.java
│ ├── pom.xml
│ ├── uber
│ │ └── pom.xml
│ └── verify.groovy
│ ├── MSHADE-313_minimized-services
│ ├── dependency-service
│ │ ├── pom.xml
│ │ └── src
│ │ │ └── main
│ │ │ ├── java
│ │ │ ├── DependencyReferencedClass.java
│ │ │ ├── DependencyServiceClass.java
│ │ │ ├── DependencyServiceInterface.java
│ │ │ └── DependencyUnreferencedClass.java
│ │ │ └── resources
│ │ │ └── META-INF
│ │ │ └── services
│ │ │ └── DependencyServiceInterface
│ ├── invoker.properties
│ ├── pom.xml
│ ├── test
│ │ ├── pom.xml
│ │ └── src
│ │ │ └── main
│ │ │ └── java
│ │ │ └── Main.java
│ ├── unused-service
│ │ ├── pom.xml
│ │ └── src
│ │ │ └── main
│ │ │ ├── java
│ │ │ ├── UnusedServiceClass.java
│ │ │ └── UnusedServiceInterface.java
│ │ │ └── resources
│ │ │ └── META-INF
│ │ │ └── services
│ │ │ └── UnusedServiceInterface
│ ├── used-service
│ │ ├── pom.xml
│ │ └── src
│ │ │ └── main
│ │ │ ├── java
│ │ │ ├── SomeReferencedClass.java
│ │ │ ├── SomeServiceClass.java
│ │ │ ├── SomeServiceInterface.java
│ │ │ └── SomeUnreferencedClass.java
│ │ │ └── resources
│ │ │ └── META-INF
│ │ │ └── services
│ │ │ └── SomeServiceInterface
│ └── verify.bsh
│ ├── MSHADE-316
│ ├── dependency
│ │ ├── pom.xml
│ │ └── src
│ │ │ └── main
│ │ │ └── java
│ │ │ ├── SomeUnusedClass.java
│ │ │ ├── SomeUsedClass.java
│ │ │ └── x
│ │ │ └── y
│ │ │ └── z
│ │ │ ├── AnotherExemptedClass.java
│ │ │ ├── SomeDependencyOfExemptedClass.java
│ │ │ └── SomeExemptedClass.java
│ ├── invoker.properties
│ ├── pom.xml
│ ├── test
│ │ ├── pom.xml
│ │ └── src
│ │ │ └── main
│ │ │ └── java
│ │ │ └── Main.java
│ └── verify.bsh
│ ├── MSHADE-340_shadedTestJarArtifactAttached
│ ├── api
│ │ ├── pom.xml
│ │ └── src
│ │ │ ├── main
│ │ │ └── java
│ │ │ │ └── Api.java
│ │ │ └── test
│ │ │ └── java
│ │ │ └── ApiTest.java
│ ├── impl
│ │ ├── pom.xml
│ │ └── src
│ │ │ ├── main
│ │ │ └── java
│ │ │ │ └── Impl.java
│ │ │ └── test
│ │ │ └── java
│ │ │ └── ImplTest.java
│ ├── pom.xml
│ ├── uber-user
│ │ ├── pom.xml
│ │ └── src
│ │ │ ├── main
│ │ │ └── java
│ │ │ │ └── UberUser.java
│ │ │ └── test
│ │ │ └── java
│ │ │ └── UberUserTest.java
│ ├── uber
│ │ ├── pom.xml
│ │ └── src
│ │ │ ├── main
│ │ │ └── java
│ │ │ │ └── Uber.java
│ │ │ └── test
│ │ │ └── java
│ │ │ └── UberTest.java
│ └── verify.groovy
│ ├── MSHADE-351
│ ├── pom.xml
│ └── verify.bsh
│ ├── MSHADE-36-inject-dep-reduced-pom-in-final
│ ├── invoker.properties
│ ├── pom.xml
│ ├── src
│ │ └── main
│ │ │ └── java
│ │ │ └── com
│ │ │ └── example
│ │ │ └── Main.java
│ └── verify.bsh
│ ├── MSHADE-363_old-Transformer
│ ├── pom.xml
│ └── src
│ │ └── main
│ │ └── resources
│ │ └── Message.properties
│ ├── MSHADE-363_old-plugin
│ ├── pom.xml
│ └── src
│ │ └── main
│ │ └── resources
│ │ └── Message.properties
│ ├── MSHADE-373
│ ├── pom.xml
│ └── verify.bsh
│ ├── MSHADE-382_skip_execution
│ ├── invoker.properties
│ ├── pom.xml
│ └── verify.groovy
│ ├── MSHADE-390-sisu-index
│ ├── invoker.properties
│ ├── one
│ │ ├── pom.xml
│ │ └── src
│ │ │ └── main
│ │ │ ├── java
│ │ │ └── org
│ │ │ │ └── apache
│ │ │ │ └── one
│ │ │ │ └── One.java
│ │ │ └── resources
│ │ │ └── META-INF
│ │ │ └── sisu
│ │ │ └── javax.inject.Named
│ ├── pom.xml
│ ├── two
│ │ ├── pom.xml
│ │ └── src
│ │ │ └── main
│ │ │ ├── java
│ │ │ └── org
│ │ │ │ └── apache
│ │ │ │ └── two
│ │ │ │ └── Two.java
│ │ │ └── resources
│ │ │ └── META-INF
│ │ │ └── sisu
│ │ │ └── javax.inject.Named
│ └── verify.groovy
│ ├── MSHADE-391_noRelocationKeepOriginalClasses
│ ├── pom.xml
│ └── verify.groovy
│ ├── MSHADE-400_self-minimized-services
│ ├── invoker.properties
│ ├── pom.xml
│ ├── src
│ │ └── main
│ │ │ ├── java
│ │ │ └── org
│ │ │ │ └── acme
│ │ │ │ ├── Application.java
│ │ │ │ ├── UnusedClass.java
│ │ │ │ ├── UnusedService.java
│ │ │ │ ├── UnusedServiceImplA.java
│ │ │ │ ├── UnusedServiceImplB.java
│ │ │ │ ├── UsedClass.java
│ │ │ │ ├── UsedService.java
│ │ │ │ ├── UsedServiceUnusedImpl.java
│ │ │ │ └── UsedServiceUsedImpl.java
│ │ │ └── resources
│ │ │ └── META-INF
│ │ │ └── services
│ │ │ ├── org.acme.UnusedService
│ │ │ └── org.acme.UsedService
│ └── verify.bsh
│ ├── MSHADE-413-parallel
│ ├── invoker.properties
│ ├── p1
│ │ └── pom.xml
│ ├── p2
│ │ └── pom.xml
│ └── pom.xml
│ ├── MSHADE-420
│ ├── invoker.properties
│ ├── pom.xml
│ ├── verify.groovy
│ └── zipdetails.txt
│ ├── MSHADE-462
│ ├── all
│ │ └── pom.xml
│ ├── invoker.properties
│ ├── one
│ │ ├── pom.xml
│ │ └── src
│ │ │ └── main
│ │ │ └── java
│ │ │ └── org
│ │ │ └── apache
│ │ │ └── one
│ │ │ └── One.java
│ └── pom.xml
│ ├── MSHADE-467_parallel-dependency-reduced-pom
│ ├── invoker.properties
│ ├── pom.xml
│ ├── shadeMT1
│ │ └── pom.xml
│ ├── shadeMT2
│ │ └── pom.xml
│ ├── shadeMT3
│ │ └── pom.xml
│ ├── shadeMT4
│ │ └── pom.xml
│ └── verify.groovy
│ ├── artifact-includes-excludes
│ ├── pom.xml
│ └── verify.bsh
│ ├── attach-after-lifecycle-fork
│ ├── invoker.properties
│ ├── pom.xml
│ ├── setup.bsh
│ └── verify.bsh
│ ├── attached-artifact-type
│ ├── consumer
│ │ └── pom.xml
│ ├── invoker.properties
│ ├── pom.xml
│ └── shade
│ │ ├── pom.xml
│ │ └── src
│ │ └── main
│ │ └── resources
│ │ └── META-INF
│ │ └── ejb-jar.xml
│ ├── component-descriptor-relocation
│ ├── app
│ │ ├── pom.xml
│ │ └── src
│ │ │ └── main
│ │ │ ├── java
│ │ │ ├── Main.java
│ │ │ └── org
│ │ │ │ └── apache
│ │ │ │ └── maven
│ │ │ │ └── test
│ │ │ │ └── TestComponent.java
│ │ │ └── resources
│ │ │ └── META-INF
│ │ │ └── plexus
│ │ │ └── components.xml
│ ├── lib
│ │ ├── pom.xml
│ │ └── src
│ │ │ └── main
│ │ │ ├── java
│ │ │ └── org
│ │ │ │ └── apache
│ │ │ │ └── maven
│ │ │ │ └── component
│ │ │ │ ├── api
│ │ │ │ └── Component.java
│ │ │ │ └── impl
│ │ │ │ └── DefaultComponent.java
│ │ │ └── resources
│ │ │ └── META-INF
│ │ │ └── plexus
│ │ │ └── components.xml
│ └── pom.xml
│ ├── dep-reduced-pom-artifactset-provided-excludes
│ ├── pom.xml
│ └── verify.groovy
│ ├── dep-reduced-pom-exclusions
│ ├── invoker.properties
│ ├── pom.xml
│ └── verify.groovy
│ ├── dep-reduced-pom-relocated-result
│ ├── child
│ │ └── pom.xml
│ ├── invoker.properties
│ └── pom.xml
│ ├── dep-reduced-pom-unique
│ ├── pom.xml
│ └── verify.groovy
│ ├── dep-reduced-pom-use-base-version
│ ├── pom.xml
│ └── verify.groovy
│ ├── dep-reduced-pom-with-local-parent
│ ├── child
│ │ └── pom.xml
│ ├── invoker.properties
│ └── pom.xml
│ ├── dep-reduced-pom
│ ├── pom.xml
│ └── verify.groovy
│ ├── duplicate-classes-with-reloc
│ ├── app
│ │ └── pom.xml
│ ├── libs
│ │ ├── a-0.1.pom
│ │ ├── b-0.1.pom
│ │ └── src
│ │ │ └── main
│ │ │ └── java
│ │ │ └── org
│ │ │ └── apache
│ │ │ └── maven
│ │ │ └── its
│ │ │ └── shade
│ │ │ ├── MyInterface.java
│ │ │ └── impl
│ │ │ └── MyImpl.java
│ └── pom.xml
│ ├── duplicate-classes-without-reloc
│ ├── app
│ │ └── pom.xml
│ ├── libs
│ │ ├── a-0.1.pom
│ │ ├── b-0.1.pom
│ │ └── src
│ │ │ └── main
│ │ │ ├── java
│ │ │ └── org
│ │ │ │ └── apache
│ │ │ │ └── maven
│ │ │ │ └── its
│ │ │ │ └── shade
│ │ │ │ ├── MyInterface.java
│ │ │ │ └── impl
│ │ │ │ └── MyImpl.java
│ │ │ └── resources
│ │ │ └── some-ordinary-resource.txt
│ └── pom.xml
│ ├── empty-apache-notice-transform
│ └── pom.xml
│ ├── empty-relocation-pattern
│ └── pom.xml
│ ├── empty-relocation-shaded-pattern
│ └── pom.xml
│ ├── extrajar-missing-file
│ ├── invoker.properties
│ └── pom.xml
│ ├── extrajar
│ ├── pom.xml
│ └── verify.bsh
│ ├── filter-artifact-contents
│ ├── pom.xml
│ └── verify.bsh
│ ├── finalNameBuild-attached
│ ├── invoker.properties
│ ├── pom.xml
│ ├── setup.bsh
│ ├── src
│ │ └── main
│ │ │ └── resources
│ │ │ └── META-INF
│ │ │ └── ejb-jar.xml
│ └── verify.bsh
│ ├── finalNameBuild
│ ├── invoker.properties
│ ├── pom.xml
│ ├── setup.bsh
│ ├── src
│ │ └── main
│ │ │ └── resources
│ │ │ └── META-INF
│ │ │ └── ejb-jar.xml
│ └── verify.bsh
│ ├── finalNameShade-attached
│ ├── invoker.properties
│ ├── pom.xml
│ ├── setup.bsh
│ ├── src
│ │ └── main
│ │ │ └── resources
│ │ │ └── META-INF
│ │ │ └── ejb-jar.xml
│ └── verify.bsh
│ ├── finalNameShade
│ ├── invoker.properties
│ ├── pom.xml
│ ├── setup.bsh
│ ├── src
│ │ └── main
│ │ │ └── resources
│ │ │ └── META-INF
│ │ │ └── ejb-jar.xml
│ └── verify.bsh
│ ├── implicit-inclusion-of-project-artifact
│ ├── pom.xml
│ ├── src
│ │ └── main
│ │ │ └── java
│ │ │ └── Passed.java
│ └── verify.bsh
│ ├── manifest-retained
│ ├── pom.xml
│ └── verify.bsh
│ ├── manifest-transformed
│ ├── pom.xml
│ └── verify.bsh
│ ├── mini-jar-jdk11+
│ ├── invoker.properties
│ ├── pom.xml
│ ├── src
│ │ └── main
│ │ │ └── java
│ │ │ └── Main.java
│ └── verify.bsh
│ ├── mini-jar-malformed-dependencies
│ ├── invoker.properties
│ └── pom.xml
│ ├── mini-jar-package-info
│ ├── invoker.properties
│ ├── jar-with-package-info
│ │ ├── pom.xml
│ │ └── src
│ │ │ └── main
│ │ │ └── java
│ │ │ └── org
│ │ │ └── apache
│ │ │ └── maven
│ │ │ └── it
│ │ │ └── pi
│ │ │ ├── HaveOneClass.java
│ │ │ ├── TestPackageAnnotation.java
│ │ │ └── package-info.java
│ ├── pom.xml
│ ├── test
│ │ ├── pom.xml
│ │ └── src
│ │ │ └── main
│ │ │ └── java
│ │ │ └── org
│ │ │ └── apache
│ │ │ └── maven
│ │ │ └── it
│ │ │ └── pi
│ │ │ └── Main.java
│ └── verify.bsh
│ ├── mini-jar-respect-includes
│ ├── invoker.properties
│ ├── pom.xml
│ ├── src
│ │ └── main
│ │ │ └── java
│ │ │ └── Main.java
│ └── verify.bsh
│ ├── mini-jar
│ ├── invoker.properties
│ ├── pom.xml
│ ├── src
│ │ └── main
│ │ │ └── java
│ │ │ └── Main.java
│ └── verify.bsh
│ ├── mshade-123
│ ├── assembly.xml
│ ├── invoker.properties
│ ├── pom.xml
│ └── sample.txt
│ ├── non-runtime-scope-excluded
│ ├── pom.xml
│ ├── system.jar
│ └── verify.bsh
│ ├── plugin-descriptor-relocation
│ ├── app
│ │ ├── pom.xml
│ │ └── src
│ │ │ └── main
│ │ │ └── java
│ │ │ └── org
│ │ │ └── apache
│ │ │ └── maven
│ │ │ └── test
│ │ │ ├── Entry.java
│ │ │ └── TestMojo.java
│ ├── lib
│ │ ├── pom.xml
│ │ └── src
│ │ │ └── main
│ │ │ ├── java
│ │ │ └── org
│ │ │ │ └── apache
│ │ │ │ └── maven
│ │ │ │ └── component
│ │ │ │ ├── api
│ │ │ │ └── Component.java
│ │ │ │ └── impl
│ │ │ │ └── DefaultComponent.java
│ │ │ └── resources
│ │ │ └── META-INF
│ │ │ └── plexus
│ │ │ └── components.xml
│ ├── pom.xml
│ └── verify.groovy
│ ├── pom-packaging
│ ├── pom.xml
│ └── verify.bsh
│ ├── project-with-reactors-included
│ ├── invoker.properties
│ ├── one
│ │ ├── pom.xml
│ │ └── src
│ │ │ ├── main
│ │ │ └── java
│ │ │ │ └── org
│ │ │ │ └── apache
│ │ │ │ └── maven
│ │ │ │ └── plugins
│ │ │ │ └── shade
│ │ │ │ └── its
│ │ │ │ └── one
│ │ │ │ ├── App.java
│ │ │ │ └── AppOne.java
│ │ │ └── test
│ │ │ └── java
│ │ │ └── org
│ │ │ └── apache
│ │ │ └── maven
│ │ │ └── plugins
│ │ │ └── shade
│ │ │ └── its
│ │ │ └── one
│ │ │ └── AppTest.java
│ ├── pom.xml
│ ├── two
│ │ ├── pom.xml
│ │ └── src
│ │ │ ├── main
│ │ │ └── java
│ │ │ │ └── org
│ │ │ │ └── apache
│ │ │ │ └── maven
│ │ │ │ └── plugins
│ │ │ │ └── shade
│ │ │ │ └── its
│ │ │ │ └── two
│ │ │ │ └── App.java
│ │ │ └── test
│ │ │ └── java
│ │ │ └── org
│ │ │ └── apache
│ │ │ └── maven
│ │ │ └── plugins
│ │ │ └── shade
│ │ │ └── its
│ │ │ └── two
│ │ │ └── AppTest.java
│ └── verify.bsh
│ ├── reloc-abs-resource-path-exclude
│ ├── pom.xml
│ └── src
│ │ └── main
│ │ ├── java
│ │ └── Main.java
│ │ └── resources
│ │ └── org
│ │ └── apache
│ │ └── maven
│ │ └── from
│ │ ├── a
│ │ └── test.properties
│ │ └── b
│ │ └── test.properties
│ ├── reloc-abs-resource-path
│ ├── pom.xml
│ └── src
│ │ └── main
│ │ ├── java
│ │ └── Main.java
│ │ └── resources
│ │ └── org
│ │ └── apache
│ │ └── maven
│ │ └── from
│ │ └── test.properties
│ ├── reloc-and-mini
│ ├── invoker.properties
│ ├── pom.xml
│ ├── src
│ │ └── main
│ │ │ └── java
│ │ │ └── org
│ │ │ └── apache
│ │ │ └── maven
│ │ │ └── plugins
│ │ │ └── shade
│ │ │ └── its
│ │ │ └── App.java
│ └── verify.bsh
│ ├── reloc-anno
│ ├── invoker.properties
│ ├── pom.xml
│ └── src
│ │ └── main
│ │ └── java
│ │ ├── Main.java
│ │ └── relocated
│ │ └── MyAnno.java
│ ├── reloc-class-from-string-pool
│ ├── pom.xml
│ └── src
│ │ └── main
│ │ └── java
│ │ ├── Main.java
│ │ └── relocated
│ │ └── RelocatedClass.java
│ ├── reloc-enum-ref-from-anno
│ ├── invoker.properties
│ ├── pom.xml
│ └── src
│ │ └── main
│ │ └── java
│ │ ├── Main.java
│ │ ├── MyAnno.java
│ │ └── relocated
│ │ └── MyEnum.java
│ ├── reloc-includes-excludes
│ ├── pom.xml
│ └── verify.bsh
│ ├── rerun-with-reloc
│ ├── invoker.properties
│ ├── pom.xml
│ └── src
│ │ └── main
│ │ ├── java
│ │ └── org
│ │ │ └── MyInterface.java
│ │ └── resources
│ │ └── some-ordinary-resource.txt
│ ├── rerun-without-reloc
│ ├── invoker.properties
│ ├── pom.xml
│ └── src
│ │ └── main
│ │ ├── java
│ │ └── org
│ │ │ └── MyInterface.java
│ │ └── resources
│ │ └── some-ordinary-resource.txt
│ ├── services-resource-transformer-with-reloc-includes-excludes
│ ├── pom.xml
│ └── verify.bsh
│ ├── services-resource-transformer
│ ├── pom.xml
│ └── verify.bsh
│ ├── setup-parent
│ └── pom.xml
│ ├── shadePomDependency
│ ├── pom.xml
│ ├── pomDependency
│ │ └── pom.xml
│ ├── shadingModule
│ │ └── pom.xml
│ └── testModule
│ │ ├── pom.xml
│ │ └── src
│ │ └── main
│ │ └── java
│ │ └── ShadedClassUsage.java
│ ├── shading-with-java-8-sources
│ ├── invoker.properties
│ ├── pom.xml
│ ├── src
│ │ └── main
│ │ │ └── java
│ │ │ └── org
│ │ │ └── apache
│ │ │ └── maven
│ │ │ └── plugins
│ │ │ └── shade
│ │ │ └── its
│ │ │ └── App.java
│ └── verify.groovy
│ ├── shading-with-release-sources
│ ├── invoker.properties
│ ├── pom.xml
│ ├── src
│ │ └── main
│ │ │ └── java
│ │ │ └── org
│ │ │ └── apache
│ │ │ └── maven
│ │ │ └── plugins
│ │ │ └── shade
│ │ │ └── its
│ │ │ └── App.java
│ └── verify.groovy
│ ├── users-shader-impl
│ ├── invoker.properties
│ ├── pom.xml
│ ├── src
│ │ ├── main
│ │ │ └── java
│ │ │ │ └── org
│ │ │ │ └── apache
│ │ │ │ └── maven
│ │ │ │ └── plugins
│ │ │ │ └── shade
│ │ │ │ └── its
│ │ │ │ └── App.java
│ │ └── test
│ │ │ └── java
│ │ │ └── org
│ │ │ └── apache
│ │ │ └── maven
│ │ │ └── plugins
│ │ │ └── shade
│ │ │ └── its
│ │ │ └── AppTest.java
│ └── verify.groovy
│ └── xml-transformer-ignores-dtd
│ ├── pom.xml
│ ├── src
│ └── main
│ │ └── resources
│ │ └── test.xml
│ └── verify.bsh
├── main
└── java
│ └── org
│ └── apache
│ └── maven
│ └── plugins
│ └── shade
│ ├── DefaultShader.java
│ ├── ShadeRequest.java
│ ├── Shader.java
│ ├── ShadingResult.java
│ ├── filter
│ ├── Filter.java
│ ├── MinijarFilter.java
│ └── SimpleFilter.java
│ ├── mojo
│ ├── ArchiveFilter.java
│ ├── ArtifactId.java
│ ├── ArtifactSelector.java
│ ├── ArtifactSet.java
│ ├── PackageRelocation.java
│ ├── RelativizePath.java
│ └── ShadeMojo.java
│ ├── pom
│ ├── Counter.java
│ ├── MavenJDOMWriter.java
│ └── PomWriter.java
│ ├── relocation
│ ├── Relocator.java
│ └── SimpleRelocator.java
│ └── resource
│ ├── AbstractCompatibilityTransformer.java
│ ├── ApacheLicenseResourceTransformer.java
│ ├── ApacheNoticeResourceTransformer.java
│ ├── AppendingTransformer.java
│ ├── ComponentsXmlResourceTransformer.java
│ ├── DontIncludeResourceTransformer.java
│ ├── GroovyResourceTransformer.java
│ ├── IncludeResourceTransformer.java
│ ├── ManifestResourceTransformer.java
│ ├── PluginXmlResourceTransformer.java
│ ├── ReproducibleResourceTransformer.java
│ ├── ResourceBundleAppendingTransformer.java
│ ├── ResourceTransformer.java
│ ├── ServicesResourceTransformer.java
│ ├── SisuIndexResourceTransformer.java
│ ├── UseDependencyReducedPom.java
│ ├── XmlAppendingTransformer.java
│ └── properties
│ ├── MicroprofileConfigTransformer.java
│ ├── OpenWebBeansPropertiesTransformer.java
│ ├── PropertiesTransformer.java
│ ├── SortedProperties.java
│ └── io
│ ├── NoCloseOutputStream.java
│ └── SkipPropertiesDateLineWriter.java
├── site
├── apt
│ ├── examples
│ │ ├── attached-artifact.apt.vm
│ │ ├── class-relocation.apt.vm
│ │ ├── executable-jar.apt.vm
│ │ ├── includes-excludes.apt.vm
│ │ ├── resource-transformers.apt.vm
│ │ └── use-shader-other-impl.apt.vm
│ ├── index.apt.vm
│ └── usage.apt.vm
├── fml
│ └── faq.fml
├── resources
│ └── download.cgi
├── site.xml
└── xdoc
│ └── download.xml.vm
└── test
├── jars
├── plexus-utils-1.4.1.jar
├── test-artifact-1.0-SNAPSHOT.jar
└── test-project-1.0-SNAPSHOT.jar
├── java
└── org
│ └── apache
│ └── maven
│ └── plugins
│ └── shade
│ ├── DefaultShaderTest.java
│ ├── MockShader.java
│ ├── custom
│ └── CustomReproducibleResourceTransformer.java
│ ├── filter
│ ├── MinijarFilterTest.java
│ └── SimpleFilterTest.java
│ ├── mojo
│ ├── ArtifactIdTest.java
│ ├── ArtifactSelectorTest.java
│ ├── RelativizePathTest.java
│ └── ShadeMojoTest.java
│ ├── relocation
│ ├── SimpleRelocatorParameterTest.java
│ └── SimpleRelocatorTest.java
│ └── resource
│ ├── ApacheLicenseResourceTransformerTest.java
│ ├── ApacheNoticeResourceTransformerTest.java
│ ├── AppendingTransformerTest.java
│ ├── ComponentsXmlResourceTransformerTest.java
│ ├── GroovyResourceTransformerTest.java
│ ├── ManifestResourceTransformerTest.java
│ ├── ReproducibleResourceTransformer.java
│ ├── ResourceBundleAppendingTransformerTest.java
│ ├── ServiceResourceTransformerTest.java
│ ├── XmlAppendingTransformerTest.java
│ ├── properties
│ └── PropertiesTransformerTest.java
│ └── rule
│ └── TransformerTesterRule.java
├── projects
├── default-config-project
│ └── pom.xml
├── no-relocation-project
│ └── pom.xml
├── pom.xml
├── shaded-attached-project
│ └── pom.xml
├── shaded-project
│ └── pom.xml
├── shaded-renamed-project
│ └── pom.xml
├── test-artifact
│ ├── pom.xml
│ └── src
│ │ └── main
│ │ └── java
│ │ └── org
│ │ └── apache
│ │ └── maven
│ │ └── plugins
│ │ └── shade
│ │ └── Lib.java
└── test-project
│ ├── pom.xml
│ └── src
│ ├── main
│ ├── java
│ │ └── org
│ │ │ └── apache
│ │ │ └── maven
│ │ │ └── plugins
│ │ │ └── shade
│ │ │ └── App.java
│ └── resources
│ │ └── META-INF
│ │ └── plexus
│ │ └── components.xml
│ └── test
│ └── java
│ └── org
│ └── apache
│ └── maven
│ └── plugins
│ └── shade
│ └── AppTest.java
└── resources
├── components-1.xml
├── components-2.xml
└── components-expected.xml
/.git-blame-ignore-revs:
--------------------------------------------------------------------------------
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 | # Change maven code style
21 | 80d78cc62109585f14659d509211a14d36867a78
22 |
23 |
--------------------------------------------------------------------------------
/.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 | name: Verify
18 |
19 | on:
20 | push:
21 | pull_request:
22 |
23 | jobs:
24 | build:
25 | name: Verify
26 | uses: apache/maven-gh-actions-shared/.github/workflows/maven-verify.yml@v4
27 | with:
28 | ff-jdk: "21"
29 |
--------------------------------------------------------------------------------
/.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@v2
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: '27 2 * * *'
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
17 |
--------------------------------------------------------------------------------
/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/it/MSHADE-321_respectDrpFlag/repo/org/apache/maven/its/shade/drp/a/0.1/a-0.1.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/maven-shade-plugin/5115e41e66ac19f10b661e63f8de76ad3e5905d2/src/it/MSHADE-321_respectDrpFlag/repo/org/apache/maven/its/shade/drp/a/0.1/a-0.1.jar
--------------------------------------------------------------------------------
/src/it/MSHADE-321_respectDrpFlag/repo/org/apache/maven/its/shade/drp/a/0.1/a-0.1.pom:
--------------------------------------------------------------------------------
1 |
2 |
3 |
21 |
22 |
23 | 4.0.0
24 |
25 | org.apache.maven.its.shade.drp
26 | a
27 | 0.1
28 | jar
29 |
30 |
--------------------------------------------------------------------------------
/src/it/mrm/repository/MSHADE-247/mshade-247-one-0.1-sources.jar/org/apache/maven/its/shade/csj/Test.java:
--------------------------------------------------------------------------------
1 | package org.apache.maven.its.shade.csj;
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 Test
23 | {
24 |
25 | }
26 |
--------------------------------------------------------------------------------
/src/it/mrm/repository/artifact-includes-excludes/a-0.1.jar/a.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.
--------------------------------------------------------------------------------
/src/it/mrm/repository/artifact-includes-excludes/b-0.2.jar/b.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.
--------------------------------------------------------------------------------
/src/it/mrm/repository/dep-reduced-pom-exclusions/b-0.2-alt.jar/b-alt.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.
--------------------------------------------------------------------------------
/src/it/mrm/repository/dep-reduced-pom/b-0.2-client.jar/b-client.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.
--------------------------------------------------------------------------------
/src/it/mrm/repository/filter-artifact-contents/a-0.1.jar/META-INF/maven/org.apache.maven.its.shade.fac/a/pom.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 | version=0.1
18 | groupId=org.apache.maven.its.shade.fac
19 | artifactId=a
20 |
--------------------------------------------------------------------------------
/src/it/mrm/repository/filter-artifact-contents/a-0.1.jar/a.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.
--------------------------------------------------------------------------------
/src/it/mrm/repository/filter-artifact-contents/a-0.1.jar/org/a.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.
--------------------------------------------------------------------------------
/src/it/mrm/repository/filter-artifact-contents/a-0.1.jar/org/apache/a.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.
--------------------------------------------------------------------------------
/src/it/mrm/repository/filter-artifact-contents/a-0.1.jar/org/apache/maven/a.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.
--------------------------------------------------------------------------------
/src/it/mrm/repository/filter-artifact-contents/b-0.1-client.jar/META-INF/maven/org.apache.maven.its.shade.fac/b/pom.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 | version=0.1
18 | groupId=org.apache.maven.its.shade.fac
19 | artifactId=b
20 |
--------------------------------------------------------------------------------
/src/it/mrm/repository/filter-artifact-contents/b-0.1-client.jar/b.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.
--------------------------------------------------------------------------------
/src/it/mrm/repository/filter-artifact-contents/b-0.1-client.jar/org/apache/b.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.
--------------------------------------------------------------------------------
/src/it/mrm/repository/filter-artifact-contents/b-0.1-client.jar/org/apache/maven/b.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.
--------------------------------------------------------------------------------
/src/it/mrm/repository/filter-artifact-contents/b-0.1-client.jar/org/apache/maven/b/b.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.
--------------------------------------------------------------------------------
/src/it/mrm/repository/filter-artifact-contents/b-0.1-client.jar/org/b.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.
--------------------------------------------------------------------------------
/src/it/mrm/repository/non-runtime-scope-excluded/compile-1.0.jar/compile.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.
--------------------------------------------------------------------------------
/src/it/mrm/repository/non-runtime-scope-excluded/provided-1.0.jar/provided.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.
--------------------------------------------------------------------------------
/src/it/mrm/repository/non-runtime-scope-excluded/runtime-1.0.jar/runtime.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.
--------------------------------------------------------------------------------
/src/it/mrm/repository/non-runtime-scope-excluded/test-1.0.jar/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.
--------------------------------------------------------------------------------
/src/it/mrm/repository/services-resource-transformer-with-reloc-includes-excludes/mshade-237-one-0.1.jar/META-INF/services/org.apache.maven.shade:
--------------------------------------------------------------------------------
1 | org.apache.maven.its.shade.One
--------------------------------------------------------------------------------
/src/it/mrm/repository/services-resource-transformer-with-reloc-includes-excludes/mshade-237-two-0.1.jar/META-INF/services/org.apache.maven.shade:
--------------------------------------------------------------------------------
1 | org.apache.maven.its.shade.Two
--------------------------------------------------------------------------------
/src/it/mrm/repository/services-resource-transformer/one-0.1.jar/META-INF/services/org.apache.maven.Shade:
--------------------------------------------------------------------------------
1 | one # NOTE: No newline terminates this line/file
--------------------------------------------------------------------------------
/src/it/mrm/repository/services-resource-transformer/two-0.1.jar/META-INF/services/org.apache.maven.Shade:
--------------------------------------------------------------------------------
1 | two # NOTE: No newline terminates this line/file
--------------------------------------------------------------------------------
/src/it/projects/MSHADE-105/bundle/src/main/java/test/Dummy.java:
--------------------------------------------------------------------------------
1 | package test;
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 | import internal.io.IOUtils;
24 |
25 | import java.io.IOException;
26 | import java.io.InputStream;
27 |
28 | public class Dummy {
29 | public static void dump(InputStream in) throws IOException {
30 | IOUtils.copy(in, System.out);
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/src/it/projects/MSHADE-133/src/main/resources/logback.xml:
--------------------------------------------------------------------------------
1 |
2 |
20 |
21 |
--------------------------------------------------------------------------------
/src/it/projects/MSHADE-133/src/main/resources/myConfig.yml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/maven-shade-plugin/5115e41e66ac19f10b661e63f8de76ad3e5905d2/src/it/projects/MSHADE-133/src/main/resources/myConfig.yml
--------------------------------------------------------------------------------
/src/it/projects/MSHADE-133/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 | def jarFile = new java.util.jar.JarFile( new File( basedir, "/target/MSHADE-133-1.0-SNAPSHOT.jar" ) )
21 | assert jarFile.getJarEntry("myComfig.yml") == null
22 | assert jarFile.getJarEntry("logback.xml") == null
23 |
--------------------------------------------------------------------------------
/src/it/projects/MSHADE-155/src/main/resources/META-INF/ejb-jar.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
21 |
22 |
--------------------------------------------------------------------------------
/src/it/projects/MSHADE-155/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 | File targetFolder = new File ( basedir, "target" )
21 |
22 | File originalArtifact = new File ( targetFolder, "shadedartifactid-1.0.jar" )
23 | assert originalArtifact.isFile()
24 |
25 | File shadedArtifact = new File ( targetFolder, "shadedartifactid-special-1.0-shaded.jar")
26 | assert shadedArtifact.isFile()
27 |
--------------------------------------------------------------------------------
/src/it/projects/MSHADE-182/src/main/resources/META-INF/services/relocateme.Service:
--------------------------------------------------------------------------------
1 | relocateme.ServiceImpl
2 |
--------------------------------------------------------------------------------
/src/it/projects/MSHADE-182/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 | def jarFile = new java.util.jar.JarFile(new File(basedir, "/target/MSHADE-182-1.0-SNAPSHOT.jar"))
21 | def jarEntry = jarFile.getJarEntry("META-INF/services/relocated.Service")
22 | def content = new java.io.BufferedReader(new java.io.InputStreamReader(jarFile.getInputStream(jarEntry)))
23 | assert content.readLine() == "relocated.ServiceImpl"
24 |
--------------------------------------------------------------------------------
/src/it/projects/MSHADE-185/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 = 9-
19 |
--------------------------------------------------------------------------------
/src/it/projects/MSHADE-232_ResourceBundleAppendingTransformer/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=clean package
19 |
--------------------------------------------------------------------------------
/src/it/projects/MSHADE-232_ResourceBundleAppendingTransformer/one/src/main/resources/org/apache/maven/plugins/shade/its/Message.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 | one = one
19 |
--------------------------------------------------------------------------------
/src/it/projects/MSHADE-232_ResourceBundleAppendingTransformer/one/src/main/resources/org/apache/maven/plugins/shade/its/Message_nl.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 | one = een
19 |
--------------------------------------------------------------------------------
/src/it/projects/MSHADE-232_ResourceBundleAppendingTransformer/two/src/main/resources/org/apache/maven/plugins/shade/its/Message.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 | two = two
19 |
--------------------------------------------------------------------------------
/src/it/projects/MSHADE-232_ResourceBundleAppendingTransformer/two/src/main/resources/org/apache/maven/plugins/shade/its/Message_nl.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 | two = twee
19 |
--------------------------------------------------------------------------------
/src/it/projects/MSHADE-284_shadeTestJar/api/src/main/java/Api.java:
--------------------------------------------------------------------------------
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 | public class Api
21 | {
22 | }
23 |
--------------------------------------------------------------------------------
/src/it/projects/MSHADE-284_shadeTestJar/api/src/main/resources/api-resource.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 |
--------------------------------------------------------------------------------
/src/it/projects/MSHADE-284_shadeTestJar/api/src/test/java/ApiTest.java:
--------------------------------------------------------------------------------
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 | public class ApiTest
21 | {
22 | public static void main(String[] args) {
23 | new Api();
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/src/it/projects/MSHADE-284_shadeTestJar/api/src/test/resources/api-test-resource.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 |
--------------------------------------------------------------------------------
/src/it/projects/MSHADE-284_shadeTestJar/impl/src/main/java/Impl.java:
--------------------------------------------------------------------------------
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 | public class Impl extends Api
21 | {
22 | }
23 |
--------------------------------------------------------------------------------
/src/it/projects/MSHADE-284_shadeTestJar/impl/src/main/resources/impl-resource.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 |
--------------------------------------------------------------------------------
/src/it/projects/MSHADE-284_shadeTestJar/impl/src/test/java/ImplTest.java:
--------------------------------------------------------------------------------
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 | public class ImplTest extends ApiTest
21 | {
22 | public static void main(String[] args) {
23 | new Impl();
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/src/it/projects/MSHADE-284_shadeTestJar/impl/src/test/resources/impl-test-resource.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 |
--------------------------------------------------------------------------------
/src/it/projects/MSHADE-285_createTestSourcesJar/api/src/main/java/Api.java:
--------------------------------------------------------------------------------
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 | * Production API class.
22 | */
23 | public class Api
24 | {
25 | }
26 |
--------------------------------------------------------------------------------
/src/it/projects/MSHADE-285_createTestSourcesJar/api/src/test/java/ApiTest.java:
--------------------------------------------------------------------------------
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 | * Test API class.
22 | */
23 | public class ApiTest
24 | {
25 | public static void main(String[] args) {
26 | new Api();
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/src/it/projects/MSHADE-285_createTestSourcesJar/impl/src/main/java/Impl.java:
--------------------------------------------------------------------------------
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 | * Production implementation class.
22 | */
23 | public class Impl extends Api
24 | {
25 | }
26 |
--------------------------------------------------------------------------------
/src/it/projects/MSHADE-285_createTestSourcesJar/impl/src/test/java/ImplTest.java:
--------------------------------------------------------------------------------
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 | * Test implementation class.
22 | */
23 | public class ImplTest extends ApiTest
24 | {
25 | public static void main(String[] args) {
26 | new Impl();
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/src/it/projects/MSHADE-313_minimized-services/dependency-service/pom.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
21 |
22 |
23 | 4.0.0
24 |
25 | org.apache.maven.its.shade.mj
26 | dependency-service
27 | 1.0
28 |
29 |
--------------------------------------------------------------------------------
/src/it/projects/MSHADE-313_minimized-services/dependency-service/src/main/java/DependencyReferencedClass.java:
--------------------------------------------------------------------------------
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 | public class DependencyReferencedClass
21 | {
22 | }
23 |
--------------------------------------------------------------------------------
/src/it/projects/MSHADE-313_minimized-services/dependency-service/src/main/java/DependencyServiceClass.java:
--------------------------------------------------------------------------------
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 | public class DependencyServiceClass implements DependencyServiceInterface
21 | {
22 | private static DependencyReferencedClass anEssentialDependency;
23 | }
24 |
--------------------------------------------------------------------------------
/src/it/projects/MSHADE-313_minimized-services/dependency-service/src/main/java/DependencyServiceInterface.java:
--------------------------------------------------------------------------------
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 | public interface DependencyServiceInterface
21 | {
22 | }
23 |
--------------------------------------------------------------------------------
/src/it/projects/MSHADE-313_minimized-services/dependency-service/src/main/java/DependencyUnreferencedClass.java:
--------------------------------------------------------------------------------
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 | public class DependencyUnreferencedClass
21 | {
22 | }
23 |
--------------------------------------------------------------------------------
/src/it/projects/MSHADE-313_minimized-services/dependency-service/src/main/resources/META-INF/services/DependencyServiceInterface:
--------------------------------------------------------------------------------
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 | DependencyServiceClass # Please do not remove comments or whitespace; they are part of the IT test.
20 |
21 |
--------------------------------------------------------------------------------
/src/it/projects/MSHADE-313_minimized-services/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 | # jdependency-2.6.0 needs Java 8+
19 | invoker.java.version = 1.8+
20 |
--------------------------------------------------------------------------------
/src/it/projects/MSHADE-313_minimized-services/test/src/main/java/Main.java:
--------------------------------------------------------------------------------
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.util.ServiceLoader;
21 |
22 | public class Main
23 | {
24 | public static void main( String[] args ) {
25 | ServiceLoader.load( SomeServiceInterface.class );
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/src/it/projects/MSHADE-313_minimized-services/unused-service/pom.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
21 |
22 |
23 | 4.0.0
24 |
25 | org.apache.maven.its.shade.mj
26 | unused-service
27 | 1.0
28 |
29 |
--------------------------------------------------------------------------------
/src/it/projects/MSHADE-313_minimized-services/unused-service/src/main/java/UnusedServiceClass.java:
--------------------------------------------------------------------------------
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 | public class UnusedServiceClass implements UnusedServiceInterface
21 | {
22 | }
23 |
--------------------------------------------------------------------------------
/src/it/projects/MSHADE-313_minimized-services/unused-service/src/main/java/UnusedServiceInterface.java:
--------------------------------------------------------------------------------
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 | public interface UnusedServiceInterface
21 | {
22 | }
23 |
--------------------------------------------------------------------------------
/src/it/projects/MSHADE-313_minimized-services/unused-service/src/main/resources/META-INF/services/UnusedServiceInterface:
--------------------------------------------------------------------------------
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 | UnusedServiceClass # Please do not remove comments or whitespace; they are part of the IT test.
20 |
21 |
--------------------------------------------------------------------------------
/src/it/projects/MSHADE-313_minimized-services/used-service/src/main/java/SomeReferencedClass.java:
--------------------------------------------------------------------------------
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.util.ServiceLoader;
21 |
22 | public class SomeReferencedClass
23 | {
24 | {
25 | ServiceLoader.load( DependencyServiceInterface.class );
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/src/it/projects/MSHADE-313_minimized-services/used-service/src/main/java/SomeServiceClass.java:
--------------------------------------------------------------------------------
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 | public class SomeServiceClass implements SomeServiceInterface
21 | {
22 | private static SomeReferencedClass anEssentialDependency;
23 | }
24 |
--------------------------------------------------------------------------------
/src/it/projects/MSHADE-313_minimized-services/used-service/src/main/java/SomeServiceInterface.java:
--------------------------------------------------------------------------------
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 | public interface SomeServiceInterface
21 | {
22 | }
23 |
--------------------------------------------------------------------------------
/src/it/projects/MSHADE-313_minimized-services/used-service/src/main/java/SomeUnreferencedClass.java:
--------------------------------------------------------------------------------
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 | public class SomeUnreferencedClass
21 | {
22 | }
23 |
--------------------------------------------------------------------------------
/src/it/projects/MSHADE-313_minimized-services/used-service/src/main/resources/META-INF/services/SomeServiceInterface:
--------------------------------------------------------------------------------
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 | SomeServiceClass # Please do not remove comments or whitespace; they are part of the IT test.
20 |
21 |
--------------------------------------------------------------------------------
/src/it/projects/MSHADE-316/dependency/pom.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
21 |
22 |
23 | 4.0.0
24 |
25 | org.apache.maven.its.shade.mj
26 | dependency
27 | 1.0
28 |
29 |
--------------------------------------------------------------------------------
/src/it/projects/MSHADE-316/dependency/src/main/java/SomeUnusedClass.java:
--------------------------------------------------------------------------------
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 | public class SomeUnusedClass
21 | {
22 | }
23 |
--------------------------------------------------------------------------------
/src/it/projects/MSHADE-316/dependency/src/main/java/SomeUsedClass.java:
--------------------------------------------------------------------------------
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.util.ServiceLoader;
21 |
22 | public class SomeUsedClass
23 | {
24 | }
25 |
--------------------------------------------------------------------------------
/src/it/projects/MSHADE-316/dependency/src/main/java/x/y/z/AnotherExemptedClass.java:
--------------------------------------------------------------------------------
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 | package x.y.z;
21 |
22 | public class AnotherExemptedClass
23 | {
24 | }
25 |
--------------------------------------------------------------------------------
/src/it/projects/MSHADE-316/dependency/src/main/java/x/y/z/SomeDependencyOfExemptedClass.java:
--------------------------------------------------------------------------------
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 | package x.y.z;
21 |
22 | public class SomeDependencyOfExemptedClass
23 | {
24 | }
25 |
--------------------------------------------------------------------------------
/src/it/projects/MSHADE-316/dependency/src/main/java/x/y/z/SomeExemptedClass.java:
--------------------------------------------------------------------------------
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 | package x.y.z;
21 |
22 | public class SomeExemptedClass
23 | {
24 | public SomeDependencyOfExemptedClass essentialDependency;
25 | }
26 |
--------------------------------------------------------------------------------
/src/it/projects/MSHADE-316/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 | # jdependency-2.6.0 needs Java 8+
19 | invoker.java.version = 1.8+
20 |
--------------------------------------------------------------------------------
/src/it/projects/MSHADE-316/test/src/main/java/Main.java:
--------------------------------------------------------------------------------
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 | public class Main
21 | {
22 | public SomeUsedClass essentialDependency;
23 |
24 | public static void main( String[] args ) throws ClassNotFoundException
25 | {
26 | Class.forName( "x.y.z.SomeExemptedClass" );
27 | Class.forName( "x.y.z.AnotherExemptedClass" );
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/src/it/projects/MSHADE-340_shadedTestJarArtifactAttached/api/src/main/java/Api.java:
--------------------------------------------------------------------------------
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 | * Production API class.
22 | */
23 | public class Api
24 | {
25 | }
26 |
--------------------------------------------------------------------------------
/src/it/projects/MSHADE-340_shadedTestJarArtifactAttached/api/src/test/java/ApiTest.java:
--------------------------------------------------------------------------------
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 | * Test API class.
22 | */
23 | public class ApiTest
24 | {
25 | public static void main(String[] args) {
26 | new Api();
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/src/it/projects/MSHADE-340_shadedTestJarArtifactAttached/impl/src/main/java/Impl.java:
--------------------------------------------------------------------------------
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 | * Production implementation class.
22 | */
23 | public class Impl extends Api
24 | {
25 | }
26 |
--------------------------------------------------------------------------------
/src/it/projects/MSHADE-340_shadedTestJarArtifactAttached/impl/src/test/java/ImplTest.java:
--------------------------------------------------------------------------------
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 | * Test implementation class.
22 | */
23 | public class ImplTest extends ApiTest
24 | {
25 | public static void main(String[] args) {
26 | new Impl();
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/src/it/projects/MSHADE-340_shadedTestJarArtifactAttached/uber-user/src/main/java/UberUser.java:
--------------------------------------------------------------------------------
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 | public class UberUser
21 | {
22 | Api api;
23 | Impl impl;
24 | }
25 |
--------------------------------------------------------------------------------
/src/it/projects/MSHADE-340_shadedTestJarArtifactAttached/uber/src/main/java/Uber.java:
--------------------------------------------------------------------------------
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 | * Proper class of the uber project.
22 | */
23 | public class Uber
24 | {
25 | }
26 |
--------------------------------------------------------------------------------
/src/it/projects/MSHADE-340_shadedTestJarArtifactAttached/uber/src/test/java/UberTest.java:
--------------------------------------------------------------------------------
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 | * Proper test of the uber project.
22 | */
23 | public class UberTest
24 | {
25 | }
26 |
--------------------------------------------------------------------------------
/src/it/projects/MSHADE-351/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 | import java.io.*;
20 | import java.util.jar.*;
21 | import org.codehaus.plexus.util.*;
22 |
23 | JarFile jarFile = new JarFile( new File( basedir, "target/test-1.0.jar" ) );
24 | JarEntry jarEntry = jarFile.getEntry( "META-INF/services/org.apache.maven.Shade" );
25 | String service = IOUtil.toString( jarFile.getInputStream( jarEntry ), "UTF-8" );
26 | jarFile.close();
27 |
--------------------------------------------------------------------------------
/src/it/projects/MSHADE-36-inject-dep-reduced-pom-in-final/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 = clean package
19 |
--------------------------------------------------------------------------------
/src/it/projects/MSHADE-363_old-Transformer/src/main/resources/Message.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 | one = one
19 |
--------------------------------------------------------------------------------
/src/it/projects/MSHADE-363_old-plugin/src/main/resources/Message.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 | one = one
19 |
--------------------------------------------------------------------------------
/src/it/projects/MSHADE-382_skip_execution/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.8+
19 |
--------------------------------------------------------------------------------
/src/it/projects/MSHADE-382_skip_execution/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/original-skip-execution-1.0.jar" ).exists()) : "Shading was not skipped."
--------------------------------------------------------------------------------
/src/it/projects/MSHADE-390-sisu-index/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=clean package
19 |
--------------------------------------------------------------------------------
/src/it/projects/MSHADE-390-sisu-index/one/src/main/java/org/apache/one/One.java:
--------------------------------------------------------------------------------
1 | package org.apache.one;
2 |
3 | public class One {
4 |
5 | }
--------------------------------------------------------------------------------
/src/it/projects/MSHADE-390-sisu-index/one/src/main/resources/META-INF/sisu/javax.inject.Named:
--------------------------------------------------------------------------------
1 | org.apache.one.One
--------------------------------------------------------------------------------
/src/it/projects/MSHADE-390-sisu-index/two/src/main/java/org/apache/two/Two.java:
--------------------------------------------------------------------------------
1 | package org.apache.two;
2 |
3 | public class Two {
4 |
5 | }
--------------------------------------------------------------------------------
/src/it/projects/MSHADE-390-sisu-index/two/src/main/resources/META-INF/sisu/javax.inject.Named:
--------------------------------------------------------------------------------
1 | org.apache.two.Two
--------------------------------------------------------------------------------
/src/it/projects/MSHADE-390-sisu-index/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 | def jarFile = new java.util.jar.JarFile(new File(basedir, "two/target/two-1.0-SNAPSHOT.jar"))
21 | def jarEntry = jarFile.getJarEntry("META-INF/sisu/javax.inject.Named")
22 | def merged = jarFile.getInputStream(jarEntry).getText()
23 | assert merged.contains( 'org.apache.two.org.apache.one.One' )
24 | assert merged.contains( 'org.apache.two.Two' )
25 |
--------------------------------------------------------------------------------
/src/it/projects/MSHADE-400_self-minimized-services/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 | # jdependency-2.6.0 needs Java 8+
19 | invoker.java.version = 1.8+
20 |
--------------------------------------------------------------------------------
/src/it/projects/MSHADE-400_self-minimized-services/src/main/java/org/acme/Application.java:
--------------------------------------------------------------------------------
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 | package org.acme;
20 |
21 | import java.util.ServiceLoader;
22 |
23 | public class Application
24 | {
25 | private UsedClass usedClass = new UsedClass();
26 |
27 | public static void main( String[] args )
28 | {
29 | ServiceLoader.load( UsedService.class );
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/src/it/projects/MSHADE-400_self-minimized-services/src/main/java/org/acme/UnusedClass.java:
--------------------------------------------------------------------------------
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 | package org.acme;
20 |
21 | public class UnusedClass
22 | {
23 | }
24 |
--------------------------------------------------------------------------------
/src/it/projects/MSHADE-400_self-minimized-services/src/main/java/org/acme/UnusedService.java:
--------------------------------------------------------------------------------
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 | package org.acme;
20 |
21 | public interface UnusedService
22 | {
23 | public void doSomething();
24 | }
25 |
--------------------------------------------------------------------------------
/src/it/projects/MSHADE-400_self-minimized-services/src/main/java/org/acme/UnusedServiceImplA.java:
--------------------------------------------------------------------------------
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 | package org.acme;
20 |
21 | public class UnusedServiceImplA implements UnusedService
22 | {
23 | @Override
24 | public void doSomething()
25 | {
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/src/it/projects/MSHADE-400_self-minimized-services/src/main/java/org/acme/UnusedServiceImplB.java:
--------------------------------------------------------------------------------
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 | package org.acme;
20 |
21 | public class UnusedServiceImplB implements UnusedService
22 | {
23 | @Override
24 | public void doSomething()
25 | {
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/src/it/projects/MSHADE-400_self-minimized-services/src/main/java/org/acme/UsedClass.java:
--------------------------------------------------------------------------------
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 | package org.acme;
20 |
21 | public class UsedClass
22 | {
23 | }
24 |
--------------------------------------------------------------------------------
/src/it/projects/MSHADE-400_self-minimized-services/src/main/java/org/acme/UsedService.java:
--------------------------------------------------------------------------------
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 | package org.acme;
20 |
21 | public interface UsedService
22 | {
23 | public void doSomething();
24 | }
25 |
--------------------------------------------------------------------------------
/src/it/projects/MSHADE-400_self-minimized-services/src/main/java/org/acme/UsedServiceUnusedImpl.java:
--------------------------------------------------------------------------------
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 | package org.acme;
20 |
21 | public class UsedServiceUnusedImpl implements UsedService
22 | {
23 | @Override
24 | public void doSomething()
25 | {
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/src/it/projects/MSHADE-400_self-minimized-services/src/main/java/org/acme/UsedServiceUsedImpl.java:
--------------------------------------------------------------------------------
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 | package org.acme;
20 |
21 | public class UsedServiceUsedImpl implements UsedService
22 | {
23 | @Override
24 | public void doSomething()
25 | {
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/src/it/projects/MSHADE-400_self-minimized-services/src/main/resources/META-INF/services/org.acme.UnusedService:
--------------------------------------------------------------------------------
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 | # These services are defined, but not used in the entry point or any of its dependency classes
21 | org.acme.UnusedServiceUsedImplA
22 | org.acme.UnusedServiceUsedImplB
23 |
--------------------------------------------------------------------------------
/src/it/projects/MSHADE-400_self-minimized-services/src/main/resources/META-INF/services/org.acme.UsedService:
--------------------------------------------------------------------------------
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 | org.acme.UsedServiceUsedImpl
21 |
22 | # This implementation is *not* used:
23 | # org.acme.UsedServiceUnusedImpl
24 |
--------------------------------------------------------------------------------
/src/it/projects/MSHADE-413-parallel/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.timeoutInSeconds=60
19 | invoker.goals = clean install -T2 -pl p1/ -pl p2/
20 |
--------------------------------------------------------------------------------
/src/it/projects/MSHADE-420/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 = clean package -DfinalName=current-OS dependency:copy-dependencies
19 |
20 | invoker.mavenOpts.2=-Duser.timezone=Etc/UTC
21 | invoker.goals.2 = package -DfinalName=UTC
22 | invoker.mavenOpts.3=-Duser.timezone=Asia/Tokyo
23 | invoker.goals.3 = package -DfinalName=Tokyo
24 | invoker.mavenOpts.4=-Duser.timezone=Canada/Yukon
25 | invoker.goals.4 = package -DfinalName=Yukon
26 |
--------------------------------------------------------------------------------
/src/it/projects/MSHADE-462/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.timeoutInSeconds=60
19 | invoker.goals = clean install
20 |
--------------------------------------------------------------------------------
/src/it/projects/MSHADE-462/one/src/main/java/org/apache/one/One.java:
--------------------------------------------------------------------------------
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 | package org.apache.one;
21 |
22 | public class One {
23 |
24 | }
--------------------------------------------------------------------------------
/src/it/projects/MSHADE-467_parallel-dependency-reduced-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 = package -T 4
19 |
--------------------------------------------------------------------------------
/src/it/projects/MSHADE-467_parallel-dependency-reduced-pom/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 | (1..4).each {
20 | def exclusionCount = new File("$basedir/shadeMT$it/dependency-reduced-pom.xml")
21 | .readLines()
22 | .findAll { it.contains '' }
23 | .size()
24 | assert exclusionCount == 5
25 | } || true
26 |
--------------------------------------------------------------------------------
/src/it/projects/attach-after-lifecycle-fork/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 | # verify -shade and -sources are attached and installed
19 | invoker.goals = install
20 |
--------------------------------------------------------------------------------
/src/it/projects/attach-after-lifecycle-fork/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 |
23 | import org.codehaus.plexus.util.*;
24 |
25 | File file = new File( localRepositoryPath, "org/apache/maven/its/shade/aalf" );
26 | System.out.println( "Deleting " + file );
27 | FileUtils.deleteDirectory( file );
28 |
29 | return true;
30 |
--------------------------------------------------------------------------------
/src/it/projects/attached-artifact-type/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: Running only up to "package" is crucial, we want to check proper resolution from the reactor
19 | invoker.goals = clean package
20 |
--------------------------------------------------------------------------------
/src/it/projects/attached-artifact-type/shade/src/main/resources/META-INF/ejb-jar.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
21 |
22 |
--------------------------------------------------------------------------------
/src/it/projects/component-descriptor-relocation/app/src/main/java/org/apache/maven/test/TestComponent.java:
--------------------------------------------------------------------------------
1 | package org.apache.maven.test;
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 | import org.apache.maven.component.api.*;
24 |
25 | public class TestComponent implements Component
26 | {
27 |
28 | private Component component;
29 |
30 | public String getId()
31 | {
32 | return "test-" + component.getId();
33 | }
34 |
35 | }
36 |
--------------------------------------------------------------------------------
/src/it/projects/component-descriptor-relocation/lib/src/main/java/org/apache/maven/component/api/Component.java:
--------------------------------------------------------------------------------
1 | package org.apache.maven.component.api;
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 interface Component
23 | {
24 |
25 | String getId();
26 |
27 | }
28 |
--------------------------------------------------------------------------------
/src/it/projects/component-descriptor-relocation/lib/src/main/java/org/apache/maven/component/impl/DefaultComponent.java:
--------------------------------------------------------------------------------
1 | package org.apache.maven.component.impl;
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.apache.maven.component.api.*;
23 |
24 | public class DefaultComponent implements Component
25 | {
26 |
27 | public String getId()
28 | {
29 | return "default";
30 | }
31 |
32 | }
33 |
--------------------------------------------------------------------------------
/src/it/projects/dep-reduced-pom-exclusions/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.timeoutInSeconds=60
--------------------------------------------------------------------------------
/src/it/projects/dep-reduced-pom-relocated-result/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 = clean package
19 | invoker.project = child
20 |
--------------------------------------------------------------------------------
/src/it/projects/dep-reduced-pom-with-local-parent/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 = clean package
19 | invoker.project = child
20 |
--------------------------------------------------------------------------------
/src/it/projects/dep-reduced-pom/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 | import groovy.xml.XmlParser
20 |
21 | File pomFile = new File( basedir, "target/dependency-reduced-pom.xml" );
22 | assert pomFile.isFile()
23 |
24 | def ns = new groovy.xml.Namespace("http://maven.apache.org/POM/4.0.0")
25 | def pom = new XmlParser().parse( pomFile )
26 |
27 | assert pom[ns.modelVersion].size() == 1
28 | assert pom[ns.dependencies][ns.dependency].size() == 0
29 |
--------------------------------------------------------------------------------
/src/it/projects/duplicate-classes-with-reloc/libs/a-0.1.pom:
--------------------------------------------------------------------------------
1 |
2 |
3 |
21 |
22 |
23 | 4.0.0
24 |
25 | org.apache.maven.its.shade.dcwr
26 | a
27 | 0.1
28 | jar
29 |
30 |
--------------------------------------------------------------------------------
/src/it/projects/duplicate-classes-with-reloc/libs/b-0.1.pom:
--------------------------------------------------------------------------------
1 |
2 |
3 |
21 |
22 |
23 | 4.0.0
24 |
25 | org.apache.maven.its.shade.dcwr
26 | b
27 | 0.1
28 | jar
29 |
30 |
--------------------------------------------------------------------------------
/src/it/projects/duplicate-classes-with-reloc/libs/src/main/java/org/apache/maven/its/shade/MyInterface.java:
--------------------------------------------------------------------------------
1 | package org.apache.maven.its.shade;
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 interface MyInterface
23 | {
24 | void execute();
25 | }
26 |
--------------------------------------------------------------------------------
/src/it/projects/duplicate-classes-with-reloc/libs/src/main/java/org/apache/maven/its/shade/impl/MyImpl.java:
--------------------------------------------------------------------------------
1 | package org.apache.maven.its.shade.impl;
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.apache.maven.its.shade.MyInterface;
23 |
24 | public class MyImpl implements MyInterface
25 | {
26 | @Override
27 | public void execute()
28 | {
29 | // do nothing
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/src/it/projects/duplicate-classes-without-reloc/libs/a-0.1.pom:
--------------------------------------------------------------------------------
1 |
2 |
3 |
21 |
22 |
23 | 4.0.0
24 |
25 | org.apache.maven.its.shade.dcwor
26 | a
27 | 0.1
28 | jar
29 |
30 |
--------------------------------------------------------------------------------
/src/it/projects/duplicate-classes-without-reloc/libs/b-0.1.pom:
--------------------------------------------------------------------------------
1 |
2 |
3 |
21 |
22 |
23 | 4.0.0
24 |
25 | org.apache.maven.its.shade.dcwor
26 | b
27 | 0.1
28 | jar
29 |
30 |
--------------------------------------------------------------------------------
/src/it/projects/duplicate-classes-without-reloc/libs/src/main/java/org/apache/maven/its/shade/MyInterface.java:
--------------------------------------------------------------------------------
1 | package org.apache.maven.its.shade;
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 interface MyInterface
23 | {
24 | void execute();
25 | }
26 |
--------------------------------------------------------------------------------
/src/it/projects/duplicate-classes-without-reloc/libs/src/main/java/org/apache/maven/its/shade/impl/MyImpl.java:
--------------------------------------------------------------------------------
1 | package org.apache.maven.its.shade.impl;
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.apache.maven.its.shade.MyInterface;
23 |
24 | public class MyImpl implements MyInterface
25 | {
26 | @Override
27 | public void execute()
28 | {
29 | // do nothing
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/src/it/projects/duplicate-classes-without-reloc/libs/src/main/resources/some-ordinary-resource.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.
--------------------------------------------------------------------------------
/src/it/projects/extrajar-missing-file/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/projects/finalNameBuild-attached/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 = install
19 |
--------------------------------------------------------------------------------
/src/it/projects/finalNameBuild-attached/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 | import java.io.*;
20 | import java.util.*;
21 |
22 | import org.codehaus.plexus.util.*;
23 |
24 | File file = new File( localRepositoryPath, "org/apache/maven/its/shade/fnba" );
25 | System.out.println( "Deleting " + file );
26 | FileUtils.deleteDirectory( file );
27 |
28 | return true;
29 |
30 |
--------------------------------------------------------------------------------
/src/it/projects/finalNameBuild-attached/src/main/resources/META-INF/ejb-jar.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
21 |
22 |
--------------------------------------------------------------------------------
/src/it/projects/finalNameBuild/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 = install
19 |
--------------------------------------------------------------------------------
/src/it/projects/finalNameBuild/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 | import java.io.*;
20 | import java.util.*;
21 |
22 | import org.codehaus.plexus.util.*;
23 |
24 | File file = new File( localRepositoryPath, "org/apache/maven/its/shade/fnb" );
25 | System.out.println( "Deleting " + file );
26 | FileUtils.deleteDirectory( file );
27 |
28 | return true;
29 |
30 |
--------------------------------------------------------------------------------
/src/it/projects/finalNameBuild/src/main/resources/META-INF/ejb-jar.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
21 |
22 |
--------------------------------------------------------------------------------
/src/it/projects/finalNameShade-attached/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 = install
19 |
--------------------------------------------------------------------------------
/src/it/projects/finalNameShade-attached/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 | import java.io.*;
20 | import java.util.*;
21 |
22 | import org.codehaus.plexus.util.*;
23 |
24 | File file = new File( localRepositoryPath, "org/apache/maven/its/shade/fnsa" );
25 | System.out.println( "Deleting " + file );
26 | FileUtils.deleteDirectory( file );
27 |
28 | return true;
29 |
30 |
--------------------------------------------------------------------------------
/src/it/projects/finalNameShade-attached/src/main/resources/META-INF/ejb-jar.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
21 |
22 |
--------------------------------------------------------------------------------
/src/it/projects/finalNameShade/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 = install
19 |
--------------------------------------------------------------------------------
/src/it/projects/finalNameShade/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 | import java.io.*;
20 | import java.util.*;
21 |
22 | import org.codehaus.plexus.util.*;
23 |
24 | File file = new File( localRepositoryPath, "org/apache/maven/its/shade/fns" );
25 | System.out.println( "Deleting " + file );
26 | FileUtils.deleteDirectory( file );
27 |
28 | return true;
29 |
30 |
--------------------------------------------------------------------------------
/src/it/projects/finalNameShade/src/main/resources/META-INF/ejb-jar.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
21 |
22 |
--------------------------------------------------------------------------------
/src/it/projects/implicit-inclusion-of-project-artifact/src/main/java/Passed.java:
--------------------------------------------------------------------------------
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 | public class Passed
21 | {
22 | }
23 |
--------------------------------------------------------------------------------
/src/it/projects/mini-jar-jdk11+/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 = 11+
19 |
--------------------------------------------------------------------------------
/src/it/projects/mini-jar-jdk11+/src/main/java/Main.java:
--------------------------------------------------------------------------------
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 | public class Main extends junit.framework.TestCase
21 | {
22 | static class Nested { // Trigger MSHADE-302
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/src/it/projects/mini-jar-malformed-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.java.version = 1.8+
19 |
--------------------------------------------------------------------------------
/src/it/projects/mini-jar-package-info/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.8+
19 |
--------------------------------------------------------------------------------
/src/it/projects/mini-jar-package-info/jar-with-package-info/src/main/java/org/apache/maven/it/pi/HaveOneClass.java:
--------------------------------------------------------------------------------
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 | package org.apache.maven.it.pi;
20 |
21 | public class HaveOneClass
22 | {
23 | public static final String CONSTANT = "variable";
24 |
25 | }
26 |
--------------------------------------------------------------------------------
/src/it/projects/mini-jar-package-info/jar-with-package-info/src/main/java/org/apache/maven/it/pi/TestPackageAnnotation.java:
--------------------------------------------------------------------------------
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 | package org.apache.maven.it.pi;
20 |
21 | import java.lang.annotation.Retention;
22 | import java.lang.annotation.RetentionPolicy;
23 |
24 | @Retention(RetentionPolicy.CLASS)
25 | public @interface TestPackageAnnotation
26 | {
27 |
28 | }
29 |
--------------------------------------------------------------------------------
/src/it/projects/mini-jar-package-info/jar-with-package-info/src/main/java/org/apache/maven/it/pi/package-info.java:
--------------------------------------------------------------------------------
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 | * This is some javadoc for the package org.apache.maven.it.pi.
22 | *
23 | * @since 100
24 | */
25 | @TestPackageAnnotation
26 | package org.apache.maven.it.pi;
--------------------------------------------------------------------------------
/src/it/projects/mini-jar-package-info/test/src/main/java/org/apache/maven/it/pi/Main.java:
--------------------------------------------------------------------------------
1 | package org.apache.maven.it.pi;
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 Main extends HaveOneClass
23 | {
24 | }
25 |
--------------------------------------------------------------------------------
/src/it/projects/mini-jar-respect-includes/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.8+
19 |
--------------------------------------------------------------------------------
/src/it/projects/mini-jar-respect-includes/src/main/java/Main.java:
--------------------------------------------------------------------------------
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 | public class Main
21 | extends junit.framework.TestCase
22 | {
23 | }
24 |
--------------------------------------------------------------------------------
/src/it/projects/mini-jar/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.8+
19 |
--------------------------------------------------------------------------------
/src/it/projects/mini-jar/src/main/java/Main.java:
--------------------------------------------------------------------------------
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 | public class Main
21 | extends junit.framework.TestCase
22 | {
23 | }
24 |
--------------------------------------------------------------------------------
/src/it/projects/mshade-123/assembly.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
21 |
22 |
23 | zip
24 |
25 | zip
26 |
27 |
28 | true
29 |
30 |
31 |
32 | sample.txt
33 | /
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/src/it/projects/mshade-123/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.8+
19 |
--------------------------------------------------------------------------------
/src/it/projects/mshade-123/sample.txt:
--------------------------------------------------------------------------------
1 | SAMPLE FILE
--------------------------------------------------------------------------------
/src/it/projects/non-runtime-scope-excluded/system.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/maven-shade-plugin/5115e41e66ac19f10b661e63f8de76ad3e5905d2/src/it/projects/non-runtime-scope-excluded/system.jar
--------------------------------------------------------------------------------
/src/it/projects/plugin-descriptor-relocation/app/src/main/java/org/apache/maven/test/Entry.java:
--------------------------------------------------------------------------------
1 | package org.apache.maven.test;
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 Entry
23 | {
24 |
25 | }
--------------------------------------------------------------------------------
/src/it/projects/plugin-descriptor-relocation/lib/src/main/java/org/apache/maven/component/api/Component.java:
--------------------------------------------------------------------------------
1 | package org.apache.maven.component.api;
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 interface Component
23 | {
24 |
25 | String getId();
26 |
27 | }
28 |
--------------------------------------------------------------------------------
/src/it/projects/plugin-descriptor-relocation/lib/src/main/java/org/apache/maven/component/impl/DefaultComponent.java:
--------------------------------------------------------------------------------
1 | package org.apache.maven.component.impl;
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.apache.maven.component.api.*;
23 |
24 | public class DefaultComponent implements Component
25 | {
26 |
27 | public String getId()
28 | {
29 | return "default";
30 | }
31 |
32 | }
33 |
--------------------------------------------------------------------------------
/src/it/projects/plugin-descriptor-relocation/lib/src/main/resources/META-INF/plexus/components.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
21 |
22 |
23 |
24 |
25 |
26 |
--------------------------------------------------------------------------------
/src/main/java/org/apache/maven/plugins/shade/ShadingResult.java:
--------------------------------------------------------------------------------
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 | package org.apache.maven.plugins.shade;
20 |
21 | /**
22 | * @author Jason van Zyl
23 | */
24 | public class ShadingResult {
25 | // no op
26 | // olamy: what this class ??
27 | }
28 |
--------------------------------------------------------------------------------
/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/jars/plexus-utils-1.4.1.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/maven-shade-plugin/5115e41e66ac19f10b661e63f8de76ad3e5905d2/src/test/jars/plexus-utils-1.4.1.jar
--------------------------------------------------------------------------------
/src/test/jars/test-artifact-1.0-SNAPSHOT.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/maven-shade-plugin/5115e41e66ac19f10b661e63f8de76ad3e5905d2/src/test/jars/test-artifact-1.0-SNAPSHOT.jar
--------------------------------------------------------------------------------
/src/test/jars/test-project-1.0-SNAPSHOT.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/maven-shade-plugin/5115e41e66ac19f10b661e63f8de76ad3e5905d2/src/test/jars/test-project-1.0-SNAPSHOT.jar
--------------------------------------------------------------------------------