├── .git-blame-ignore-revs ├── .github ├── dependabot.yml └── workflows │ └── ci.yml ├── .gitignore ├── .java-version ├── .mvn └── wrapper │ └── maven-wrapper.properties ├── LICENSE.txt ├── README.md ├── mvnw ├── mvnw.cmd ├── pom.xml ├── takari-lifecycle-plugin-its ├── .settings │ ├── org.eclipse.jdt.core.prefs │ └── org.eclipse.jdt.ui.prefs ├── pom.xml └── src │ └── test │ ├── java │ └── io │ │ └── tesla │ │ └── maven │ │ └── plugins │ │ └── test │ │ ├── AbstractIntegrationTest.java │ │ ├── BasicTest.java │ │ ├── CompileAnnotationProcessingTest.java │ │ ├── CompileClasspathTest.java │ │ ├── CompileMultimoduleTest.java │ │ ├── DeployAtEndTest.java │ │ ├── FilteringResourcesTest.java │ │ ├── MultimoduleSkipInstallDeployTest.java │ │ └── PomPackagingTest.java │ ├── projects │ ├── basic-builder │ │ ├── pom.xml │ │ └── src │ │ │ └── main │ │ │ └── java │ │ │ └── io │ │ │ └── takari │ │ │ └── BasicBuilder.java │ ├── basic-component │ │ ├── pom.xml │ │ └── src │ │ │ ├── main │ │ │ ├── java │ │ │ │ └── basic │ │ │ │ │ └── Basic.java │ │ │ └── resources │ │ │ │ └── main.properties │ │ │ └── test │ │ │ ├── java │ │ │ └── basic │ │ │ │ └── test │ │ │ │ └── BasicTest.java │ │ │ └── resources │ │ │ └── test.properties │ ├── basic-plugin │ │ ├── pom.xml │ │ └── src │ │ │ ├── main │ │ │ ├── java │ │ │ │ └── basic │ │ │ │ │ └── plugin │ │ │ │ │ └── BasicMojo.java │ │ │ ├── m2e │ │ │ │ └── lifecycle-mapping-metadata.xml │ │ │ └── resources │ │ │ │ └── main.properties │ │ │ └── test │ │ │ ├── java │ │ │ └── basic │ │ │ │ └── plugin │ │ │ │ └── test │ │ │ │ └── BasicMojoTest.java │ │ │ └── resources │ │ │ └── test.properties │ ├── basic │ │ ├── pom.xml │ │ └── src │ │ │ ├── main │ │ │ ├── java │ │ │ │ └── basic │ │ │ │ │ └── Basic.java │ │ │ └── resources │ │ │ │ └── main.properties │ │ │ └── test │ │ │ ├── java │ │ │ └── basic │ │ │ │ └── test │ │ │ │ └── BasicTest.java │ │ │ └── resources │ │ │ └── test.properties │ ├── compile-classpath │ │ ├── pom.xml │ │ └── src │ │ │ └── main │ │ │ └── java │ │ │ └── classpath │ │ │ └── Classpath.java │ ├── compile-multimodule │ │ ├── modulea │ │ │ ├── pom.xml │ │ │ └── src │ │ │ │ ├── main │ │ │ │ └── java │ │ │ │ │ └── modulea │ │ │ │ │ └── A.java │ │ │ │ └── test │ │ │ │ └── java │ │ │ │ └── modulea │ │ │ │ └── tests │ │ │ │ └── ATest.java │ │ ├── moduleb │ │ │ ├── pom.xml │ │ │ └── src │ │ │ │ ├── main │ │ │ │ └── java │ │ │ │ │ └── moduleb │ │ │ │ │ └── B.java │ │ │ │ └── test │ │ │ │ └── java │ │ │ │ └── moduleb │ │ │ │ └── tests │ │ │ │ └── BTest.java │ │ └── pom.xml │ ├── compile-proc │ │ ├── pom.xml │ │ ├── processor │ │ │ ├── pom.xml │ │ │ └── src │ │ │ │ └── main │ │ │ │ ├── java │ │ │ │ └── processor │ │ │ │ │ ├── MyAnnotation.java │ │ │ │ │ └── MyAnnotationProcessor.java │ │ │ │ └── resources │ │ │ │ └── META-INF │ │ │ │ └── services │ │ │ │ └── javax.annotation.processing.Processor │ │ └── project │ │ │ ├── pom.xml │ │ │ └── src │ │ │ └── main │ │ │ └── java │ │ │ └── project │ │ │ ├── MyAnnotationClient.java │ │ │ └── MyMyAnnotationClientClient.java │ ├── filtering-command-line-parameters │ │ ├── pom.xml │ │ └── src │ │ │ └── main │ │ │ └── resources │ │ │ └── filtered.properties │ ├── filtering-reflective-settings │ │ ├── pom.xml │ │ └── src │ │ │ └── main │ │ │ └── resources │ │ │ └── filtered.properties │ ├── filtering-source-encoding │ │ ├── pom.xml │ │ └── src │ │ │ └── main │ │ │ └── resources │ │ │ └── filtered.properties │ ├── multimodule-deploy-at-end-bad │ │ ├── modulea │ │ │ ├── pom.xml │ │ │ └── src │ │ │ │ └── main │ │ │ │ └── java │ │ │ │ └── basic │ │ │ │ └── Basic.java │ │ ├── moduleb │ │ │ ├── pom.xml │ │ │ └── src │ │ │ │ └── main │ │ │ │ └── java │ │ │ │ └── basic │ │ │ │ └── Basic.java │ │ └── pom.xml │ ├── multimodule-deploy-at-end │ │ ├── modulea │ │ │ ├── pom.xml │ │ │ └── src │ │ │ │ └── main │ │ │ │ └── java │ │ │ │ └── basic │ │ │ │ └── Basic.java │ │ ├── moduleb │ │ │ ├── pom.xml │ │ │ └── src │ │ │ │ └── main │ │ │ │ └── java │ │ │ │ └── basic │ │ │ │ └── Basic.java │ │ └── pom.xml │ ├── multimodule-skip-install-deploy │ │ ├── modulea │ │ │ ├── pom.xml │ │ │ └── src │ │ │ │ ├── main │ │ │ │ ├── java │ │ │ │ │ └── basic │ │ │ │ │ │ └── Basic.java │ │ │ │ └── resources │ │ │ │ │ └── resource.txt │ │ │ │ └── test │ │ │ │ ├── java │ │ │ │ └── basic.test │ │ │ │ │ └── BasicTest.java │ │ │ │ └── resources │ │ │ │ └── test-resource.txt │ │ ├── moduleb │ │ │ ├── pom.xml │ │ │ └── src │ │ │ │ ├── main │ │ │ │ ├── java │ │ │ │ │ └── basic │ │ │ │ │ │ └── Basic.java │ │ │ │ └── resources │ │ │ │ │ └── resource.txt │ │ │ │ └── test │ │ │ │ ├── java │ │ │ │ └── basic.test │ │ │ │ │ └── BasicTest.java │ │ │ │ └── resources │ │ │ │ └── test-resource.txt │ │ └── pom.xml │ └── pom-packaging │ │ └── pom.xml │ └── test.properties └── takari-lifecycle-plugin ├── .settings ├── org.eclipse.jdt.core.prefs └── org.eclipse.jdt.ui.prefs ├── pom.xml └── src ├── main ├── java │ └── io │ │ └── takari │ │ ├── maven │ │ └── plugins │ │ │ ├── Deploy.java │ │ │ ├── Install.java │ │ │ ├── TakariLifecycleFlags.java │ │ │ ├── TakariLifecycleMojo.java │ │ │ ├── TakariLifecycles.java │ │ │ ├── compile │ │ │ ├── AbstractCompileMojo.java │ │ │ ├── AbstractCompiler.java │ │ │ ├── ArtifactFile.java │ │ │ ├── ArtifactFileHolder.java │ │ │ ├── CompileMojo.java │ │ │ ├── CompilerBuildContext.java │ │ │ ├── ProcessorpathResolver.java │ │ │ ├── ProjectClasspathDigester.java │ │ │ ├── ReactorProjects.java │ │ │ ├── TestCompileMojo.java │ │ │ ├── javac │ │ │ │ ├── AbstractCompilerJavac.java │ │ │ │ ├── CompilerJavac.java │ │ │ │ ├── CompilerJavacForked.java │ │ │ │ ├── CompilerJavacLauncher.java │ │ │ │ ├── FileObjects.java │ │ │ │ ├── IncrementalFileOutputStream.java │ │ │ │ └── RecordingJavaFileManager.java │ │ │ └── jdt │ │ │ │ ├── AccessRestrictionClasspathEntry.java │ │ │ │ ├── AnnotationProcessingState.java │ │ │ │ ├── AnnotationProcessorManager.java │ │ │ │ ├── ClassfileDigester.java │ │ │ │ ├── ClasspathDigester.java │ │ │ │ ├── ClasspathEntryCache.java │ │ │ │ ├── CompilerJdt.java │ │ │ │ ├── FilerImpl.java │ │ │ │ ├── MessagerImpl.java │ │ │ │ ├── OutputDirectoryClasspathEntry.java │ │ │ │ ├── ProcessingEnvImpl.java │ │ │ │ ├── ReferenceCollection.java │ │ │ │ └── classpath │ │ │ │ ├── AbstractClasspathDirectory.java │ │ │ │ ├── Classpath.java │ │ │ │ ├── ClasspathDirectory.java │ │ │ │ ├── ClasspathEntry.java │ │ │ │ ├── ClasspathJar.java │ │ │ │ ├── DependencyClasspathEntry.java │ │ │ │ ├── JavaInstallation.java │ │ │ │ ├── MutableClasspathEntry.java │ │ │ │ ├── PathNormalizer.java │ │ │ │ └── SourcepathDirectory.java │ │ │ ├── configurator │ │ │ ├── MojoConfigurationProcessor.java │ │ │ ├── MojoConfigurator.java │ │ │ └── TakariMojoExecutionConfigurator.java │ │ │ ├── exportpackage │ │ │ └── ExportPackageMojo.java │ │ │ ├── install_deploy │ │ │ └── DeployParticipant.java │ │ │ ├── jar │ │ │ ├── AggregateSource.java │ │ │ ├── ArchiveConfiguration.java │ │ │ ├── BytesEntry.java │ │ │ ├── Jar.java │ │ │ └── PomPropertiesMojo.java │ │ │ ├── packaging │ │ │ ├── LifecycleMappingSupport.java │ │ │ ├── PomLifecycleMapping.java │ │ │ ├── TakariJarArtifactHandler.java │ │ │ ├── TakariJarLifecycleMapping.java │ │ │ ├── TakariMavenComponentArtifactHandler.java │ │ │ ├── TakariMavenComponentLifecycleMapping.java │ │ │ ├── TakariMavenPluginArtifactHandler.java │ │ │ └── TakariMavenPluginLifecycleMapping.java │ │ │ ├── plugin │ │ │ ├── AddPluginArtifactMetadataMojo.java │ │ │ ├── GeneratorUtils.java │ │ │ ├── GroupRepositoryMetadata.java │ │ │ ├── LegacyPluginDescriptors.java │ │ │ ├── MojoAnnotationProcessorMojo.java │ │ │ ├── MojoDescriptorGleaner.java │ │ │ ├── PluginDescriptorMojo.java │ │ │ ├── PluginDescriptorWriter.java │ │ │ └── Sorting.java │ │ │ ├── resources │ │ │ ├── AbstractProcessResourcesMojo.java │ │ │ ├── ProcessResources.java │ │ │ └── ProcessTestResources.java │ │ │ ├── sisu │ │ │ ├── AbstractSisuIndexMojo.java │ │ │ ├── SisuIndexMojo.java │ │ │ └── SisuTestIndexMojo.java │ │ │ ├── testproperties │ │ │ └── TestPropertiesMojo.java │ │ │ └── util │ │ │ ├── AetherUtils.java │ │ │ └── PropertiesWriter.java │ │ └── resources │ │ └── filtering │ │ ├── AbstractResourceProcessor.java │ │ ├── CopyResourcesProcessor.java │ │ ├── FilterResourcesProcessor.java │ │ ├── MissingPropertyAction.java │ │ └── ResourcesProcessor.java ├── m2e │ └── lifecycle-mapping-metadata.xml ├── mdo │ └── mojos.xml └── resources-filtered │ └── io │ └── takari │ └── maven │ └── plugins │ └── packaging │ ├── PomLifecycleMapping.properties │ ├── TakariJarLifecycleMapping.properties │ ├── TakariMavenComponentLifecycleMapping.properties │ └── TakariMavenPluginLifecycleMapping.properties ├── test-input └── src │ └── main │ └── org │ └── codehaus │ └── foo │ ├── Bad.java │ ├── Deprecation.java │ ├── ExternalDeps.java │ ├── Person.java │ ├── ReservedWord.java │ ├── UnknownSymbol.java │ └── WrongClassname.java └── test ├── jars └── commons-lang-2.0.jar ├── java └── io │ └── takari │ └── maven │ └── plugins │ ├── compile │ ├── AbstractCompileTest.java │ ├── AnnotationProcessingTest.java │ ├── ClassfileMatchers.java │ ├── CompileIncrementalTest.java │ ├── CompileJavacClasspathVisibilityTest.java │ ├── CompileRule.java │ ├── CompileTest.java │ ├── ErrorMessage.java │ ├── ForkedCompileTest.java │ ├── MixedCompilerBackendTest.java │ ├── ProcessorpathResolverTest.java │ ├── SimpleReactorReader.java │ └── jdt │ │ ├── AbstractCompileJdtTest.java │ │ ├── CompileJdtClasspathTest.java │ │ ├── CompileJdtClasspathVisibilityTest.java │ │ ├── CompileJdtTest.java │ │ ├── EclipseFileManagerTest.java │ │ ├── FilerImplTest.java │ │ └── classpath │ │ └── ClasspathTest.java │ ├── configurator │ ├── JarTest.java │ └── MojoConfigurationMergerTest.java │ ├── exportpackage │ └── ExportPackageMojoTest.java │ ├── install_deploy │ └── InstallDeployTest.java │ ├── jar │ ├── JarTest.java │ └── PomPropertiesTest.java │ ├── plugin │ ├── MojoDescriptorGleanerTest.java │ └── PluginDescriptorMojoTest.java │ ├── resources │ ├── ResourcesTest.java │ └── TestResourcesTest.java │ ├── sisu │ └── SisuIndexTest.java │ └── testproperties │ └── TestPropertiesMojoTest.java ├── projects ├── compile-incremental │ ├── basic │ │ ├── pom.xml │ │ └── src │ │ │ └── main │ │ │ └── java │ │ │ └── basic │ │ │ ├── Basic.java │ │ │ ├── Basic.java-comment │ │ │ └── Basic.java-modified │ ├── classpath │ │ ├── module-a │ │ │ ├── pom.xml │ │ │ └── src │ │ │ │ └── main │ │ │ │ └── java │ │ │ │ └── modulea │ │ │ │ └── ModuleA.java │ │ ├── module-b │ │ │ ├── module-b-comment.jar │ │ │ ├── module-b-method.jar │ │ │ ├── module-b.jar │ │ │ ├── pom.xml │ │ │ └── src │ │ │ │ └── main │ │ │ │ └── java │ │ │ │ └── moduleb │ │ │ │ ├── ModuleB.java │ │ │ │ ├── ModuleB.java-comment │ │ │ │ ├── ModuleB.java-method │ │ │ │ └── ModuleB.java-orig │ │ └── pom.xml │ ├── crossref │ │ └── src │ │ │ └── main │ │ │ └── java │ │ │ └── crossref │ │ │ ├── A.java │ │ │ ├── A.java-modified │ │ │ └── B.java │ ├── delete │ │ ├── pom.xml │ │ └── src │ │ │ └── main │ │ │ └── java │ │ │ └── delete │ │ │ ├── Delete.java │ │ │ └── Keep.java │ ├── error │ │ ├── pom.xml │ │ └── src │ │ │ └── main │ │ │ └── java │ │ │ └── error │ │ │ ├── Error.java │ │ │ └── Error.java-fixed │ ├── move │ │ ├── module-a │ │ │ ├── pom.xml │ │ │ └── src │ │ │ │ └── main │ │ │ │ └── java │ │ │ │ ├── modulea │ │ │ │ ├── ModuleA.java │ │ │ │ └── ModuleA.java-changed │ │ │ │ └── moving │ │ │ │ └── Moving.java │ │ └── module-b │ │ │ ├── pom.xml │ │ │ └── src │ │ │ └── main │ │ │ └── java │ │ │ └── moving │ │ │ └── Moving.java-changed │ └── reference-nested │ │ └── src │ │ └── main │ │ └── java │ │ └── nested │ │ ├── A.java │ │ ├── A.java-changed │ │ └── B.java ├── compile-jdt-classpath-visibility │ ├── indirect-grandparent │ │ ├── pom.xml │ │ ├── src │ │ │ └── main │ │ │ │ └── java │ │ │ │ └── reference │ │ │ │ └── Reference.java │ │ └── test-parent │ │ │ ├── pom.xml │ │ │ ├── src │ │ │ └── main │ │ │ │ └── java │ │ │ │ └── io │ │ │ │ └── takari │ │ │ │ └── test │ │ │ │ └── parent │ │ │ │ └── ParentClass.java │ │ │ └── test-parent-0.1.jar │ ├── internal-reference │ │ ├── pom.xml │ │ └── src │ │ │ ├── main │ │ │ └── java │ │ │ │ └── reference │ │ │ │ └── Reference.java │ │ │ └── test │ │ │ └── java │ │ │ └── reference │ │ │ └── ReferenceTest.java │ ├── reference │ │ ├── pom.xml │ │ └── src │ │ │ ├── main │ │ │ └── java │ │ │ │ └── reference │ │ │ │ └── Reference.java │ │ │ └── test │ │ │ └── java │ │ │ └── reference │ │ │ └── ReferenceTest.java │ ├── test-dependency-bundle │ │ ├── pom.xml │ │ ├── src │ │ │ └── main │ │ │ │ ├── java │ │ │ │ └── io │ │ │ │ │ └── takari │ │ │ │ │ └── test │ │ │ │ │ └── dependency │ │ │ │ │ ├── DependencyClass.java │ │ │ │ │ └── internal │ │ │ │ │ └── DependencyInternalClass.java │ │ │ │ └── resources │ │ │ │ └── META-INF │ │ │ │ └── MANIFEST.MF │ │ └── test-dependency-bundle-0.1.jar │ └── test-dependency │ │ ├── pom.xml │ │ ├── src │ │ └── main │ │ │ ├── java │ │ │ └── io │ │ │ │ └── takari │ │ │ │ └── test │ │ │ │ └── dependency │ │ │ │ ├── DependencyClass.java │ │ │ │ └── internal │ │ │ │ └── DependencyInternalClass.java │ │ │ └── resources │ │ │ └── META-INF │ │ │ └── takari │ │ │ └── export-package │ │ └── test-dependency-0.1.jar ├── compile-jdt-classpath │ ├── reactor-basic │ │ ├── module-a │ │ │ ├── pom.xml │ │ │ └── src │ │ │ │ └── main │ │ │ │ └── java │ │ │ │ └── reactor │ │ │ │ └── modulea │ │ │ │ └── ModuleA.java │ │ ├── module-b │ │ │ ├── pom.xml │ │ │ └── src │ │ │ │ └── main │ │ │ │ └── java │ │ │ │ └── reactor │ │ │ │ └── moduleb │ │ │ │ ├── ModuleB.java │ │ │ │ ├── ModuleB.java-comment │ │ │ │ └── ModuleB.java-method │ │ └── pom.xml │ ├── reactor-missing-ondemand-import │ │ ├── module-a │ │ │ ├── pom.xml │ │ │ └── src │ │ │ │ └── main │ │ │ │ └── java │ │ │ │ └── modulea │ │ │ │ └── Error.java │ │ ├── module-b │ │ │ ├── pom.xml │ │ │ └── src │ │ │ │ └── main │ │ │ │ └── java │ │ │ │ └── moduleb │ │ │ │ └── Missing.java-missing │ │ └── pom.xml │ ├── reactor-missing-splitpackage │ │ ├── module-a │ │ │ ├── pom.xml │ │ │ └── src │ │ │ │ └── main │ │ │ │ └── java │ │ │ │ └── missing │ │ │ │ └── Error.java │ │ ├── module-b │ │ │ ├── pom.xml │ │ │ └── src │ │ │ │ └── main │ │ │ │ └── java │ │ │ │ └── missing │ │ │ │ └── Missing.java-missing │ │ └── pom.xml │ ├── reactor-missing │ │ ├── module-a │ │ │ ├── pom.xml │ │ │ └── src │ │ │ │ └── main │ │ │ │ └── java │ │ │ │ └── modulea │ │ │ │ └── Error.java │ │ ├── module-b │ │ │ ├── pom.xml │ │ │ └── src │ │ │ │ └── main │ │ │ │ └── java │ │ │ │ └── moduleb │ │ │ │ └── Missing.java-missing │ │ └── pom.xml │ └── repo-basic │ │ ├── module-a │ │ ├── pom.xml │ │ └── src │ │ │ └── main │ │ │ └── java │ │ │ └── reactor │ │ │ └── modulea │ │ │ └── ModuleA.java │ │ ├── module-b │ │ ├── module-b-comment.jar │ │ ├── module-b-method.jar │ │ ├── module-b.jar │ │ ├── pom.xml │ │ └── src │ │ │ └── main │ │ │ └── java │ │ │ └── reactor │ │ │ └── moduleb │ │ │ ├── ModuleB.java-comment │ │ │ ├── ModuleB.java-method │ │ │ └── ModuleB.java-orig │ │ └── pom.xml ├── compile-jdt-proc │ └── getresource-location-classpath │ │ ├── classes │ │ └── dirresource.txt │ │ └── dependency.zip ├── compile-jdt-record-reference │ ├── ExtendsMissing.java │ ├── ExtendsMissingSimple.java │ ├── ExtendsSimple.java │ ├── Implements.java │ ├── Import.java │ ├── ImportOnDemand.java │ ├── MethodParameterType.java │ ├── MethodReturnType.java │ ├── MissingImport.java │ ├── MissingImportOnDemand.java │ ├── NestedParameterizedTypeSelfReference.java │ ├── ParameterizedType.java │ ├── StaticImport.java │ ├── TypeParameter.java │ └── readme.md ├── compile-jdt │ ├── basic │ │ ├── pom.xml │ │ └── src │ │ │ └── main │ │ │ └── java │ │ │ └── basic │ │ │ ├── Basic1.java │ │ │ ├── Basic1.java-changed │ │ │ └── Basic2.java │ ├── circular │ │ ├── pom.xml │ │ └── src │ │ │ └── main │ │ │ └── java │ │ │ └── circular │ │ │ ├── ClassA.java │ │ │ ├── ClassA.java-changed │ │ │ └── ClassB.java │ ├── missing │ │ ├── pom.xml │ │ └── src │ │ │ └── main │ │ │ └── java │ │ │ └── missing │ │ │ ├── Error.java │ │ │ ├── Missing.java-missing │ │ │ └── Other.java │ ├── multifile │ │ ├── pom.xml │ │ └── src │ │ │ └── main │ │ │ └── java │ │ │ └── multifile │ │ │ ├── ClassA.java │ │ │ ├── ClassB.java │ │ │ └── ClassB.java-changed │ ├── reference │ │ ├── pom.xml │ │ └── src │ │ │ └── main │ │ │ └── java │ │ │ └── reference │ │ │ ├── Parameter.java │ │ │ ├── Parameter.java-comment │ │ │ ├── Parameter.java-method │ │ │ └── Type.java │ ├── remove-secondary-type │ │ └── src │ │ │ └── main │ │ │ └── java │ │ │ └── secondary │ │ │ ├── A.java │ │ │ ├── A.java-changed │ │ │ └── B.java │ ├── removed-types │ │ ├── pom.xml │ │ └── src │ │ │ └── main │ │ │ └── java │ │ │ └── removed │ │ │ ├── A.java │ │ │ ├── B.java │ │ │ └── Dummy.java │ ├── secondary-type │ │ ├── pom.xml │ │ └── src │ │ │ └── main │ │ │ └── java │ │ │ └── secondary │ │ │ ├── Primary.java │ │ │ ├── SecondarySubclass.java │ │ │ └── SecondarySubclassClient.java │ └── supertype │ │ ├── pom.xml │ │ └── src │ │ └── main │ │ └── java │ │ └── supertype │ │ ├── SubClass.java │ │ ├── SuperClass.java │ │ ├── SuperClass.java-comment │ │ ├── SuperClass.java-member │ │ ├── SuperClass.java-methodBody │ │ ├── SuperInterface.java │ │ └── SuperInterface.java-comment ├── compile-proc │ ├── multiround-type-index │ │ └── src │ │ │ └── main │ │ │ └── java │ │ │ └── typeindex │ │ │ ├── Annotated.java │ │ │ └── Consumer.java │ ├── multiround-type-reference │ │ └── src │ │ │ └── main │ │ │ └── java │ │ │ └── proc │ │ │ ├── AnotherSource.java │ │ │ ├── Source.java │ │ │ └── Source.java-changed │ ├── multiround │ │ └── src │ │ │ └── main │ │ │ └── java │ │ │ └── multiround │ │ │ └── Source.java │ ├── proc-incremental-delete │ │ └── src │ │ │ └── main │ │ │ └── java │ │ │ └── proc │ │ │ ├── Keep.java │ │ │ └── Source.java │ ├── proc-incremental-move │ │ ├── module-a │ │ │ ├── pom.xml │ │ │ └── src │ │ │ │ └── main │ │ │ │ └── java │ │ │ │ ├── modulea │ │ │ │ └── ModuleA.java-new │ │ │ │ └── proc │ │ │ │ ├── Source.java │ │ │ │ └── Source.java-remove-annotation │ │ └── module-b │ │ │ ├── pom.xml │ │ │ └── src │ │ │ └── main │ │ │ └── java │ │ │ └── proc │ │ │ └── GeneratedSource.java-moved │ ├── proc-incremental-proconly │ │ └── src │ │ │ └── main │ │ │ └── java │ │ │ └── proc │ │ │ ├── Abstract.java │ │ │ ├── Abstract.java-remove-annotation │ │ │ ├── Another.java │ │ │ └── Concrete.java │ ├── proc-incremental-recompile │ │ └── src │ │ │ └── main │ │ │ └── java │ │ │ └── proc │ │ │ ├── Client.java │ │ │ ├── GeneratedSource.body │ │ │ ├── GeneratedSource.body-changed │ │ │ └── Source.java │ ├── proc-sourcepath-cache │ │ ├── project-a │ │ │ ├── pom.xml │ │ │ └── src │ │ │ │ └── main │ │ │ │ └── java │ │ │ │ └── sourcepath │ │ │ │ └── projecta │ │ │ │ └── SourceA.java │ │ └── project-b │ │ │ └── src │ │ │ └── main │ │ │ └── java │ │ │ └── sourcepath │ │ │ └── projectb │ │ │ └── SourceB.java │ ├── proc-sourcepath-includes │ │ └── src │ │ │ └── main │ │ │ └── java │ │ │ └── sourcepath │ │ │ ├── dependency │ │ │ └── SourcepathDependency.java │ │ │ └── project │ │ │ └── Source.java │ ├── proc-sourcepath-nestedtype-through-binary │ │ ├── binary-dependency │ │ │ ├── pom.xml │ │ │ ├── src │ │ │ │ └── main │ │ │ │ │ └── java │ │ │ │ │ └── sourcepath │ │ │ │ │ └── nestedtype │ │ │ │ │ └── dependency │ │ │ │ │ └── BinaryDependency.java │ │ │ └── target │ │ │ │ └── binary-dependency-1.0.jar │ │ ├── dependency │ │ │ ├── pom.xml │ │ │ └── src │ │ │ │ └── main │ │ │ │ └── java │ │ │ │ └── sourcepath │ │ │ │ └── nestedtype │ │ │ │ └── dependency │ │ │ │ └── SourcepathDependency.java │ │ ├── pom.xml │ │ └── project │ │ │ └── src │ │ │ └── main │ │ │ └── java │ │ │ └── sourcepath │ │ │ └── nestedtype │ │ │ └── project │ │ │ └── Source.java │ ├── proc-sourcepath-secondarytype │ │ ├── dependency │ │ │ ├── pom.xml │ │ │ └── src │ │ │ │ ├── main │ │ │ │ └── java │ │ │ │ │ └── sourcepath │ │ │ │ │ └── secondarytype │ │ │ │ │ └── CompilationUnit.java │ │ │ │ └── test │ │ │ │ └── java │ │ │ │ └── sourcepath │ │ │ │ └── dependency │ │ │ │ └── test │ │ │ │ └── SourcepathDependencyTest.java │ │ └── project │ │ │ └── src │ │ │ └── main │ │ │ └── java │ │ │ └── sourcepath │ │ │ └── secondarytype │ │ │ └── Source.java │ ├── proc-sourcepath │ │ ├── dependency │ │ │ ├── pom.xml │ │ │ └── src │ │ │ │ ├── main │ │ │ │ └── java │ │ │ │ │ └── sourcepath │ │ │ │ │ └── dependency │ │ │ │ │ └── SourcepathDependency.java │ │ │ │ └── test │ │ │ │ └── java │ │ │ │ └── sourcepath │ │ │ │ └── dependency │ │ │ │ └── test │ │ │ │ └── SourcepathDependencyTest.java │ │ └── project │ │ │ └── src │ │ │ ├── main │ │ │ └── java │ │ │ │ └── sourcepath │ │ │ │ └── project │ │ │ │ └── Source.java │ │ │ └── test │ │ │ └── java │ │ │ └── sourcepath │ │ │ └── project │ │ │ └── test │ │ │ └── SourceTest.java │ ├── proc-type-reference │ │ ├── pom.xml │ │ └── src │ │ │ └── main │ │ │ └── java │ │ │ └── proc │ │ │ ├── GeneratedSourceSubclass.java │ │ │ └── Source.java │ ├── proc │ │ ├── pom.xml │ │ └── src │ │ │ └── main │ │ │ └── java │ │ │ └── proc │ │ │ ├── Source.java │ │ │ └── Source.java-remove-annotation │ ├── processor │ │ ├── pom.xml │ │ └── src │ │ │ └── main │ │ │ ├── java │ │ │ └── processor │ │ │ │ ├── AbstractElementsListProcessor.java │ │ │ │ ├── Annotation.java │ │ │ │ ├── AnotherProcessor.java │ │ │ │ ├── BrokenProcessor.java │ │ │ │ ├── ElementsListProcessor.java │ │ │ │ ├── ElementsTypeMemberListProcessor.java │ │ │ │ ├── EnclosedElementsProcessor.java │ │ │ │ ├── ErrorMessageProcessor.java │ │ │ │ ├── NonIncrementalProcessor.java │ │ │ │ ├── Processor.java │ │ │ │ ├── ProcessorCreateResource.java │ │ │ │ ├── ProcessorImpl.java │ │ │ │ ├── ProcessorImplLastRound.java │ │ │ │ ├── ProcessorLastRound.java │ │ │ │ ├── ProcessorLastRound_typeIndex.java │ │ │ │ ├── ProcessorSiblingBody.java │ │ │ │ ├── ProcessorWithOptions.java │ │ │ │ ├── Processor_dummyOutput.java │ │ │ │ ├── ProessorValue.java │ │ │ │ ├── ThrowExceptionProcessor.java │ │ │ │ └── TypeJumpingProcessor.java │ │ │ └── resources │ │ │ └── META-INF │ │ │ └── services │ │ │ └── javax.annotation.processing.Processor │ ├── processorpath-annotation │ │ ├── pom.xml │ │ └── src │ │ │ └── main │ │ │ └── java │ │ │ └── processor │ │ │ └── Annotation.java │ ├── processorpath-processor │ │ ├── pom.xml │ │ └── src │ │ │ └── main │ │ │ ├── java │ │ │ └── processor │ │ │ │ ├── Processor.java │ │ │ │ └── ProcessorImpl.java │ │ │ └── resources │ │ │ └── META-INF │ │ │ └── services │ │ │ └── javax.annotation.processing.Processor │ ├── reprocess │ │ └── src │ │ │ └── main │ │ │ └── java │ │ │ └── reprocess │ │ │ ├── Annotated.java │ │ │ ├── SimpleA.java │ │ │ ├── SimpleA.java-changed │ │ │ └── SimpleB.java │ └── require-proc │ │ ├── pom.xml │ │ └── src │ │ └── main │ │ └── java │ │ └── proc │ │ └── Source.java ├── compile │ ├── annotation │ │ └── src │ │ │ └── main │ │ │ └── java │ │ │ └── annotation │ │ │ ├── AnnotatedClass.java │ │ │ └── Annotation.java │ ├── basic │ │ ├── pom.xml │ │ └── src │ │ │ ├── main │ │ │ └── java │ │ │ │ └── basic │ │ │ │ └── Basic.java │ │ │ └── test │ │ │ └── java │ │ │ └── basic │ │ │ └── BasicTest.java │ ├── binary-class-message │ │ ├── annotated.zip │ │ ├── annotated │ │ │ ├── pom.xml │ │ │ └── src │ │ │ │ └── main │ │ │ │ └── java │ │ │ │ ├── annotated │ │ │ │ └── Annotated.java │ │ │ │ └── annotation │ │ │ │ └── Annotation.java │ │ └── project │ │ │ ├── pom.xml │ │ │ └── src │ │ │ └── main │ │ │ └── java │ │ │ └── project │ │ │ └── Project.java │ ├── classpath │ │ ├── pom.xml │ │ └── src │ │ │ └── main │ │ │ └── java │ │ │ └── classpath │ │ │ └── Classpath.java │ ├── empty │ │ └── pom.xml │ ├── encoding │ │ ├── pom.xml │ │ └── src │ │ │ └── main │ │ │ └── java │ │ │ └── encoding │ │ │ └── ISO8859p5.java │ ├── error │ │ ├── pom.xml │ │ └── src │ │ │ └── main │ │ │ └── java │ │ │ └── error │ │ │ └── Error.java │ ├── failOnError │ │ ├── pom.xml │ │ └── src │ │ │ └── main │ │ │ └── java │ │ │ └── basic │ │ │ ├── Basic.java │ │ │ └── Error.java │ ├── implicit-classfile │ │ ├── pom.xml │ │ └── src │ │ │ └── main │ │ │ └── java │ │ │ └── implicit │ │ │ └── Implicit.java │ ├── inner-type-dependency │ │ ├── dependency │ │ │ └── src │ │ │ │ └── main │ │ │ │ └── java │ │ │ │ └── innertype │ │ │ │ └── Outer.java │ │ └── src │ │ │ └── main │ │ │ └── java │ │ │ └── innertyperef │ │ │ └── InnerTypeRef.java │ ├── multiple-executions │ │ └── src │ │ │ └── main │ │ │ └── java │ │ │ ├── main │ │ │ └── Main.java │ │ │ └── other │ │ │ └── Other.java │ ├── parameters │ │ └── src │ │ │ └── main │ │ │ └── java │ │ │ └── parameters │ │ │ └── MethodParameter.java │ ├── source-filtering │ │ ├── pom.xml │ │ └── src │ │ │ └── main │ │ │ └── java │ │ │ └── basic │ │ │ ├── Basic.java │ │ │ └── Garbage.java │ ├── spa ce │ │ ├── pom.xml │ │ └── src │ │ │ └── main │ │ │ └── java │ │ │ └── space │ │ │ └── Space.java │ ├── unexpected-sources │ │ ├── pom.xml │ │ └── src │ │ │ └── main │ │ │ └── java │ │ │ └── nonjava │ │ │ ├── Basic.java │ │ │ └── NonJava.nonjava │ └── warn │ │ ├── pom.xml │ │ └── src │ │ └── main │ │ └── java │ │ └── warn │ │ └── Warn.java ├── configurator │ └── jar │ │ ├── project-with-manifest-under-target-classes │ │ ├── pom.xml │ │ └── target │ │ │ └── classes │ │ │ └── META-INF │ │ │ └── MANIFEST.MF │ │ └── project-with-manifest │ │ ├── pom.xml │ │ └── src │ │ └── META-INF │ │ ├── MANIFEST.MF │ │ └── MANIFEST.MF-changed ├── exportpackage │ └── basic │ │ └── pom.xml ├── install-deploy │ ├── basic │ │ └── pom.xml │ └── deploy-at-end │ │ ├── modulea │ │ ├── pom.xml │ │ └── src │ │ │ └── main │ │ │ └── java │ │ │ └── basic │ │ │ └── Basic.java │ │ ├── moduleb │ │ ├── pom.xml │ │ └── src │ │ │ └── main │ │ │ └── java │ │ │ └── basic │ │ │ └── Basic.java │ │ └── pom.xml ├── jar │ ├── basic │ │ ├── pom.xml │ │ └── src │ │ │ ├── main │ │ │ ├── java │ │ │ │ └── basic │ │ │ │ │ └── Basic.java │ │ │ └── resources │ │ │ │ └── resource.txt │ │ │ └── test │ │ │ ├── java │ │ │ └── basic │ │ │ │ └── test │ │ │ │ └── BasicTest.java │ │ │ └── resources │ │ │ └── test-resource.txt │ ├── empty │ │ └── pom.xml │ ├── project-with-manifest-entries │ │ └── pom.xml │ ├── project-with-manifest-under-target-classes │ │ ├── pom.xml │ │ └── target │ │ │ └── classes │ │ │ └── META-INF │ │ │ └── MANIFEST.MF │ ├── project-with-manifest │ │ ├── pom.xml │ │ └── src │ │ │ └── META-INF │ │ │ ├── MANIFEST.MF │ │ │ └── MANIFEST.MF-changed │ └── project-with-resources │ │ ├── pom.xml │ │ └── src │ │ └── main │ │ └── resources │ │ ├── resource.txt │ │ └── subdir │ │ └── resource.txt ├── plugin-descriptor │ ├── basic-builder │ │ ├── expected │ │ │ ├── lifecycle-mapping-metadata.xml │ │ │ └── plugin.xml │ │ ├── pom.xml │ │ └── src │ │ │ └── main │ │ │ └── java │ │ │ └── io │ │ │ └── takari │ │ │ └── lifecycle │ │ │ └── uts │ │ │ └── plugindescriptor │ │ │ └── BasicBuilder.java │ ├── basic │ │ ├── expected │ │ │ ├── lifecycle-mapping-metadata.xml │ │ │ └── plugin.xml │ │ ├── pom.xml │ │ └── src │ │ │ └── main │ │ │ └── java │ │ │ └── io │ │ │ └── takari │ │ │ └── lifecycle │ │ │ └── uts │ │ │ └── plugindescriptor │ │ │ ├── BasicMojo.java │ │ │ └── ComponentClass.java │ ├── gleaner │ │ ├── pom.xml │ │ └── src │ │ │ └── main │ │ │ └── java │ │ │ └── io │ │ │ └── takari │ │ │ └── lifecycle │ │ │ └── uts │ │ │ └── plugindescriptor │ │ │ └── glean_RequirementTypes.java │ ├── incremental-dependency │ │ ├── dependency │ │ │ ├── .gitignore │ │ │ ├── pom.xml │ │ │ └── src │ │ │ │ └── main │ │ │ │ └── java │ │ │ │ └── io │ │ │ │ └── takari │ │ │ │ └── lifecycle │ │ │ │ └── uts │ │ │ │ └── plugindescriptor │ │ │ │ ├── ComponentClass.java │ │ │ │ └── ComponentClass.java-private-change │ │ └── plugin │ │ │ ├── pom.xml │ │ │ └── src │ │ │ └── main │ │ │ └── java │ │ │ └── io │ │ │ └── takari │ │ │ └── lifecycle │ │ │ └── uts │ │ │ └── plugindescriptor │ │ │ └── BasicMojo.java │ ├── incremental-indirect-reference │ │ ├── expected │ │ │ ├── plugin.xml │ │ │ └── plugin.xml-changed │ │ ├── pom.xml │ │ └── src │ │ │ └── main │ │ │ └── java │ │ │ └── io │ │ │ └── takari │ │ │ └── lifecycle │ │ │ └── uts │ │ │ └── plugindescriptor │ │ │ ├── BasicMojo.java │ │ │ ├── DirectReference.java │ │ │ ├── IndirectReference.java │ │ │ └── IndirectReference.java-changed │ ├── incremental-inheritance │ │ ├── abstract │ │ │ ├── expected │ │ │ │ ├── mojos.xml │ │ │ │ └── mojos.xml-changed │ │ │ ├── pom.xml │ │ │ └── src │ │ │ │ └── main │ │ │ │ └── java │ │ │ │ └── io │ │ │ │ └── takari │ │ │ │ └── lifecycle │ │ │ │ └── uts │ │ │ │ └── plugindescriptor │ │ │ │ ├── AbstractExternalMojo.java │ │ │ │ ├── AbstractExternalMojo.java-changed │ │ │ │ ├── AbstractExternalMojo.java-removed │ │ │ │ └── ComponentClass.java │ │ └── concrete │ │ │ ├── expected │ │ │ ├── mojos.xml │ │ │ ├── mojos.xml-external-changed │ │ │ ├── mojos.xml-external-removed │ │ │ ├── plugin.xml │ │ │ ├── plugin.xml-external-changed │ │ │ └── plugin.xml-external-removed │ │ │ ├── pom.xml │ │ │ └── src │ │ │ └── main │ │ │ └── java │ │ │ └── io │ │ │ └── takari │ │ │ └── lifecycle │ │ │ └── uts │ │ │ └── plugindescriptor │ │ │ ├── AbstractLocalMojo.java │ │ │ └── ConcreteMojo.java │ ├── incremental-javadoc-inheritance │ │ ├── expected │ │ │ ├── plugin.xml │ │ │ └── plugin.xml-changed │ │ ├── pom.xml │ │ └── src │ │ │ └── main │ │ │ └── java │ │ │ └── io │ │ │ └── takari │ │ │ └── lifecycle │ │ │ └── uts │ │ │ └── plugindescriptor │ │ │ ├── AbstractBasicMojo.java │ │ │ ├── AbstractBasicMojo.java-changed │ │ │ └── BasicMojo.java │ ├── inheritance │ │ ├── .gitignore │ │ ├── expected │ │ │ └── plugin.xml │ │ ├── pom.xml │ │ └── src │ │ │ └── main │ │ │ └── java │ │ │ └── io │ │ │ └── takari │ │ │ └── lifecycle │ │ │ └── uts │ │ │ └── plugindescriptor │ │ │ ├── Abstract.java │ │ │ ├── ComponentClass.java │ │ │ ├── ConcreteA.java │ │ │ └── ConcreteB.java │ ├── legacy-inheritance │ │ ├── legacy │ │ │ ├── .gitignore │ │ │ ├── pom.xml │ │ │ └── src │ │ │ │ └── main │ │ │ │ └── java │ │ │ │ └── io │ │ │ │ └── takari │ │ │ │ └── lifecycle │ │ │ │ └── uts │ │ │ │ └── plugindescriptor │ │ │ │ └── LegacyMojo.java │ │ └── plugin │ │ │ ├── .gitignore │ │ │ ├── expected │ │ │ ├── mojos.xml │ │ │ └── plugin.xml │ │ │ ├── pom.xml │ │ │ └── src │ │ │ └── main │ │ │ └── java │ │ │ └── io │ │ │ └── takari │ │ │ └── lifecycle │ │ │ └── uts │ │ │ └── plugindescriptor │ │ │ └── ModernMojo.java │ ├── m2e-metadata │ │ └── src │ │ │ └── main │ │ │ ├── java │ │ │ └── io │ │ │ │ └── takari │ │ │ │ └── lifecycle │ │ │ │ └── uts │ │ │ │ └── plugindescriptor │ │ │ │ └── BasicMojo.java │ │ │ └── m2e │ │ │ └── lifecycle-mapping-metadata.xml │ └── sourcepath-dependency │ │ ├── dependency │ │ ├── .gitignore │ │ ├── pom.xml │ │ └── src │ │ │ └── main │ │ │ └── java │ │ │ └── io │ │ │ └── takari │ │ │ └── lifecycle │ │ │ └── uts │ │ │ └── plugindescriptor │ │ │ └── ComponentClass.java │ │ └── plugin │ │ ├── pom.xml │ │ └── src │ │ └── main │ │ └── java │ │ └── io │ │ └── takari │ │ └── lifecycle │ │ └── uts │ │ └── plugindescriptor │ │ └── BasicMojo.java ├── resources │ ├── project-with-binary-resources │ │ ├── pom.xml │ │ └── src │ │ │ └── main │ │ │ ├── .gitattributes │ │ │ └── resources │ │ │ └── resource.data │ ├── project-with-custom-resources │ │ ├── pom.xml │ │ └── src │ │ │ └── custom │ │ │ └── resources │ │ │ ├── custom.txt │ │ │ └── dummy.txt │ ├── project-with-relative-resources-directory │ │ ├── pom.xml │ │ └── src │ │ │ └── custom │ │ │ └── resources │ │ │ └── custom.txt │ ├── project-with-resources-filtered │ │ ├── expected-resource-empty.txt │ │ ├── expected-resource-leave.txt │ │ ├── pom.xml │ │ └── src │ │ │ └── main │ │ │ └── resources-filtered │ │ │ └── resource.txt │ ├── project-with-resources-filters │ │ ├── expected-resource.txt │ │ ├── pom.xml │ │ └── src │ │ │ └── main │ │ │ ├── filters │ │ │ └── filter.properties │ │ │ └── resources │ │ │ └── resource.txt │ ├── project-with-resources-with-target-path │ │ ├── pom.xml │ │ └── src │ │ │ └── main │ │ │ └── resources │ │ │ └── resource.txt │ ├── project-with-resources │ │ ├── pom.xml │ │ └── src │ │ │ └── main │ │ │ └── resources │ │ │ └── resource.txt │ ├── project-with-test-resources-filtered │ │ ├── expected-resource.txt │ │ ├── pom.xml │ │ └── src │ │ │ └── test │ │ │ └── resources-filtered │ │ │ └── resource.txt │ ├── project-with-test-resources-with-target-path │ │ ├── pom.xml │ │ └── src │ │ │ └── test │ │ │ └── resources │ │ │ └── resource.txt │ ├── project-with-test-resources │ │ ├── pom.xml │ │ └── src │ │ │ └── test │ │ │ └── resources │ │ │ └── resource.txt │ ├── resources-incremental-filtering │ │ ├── expected │ │ │ ├── filtered-resource.txt │ │ │ ├── filtered-resource.txt-pomChanged │ │ │ └── filtered-resource.txt-resourceChanged │ │ ├── filtered-resource.txt-changed │ │ ├── pom.xml │ │ ├── pom.xml-description │ │ └── src │ │ │ └── main │ │ │ └── resources │ │ │ └── filtered-resource.txt │ └── resources-incremental │ │ ├── pom.xml │ │ ├── pom.xml-description │ │ ├── resource.txt-changed │ │ └── src │ │ └── main │ │ └── resources │ │ └── resource.txt ├── sisu-index │ └── src │ │ ├── main │ │ └── java │ │ │ └── sisu │ │ │ ├── Another.java-new │ │ │ ├── Basic.java │ │ │ └── Basic.java-removed │ │ └── test │ │ └── java │ │ └── sisu │ │ └── BasicTest.java └── testproperties │ ├── basic │ └── pom.xml │ ├── custom-test-properties-file │ ├── pom.xml │ └── src │ │ └── test │ │ ├── modified-test.properties │ │ └── test.properties │ └── missing-test-properties │ ├── pom.xml │ └── src │ └── test │ └── test.properties ├── resources └── simplelogger.properties └── test.properties /.git-blame-ignore-revs: -------------------------------------------------------------------------------- 1 | aad04de5aa097c9a1667456785372df334e34539 2 | 3 | -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- 1 | version: 2 2 | updates: 3 | - package-ecosystem: "maven" 4 | directory: "/" 5 | schedule: 6 | interval: "daily" 7 | - package-ecosystem: "github-actions" 8 | directory: "/" 9 | schedule: 10 | interval: "daily" 11 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | .classpath 3 | .project 4 | .settings 5 | *.iml 6 | .idea 7 | out/ 8 | .DS_Store 9 | -------------------------------------------------------------------------------- /.java-version: -------------------------------------------------------------------------------- 1 | 11.0 2 | -------------------------------------------------------------------------------- /.mvn/wrapper/maven-wrapper.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 | wrapperVersion=3.3.2 18 | distributionType=only-script 19 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.9/apache-maven-3.9.9-bin.zip 20 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin-its/src/test/java/io/tesla/maven/plugins/test/CompileMultimoduleTest.java: -------------------------------------------------------------------------------- 1 | package io.tesla.maven.plugins.test; 2 | 3 | import io.takari.maven.testing.executor.MavenRuntime.MavenRuntimeBuilder; 4 | import java.io.File; 5 | import org.junit.Test; 6 | 7 | public class CompileMultimoduleTest extends AbstractIntegrationTest { 8 | 9 | public CompileMultimoduleTest(MavenRuntimeBuilder verifierBuilder) throws Exception { 10 | super(verifierBuilder); 11 | } 12 | 13 | @Test 14 | public void testCompile() throws Exception { 15 | File basedir = resources.getBasedir("compile-multimodule"); 16 | 17 | verifier.forProject(basedir).execute("compile").assertErrorFreeLog(); 18 | } 19 | 20 | @Test 21 | public void testTestCompile() throws Exception { 22 | File basedir = resources.getBasedir("compile-multimodule"); 23 | 24 | verifier.forProject(basedir).execute("test-compile").assertErrorFreeLog(); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin-its/src/test/projects/basic-component/src/main/java/basic/Basic.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2014 Takari, Inc. 3 | * All rights reserved. This program and the accompanying materials 4 | * are made available under the terms of the Eclipse Public License v1.0 5 | * which accompanies this distribution, and is available at 6 | * http://www.eclipse.org/legal/epl-v10.html 7 | */ 8 | package basic; 9 | 10 | @javax.inject.Named 11 | public class Basic { 12 | 13 | } 14 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin-its/src/test/projects/basic-component/src/main/resources/main.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2014 Takari, Inc. 3 | # All rights reserved. This program and the accompanying materials 4 | # are made available under the terms of the Eclipse Public License v1.0 5 | # which accompanies this distribution, and is available at 6 | # http://www.eclipse.org/legal/epl-v10.html 7 | # 8 | 9 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin-its/src/test/projects/basic-component/src/test/java/basic/test/BasicTest.java: -------------------------------------------------------------------------------- 1 | package basic.test; 2 | 3 | @javax.inject.Named 4 | public class BasicTest { 5 | 6 | } 7 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin-its/src/test/projects/basic-component/src/test/resources/test.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takari/takari-lifecycle/29c7c5f8ca9cb1059485df78e4e57d6e1f0bbfce/takari-lifecycle-plugin-its/src/test/projects/basic-component/src/test/resources/test.properties -------------------------------------------------------------------------------- /takari-lifecycle-plugin-its/src/test/projects/basic-plugin/src/main/java/basic/plugin/BasicMojo.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2014 Takari, Inc. 3 | * All rights reserved. This program and the accompanying materials 4 | * are made available under the terms of the Eclipse Public License v1.0 5 | * which accompanies this distribution, and is available at 6 | * http://www.eclipse.org/legal/epl-v10.html 7 | */ 8 | package basic.plugin; 9 | 10 | import org.apache.maven.plugin.AbstractMojo; 11 | import org.apache.maven.plugin.MojoExecutionException; 12 | import org.apache.maven.plugin.MojoFailureException; 13 | import org.apache.maven.plugins.annotations.Mojo; 14 | 15 | @Mojo(name="basic") 16 | public class BasicMojo extends AbstractMojo { 17 | 18 | @Override 19 | public void execute() throws MojoExecutionException, MojoFailureException { 20 | } 21 | 22 | } 23 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin-its/src/test/projects/basic-plugin/src/main/m2e/lifecycle-mapping-metadata.xml: -------------------------------------------------------------------------------- 1 | 10 | 11 | 12 | 13 | 14 | 15 | basic 16 | 17 | 18 | 19 | 20 | true 21 | false 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin-its/src/test/projects/basic-plugin/src/main/resources/main.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2014 Takari, Inc. 3 | # All rights reserved. This program and the accompanying materials 4 | # are made available under the terms of the Eclipse Public License v1.0 5 | # which accompanies this distribution, and is available at 6 | # http://www.eclipse.org/legal/epl-v10.html 7 | # 8 | 9 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin-its/src/test/projects/basic-plugin/src/test/java/basic/plugin/test/BasicMojoTest.java: -------------------------------------------------------------------------------- 1 | package basic.plugin.test; 2 | 3 | public class BasicMojoTest { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin-its/src/test/projects/basic-plugin/src/test/resources/test.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takari/takari-lifecycle/29c7c5f8ca9cb1059485df78e4e57d6e1f0bbfce/takari-lifecycle-plugin-its/src/test/projects/basic-plugin/src/test/resources/test.properties -------------------------------------------------------------------------------- /takari-lifecycle-plugin-its/src/test/projects/basic/src/main/java/basic/Basic.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2014 Takari, Inc. 3 | * All rights reserved. This program and the accompanying materials 4 | * are made available under the terms of the Eclipse Public License v1.0 5 | * which accompanies this distribution, and is available at 6 | * http://www.eclipse.org/legal/epl-v10.html 7 | */ 8 | package basic; 9 | 10 | public class Basic { 11 | 12 | } 13 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin-its/src/test/projects/basic/src/main/resources/main.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2014 Takari, Inc. 3 | # All rights reserved. This program and the accompanying materials 4 | # are made available under the terms of the Eclipse Public License v1.0 5 | # which accompanies this distribution, and is available at 6 | # http://www.eclipse.org/legal/epl-v10.html 7 | # 8 | 9 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin-its/src/test/projects/basic/src/test/java/basic/test/BasicTest.java: -------------------------------------------------------------------------------- 1 | package basic.test; 2 | 3 | public class BasicTest { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin-its/src/test/projects/basic/src/test/resources/test.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takari/takari-lifecycle/29c7c5f8ca9cb1059485df78e4e57d6e1f0bbfce/takari-lifecycle-plugin-its/src/test/projects/basic/src/test/resources/test.properties -------------------------------------------------------------------------------- /takari-lifecycle-plugin-its/src/test/projects/compile-classpath/src/main/java/classpath/Classpath.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2014 Takari, Inc. 3 | * All rights reserved. This program and the accompanying materials 4 | * are made available under the terms of the Eclipse Public License v1.0 5 | * which accompanies this distribution, and is available at 6 | * http://www.eclipse.org/legal/epl-v10.html 7 | */ 8 | package classpath; 9 | 10 | import org.junit.Assert; 11 | 12 | public class Classpath 13 | { 14 | public void test() 15 | { 16 | Assert.fail(); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin-its/src/test/projects/compile-multimodule/modulea/src/main/java/modulea/A.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2014 Takari, Inc. 3 | * All rights reserved. This program and the accompanying materials 4 | * are made available under the terms of the Eclipse Public License v1.0 5 | * which accompanies this distribution, and is available at 6 | * http://www.eclipse.org/legal/epl-v10.html 7 | */ 8 | package modulea; 9 | 10 | public class A extends moduleb.B {} 11 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin-its/src/test/projects/compile-multimodule/modulea/src/test/java/modulea/tests/ATest.java: -------------------------------------------------------------------------------- 1 | package modulea.tests; 2 | 3 | public class ATest extends moduleb.tests.BTest {} 4 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin-its/src/test/projects/compile-multimodule/moduleb/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 11 | 12 | 13 | 4.0.0 14 | 15 | 16 | io.takari.lifecycle.its.compile-multimodule 17 | parent 18 | 1.0 19 | 20 | moduleb 21 | takari-jar 22 | 23 | 24 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin-its/src/test/projects/compile-multimodule/moduleb/src/main/java/moduleb/B.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2014 Takari, Inc. 3 | * All rights reserved. This program and the accompanying materials 4 | * are made available under the terms of the Eclipse Public License v1.0 5 | * which accompanies this distribution, and is available at 6 | * http://www.eclipse.org/legal/epl-v10.html 7 | */ 8 | package moduleb; 9 | 10 | public class B {} 11 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin-its/src/test/projects/compile-multimodule/moduleb/src/test/java/moduleb/tests/BTest.java: -------------------------------------------------------------------------------- 1 | package moduleb.tests; 2 | 3 | public class BTest {} 4 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin-its/src/test/projects/compile-proc/processor/pom.xml: -------------------------------------------------------------------------------- 1 | 10 | 12 | 4.0.0 13 | 14 | 15 | compile-proc 16 | compile-proc 17 | 0.0.1-SNAPSHOT 18 | 19 | processor 20 | takari-jar 21 | 22 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin-its/src/test/projects/compile-proc/processor/src/main/java/processor/MyAnnotation.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2014 Takari, Inc. 3 | * All rights reserved. This program and the accompanying materials 4 | * are made available under the terms of the Eclipse Public License v1.0 5 | * which accompanies this distribution, and is available at 6 | * http://www.eclipse.org/legal/epl-v10.html 7 | */ 8 | package processor; 9 | 10 | public @interface MyAnnotation 11 | { 12 | 13 | } 14 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin-its/src/test/projects/compile-proc/processor/src/main/resources/META-INF/services/javax.annotation.processing.Processor: -------------------------------------------------------------------------------- 1 | processor.MyAnnotationProcessor -------------------------------------------------------------------------------- /takari-lifecycle-plugin-its/src/test/projects/compile-proc/project/src/main/java/project/MyAnnotationClient.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2014 Takari, Inc. 3 | * All rights reserved. This program and the accompanying materials 4 | * are made available under the terms of the Eclipse Public License v1.0 5 | * which accompanies this distribution, and is available at 6 | * http://www.eclipse.org/legal/epl-v10.html 7 | */ 8 | package project; 9 | 10 | import processor.MyAnnotation; 11 | 12 | @MyAnnotation 13 | public class MyAnnotationClient 14 | { 15 | 16 | } 17 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin-its/src/test/projects/compile-proc/project/src/main/java/project/MyMyAnnotationClientClient.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2014 Takari, Inc. 3 | * All rights reserved. This program and the accompanying materials 4 | * are made available under the terms of the Eclipse Public License v1.0 5 | * which accompanies this distribution, and is available at 6 | * http://www.eclipse.org/legal/epl-v10.html 7 | */ 8 | package project; 9 | 10 | // this class references generated MyMyAnnotationClient 11 | public class MyMyAnnotationClientClient 12 | { 13 | public MyMyAnnotationClient reference; 14 | } 15 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin-its/src/test/projects/filtering-command-line-parameters/src/main/resources/filtered.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2014 Takari, Inc. 3 | # All rights reserved. This program and the accompanying materials 4 | # are made available under the terms of the Eclipse Public License v1.0 5 | # which accompanies this distribution, and is available at 6 | # http://www.eclipse.org/legal/epl-v10.html 7 | # 8 | 9 | commandLineParameter=${commandLineParameter} 10 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin-its/src/test/projects/filtering-reflective-settings/src/main/resources/filtered.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2014 Takari, Inc. 3 | # All rights reserved. This program and the accompanying materials 4 | # are made available under the terms of the Eclipse Public License v1.0 5 | # which accompanies this distribution, and is available at 6 | # http://www.eclipse.org/legal/epl-v10.html 7 | # 8 | 9 | localRepository=${localRepository} 10 | userSettingsFile=${userSettingsFile} 11 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin-its/src/test/projects/filtering-source-encoding/src/main/resources/filtered.properties: -------------------------------------------------------------------------------- 1 | test='Идентификатор' 2 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin-its/src/test/projects/multimodule-deploy-at-end-bad/modulea/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 11 | 12 | 13 | 4.0.0 14 | 15 | 16 | io.takari.lifecycle.its.multimodule-deploy-at-end-bad 17 | parent 18 | 1.0 19 | 20 | modulea 21 | takari-jar 22 | 23 | 24 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin-its/src/test/projects/multimodule-deploy-at-end-bad/modulea/src/main/java/basic/Basic.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2014 Takari, Inc. 3 | * All rights reserved. This program and the accompanying materials 4 | * are made available under the terms of the Eclipse Public License v1.0 5 | * which accompanies this distribution, and is available at 6 | * http://www.eclipse.org/legal/epl-v10.html 7 | */ 8 | package basic; 9 | 10 | public class Basic {} 11 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin-its/src/test/projects/multimodule-deploy-at-end-bad/moduleb/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 11 | 12 | 13 | 4.0.0 14 | 15 | 16 | io.takari.lifecycle.its.multimodule-deploy-at-end-bad 17 | parent 18 | 1.0 19 | 20 | moduleb 21 | takari-jar 22 | 23 | 24 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin-its/src/test/projects/multimodule-deploy-at-end-bad/moduleb/src/main/java/basic/Basic.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2014 Takari, Inc. 3 | * All rights reserved. This program and the accompanying materials 4 | * are made available under the terms of the Eclipse Public License v1.0 5 | * which accompanies this distribution, and is available at 6 | * http://www.eclipse.org/legal/epl-v10.html 7 | */ 8 | package basic; 9 | 10 | public class Basic {foo} 11 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin-its/src/test/projects/multimodule-deploy-at-end/modulea/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 11 | 12 | 13 | 4.0.0 14 | 15 | 16 | io.takari.lifecycle.its.multimodule-deploy-at-end 17 | parent 18 | 1.0 19 | 20 | modulea 21 | takari-jar 22 | 23 | 24 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin-its/src/test/projects/multimodule-deploy-at-end/modulea/src/main/java/basic/Basic.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2014 Takari, Inc. 3 | * All rights reserved. This program and the accompanying materials 4 | * are made available under the terms of the Eclipse Public License v1.0 5 | * which accompanies this distribution, and is available at 6 | * http://www.eclipse.org/legal/epl-v10.html 7 | */ 8 | package basic; 9 | 10 | public class Basic {} 11 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin-its/src/test/projects/multimodule-deploy-at-end/moduleb/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 11 | 12 | 13 | 4.0.0 14 | 15 | 16 | io.takari.lifecycle.its.multimodule-deploy-at-end 17 | parent 18 | 1.0 19 | 20 | moduleb 21 | takari-jar 22 | 23 | 24 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin-its/src/test/projects/multimodule-deploy-at-end/moduleb/src/main/java/basic/Basic.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2014 Takari, Inc. 3 | * All rights reserved. This program and the accompanying materials 4 | * are made available under the terms of the Eclipse Public License v1.0 5 | * which accompanies this distribution, and is available at 6 | * http://www.eclipse.org/legal/epl-v10.html 7 | */ 8 | package basic; 9 | 10 | public class Basic {} 11 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin-its/src/test/projects/multimodule-skip-install-deploy/modulea/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 11 | 12 | 13 | 4.0.0 14 | 15 | 16 | io.takari.lifecycle.its.multimodule-skip-install-deploy 17 | parent 18 | 1.0 19 | 20 | modulea 21 | takari-jar 22 | 23 | 24 | 25 | junit 26 | junit 27 | 4.13.2 28 | test 29 | 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin-its/src/test/projects/multimodule-skip-install-deploy/modulea/src/main/java/basic/Basic.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2014 Takari, Inc. 3 | * All rights reserved. This program and the accompanying materials 4 | * are made available under the terms of the Eclipse Public License v1.0 5 | * which accompanies this distribution, and is available at 6 | * http://www.eclipse.org/legal/epl-v10.html 7 | */ 8 | package basic; 9 | 10 | public class Basic {} 11 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin-its/src/test/projects/multimodule-skip-install-deploy/modulea/src/main/resources/resource.txt: -------------------------------------------------------------------------------- 1 | resource.txt -------------------------------------------------------------------------------- /takari-lifecycle-plugin-its/src/test/projects/multimodule-skip-install-deploy/modulea/src/test/java/basic.test/BasicTest.java: -------------------------------------------------------------------------------- 1 | package basic.test; 2 | 3 | public class BasicTest {} 4 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin-its/src/test/projects/multimodule-skip-install-deploy/modulea/src/test/resources/test-resource.txt: -------------------------------------------------------------------------------- 1 | resource.txt -------------------------------------------------------------------------------- /takari-lifecycle-plugin-its/src/test/projects/multimodule-skip-install-deploy/moduleb/src/main/java/basic/Basic.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2014 Takari, Inc. 3 | * All rights reserved. This program and the accompanying materials 4 | * are made available under the terms of the Eclipse Public License v1.0 5 | * which accompanies this distribution, and is available at 6 | * http://www.eclipse.org/legal/epl-v10.html 7 | */ 8 | package basic; 9 | 10 | public class Basic {} 11 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin-its/src/test/projects/multimodule-skip-install-deploy/moduleb/src/main/resources/resource.txt: -------------------------------------------------------------------------------- 1 | resource.txt -------------------------------------------------------------------------------- /takari-lifecycle-plugin-its/src/test/projects/multimodule-skip-install-deploy/moduleb/src/test/java/basic.test/BasicTest.java: -------------------------------------------------------------------------------- 1 | package basic.test; 2 | 3 | public class BasicTest {} 4 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin-its/src/test/projects/multimodule-skip-install-deploy/moduleb/src/test/resources/test-resource.txt: -------------------------------------------------------------------------------- 1 | resource.txt -------------------------------------------------------------------------------- /takari-lifecycle-plugin-its/src/test/test.properties: -------------------------------------------------------------------------------- 1 | mavenVersion=${mavenVersion} 2 | repository.0=https://repository.takari.io/content/groups/public/ 3 | incrementalbuild.version=${incrementalbuild.version} 4 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/main/java/io/takari/maven/plugins/TakariLifecycleFlags.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2014-2024 Takari, Inc. 3 | * All rights reserved. This program and the accompanying materials 4 | * are made available under the terms of the Eclipse Public License v1.0 5 | * which accompanies this distribution, and is available at 6 | * https://www.eclipse.org/legal/epl-v10.html 7 | */ 8 | package io.takari.maven.plugins; 9 | 10 | public interface TakariLifecycleFlags { 11 | String ALTERNATE_LIFECYCLE_PROVIDING_PRIMARY_ARTIFACT = "@ALTERNATE_LIFECYCLE_PROVIDING_PRIMARY_ARTIFACT@"; 12 | } 13 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/main/java/io/takari/maven/plugins/compile/javac/FileObjects.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2014-2024 Takari, Inc. 3 | * All rights reserved. This program and the accompanying materials 4 | * are made available under the terms of the Eclipse Public License v1.0 5 | * which accompanies this distribution, and is available at 6 | * https://www.eclipse.org/legal/epl-v10.html 7 | */ 8 | package io.takari.maven.plugins.compile.javac; 9 | 10 | import java.io.File; 11 | import java.net.URI; 12 | import javax.tools.FileObject; 13 | 14 | class FileObjects { 15 | public static File toFile(FileObject fileObject) { 16 | // java6 returns non-absolute URI that cannot be used with new File(URI) 17 | // java7/8 produce messages for .class resources with jar:file:/ URIs 18 | 19 | URI uri = fileObject.toUri(); 20 | if (uri == null) { 21 | return null; 22 | } 23 | String path = uri.getPath(); 24 | if (path == null) { 25 | return null; 26 | } 27 | return new File(path); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/main/java/io/takari/maven/plugins/compile/jdt/classpath/ClasspathEntry.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2014-2024 Takari, Inc. 3 | * All rights reserved. This program and the accompanying materials 4 | * are made available under the terms of the Eclipse Public License v1.0 5 | * which accompanies this distribution, and is available at 6 | * https://www.eclipse.org/legal/epl-v10.html 7 | */ 8 | package io.takari.maven.plugins.compile.jdt.classpath; 9 | 10 | import java.util.Collection; 11 | import org.eclipse.jdt.internal.compiler.env.NameEnvironmentAnswer; 12 | 13 | public interface ClasspathEntry { 14 | 15 | Collection getPackageNames(); 16 | 17 | NameEnvironmentAnswer findType(String packageName, String typeName); 18 | 19 | String getEntryDescription(); 20 | } 21 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/main/java/io/takari/maven/plugins/compile/jdt/classpath/MutableClasspathEntry.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2014-2024 Takari, Inc. 3 | * All rights reserved. This program and the accompanying materials 4 | * are made available under the terms of the Eclipse Public License v1.0 5 | * which accompanies this distribution, and is available at 6 | * https://www.eclipse.org/legal/epl-v10.html 7 | */ 8 | package io.takari.maven.plugins.compile.jdt.classpath; 9 | 10 | public interface MutableClasspathEntry { 11 | void reset(); 12 | } 13 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/main/java/io/takari/maven/plugins/packaging/PomLifecycleMapping.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2014-2024 Takari, Inc. 3 | * All rights reserved. This program and the accompanying materials 4 | * are made available under the terms of the Eclipse Public License v1.0 5 | * which accompanies this distribution, and is available at 6 | * https://www.eclipse.org/legal/epl-v10.html 7 | */ 8 | package io.takari.maven.plugins.packaging; 9 | 10 | import javax.inject.Named; 11 | import javax.inject.Singleton; 12 | 13 | /** 14 | * This is only to shade the POM packaging from Maven Core. 15 | */ 16 | @Singleton 17 | @Named("pom") 18 | public class PomLifecycleMapping extends LifecycleMappingSupport {} 19 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/main/java/io/takari/maven/plugins/packaging/TakariJarArtifactHandler.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2014-2024 Takari, Inc. 3 | * All rights reserved. This program and the accompanying materials 4 | * are made available under the terms of the Eclipse Public License v1.0 5 | * which accompanies this distribution, and is available at 6 | * https://www.eclipse.org/legal/epl-v10.html 7 | */ 8 | package io.takari.maven.plugins.packaging; 9 | 10 | import javax.inject.Named; 11 | import javax.inject.Singleton; 12 | import org.apache.maven.artifact.handler.DefaultArtifactHandler; 13 | 14 | @Singleton 15 | @Named("takari-jar") 16 | public class TakariJarArtifactHandler extends DefaultArtifactHandler { 17 | public TakariJarArtifactHandler() { 18 | super("takari-jar"); 19 | setExtension("jar"); 20 | setLanguage("java"); 21 | setAddedToClasspath(true); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/main/java/io/takari/maven/plugins/packaging/TakariJarLifecycleMapping.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2014-2024 Takari, Inc. 3 | * All rights reserved. This program and the accompanying materials 4 | * are made available under the terms of the Eclipse Public License v1.0 5 | * which accompanies this distribution, and is available at 6 | * https://www.eclipse.org/legal/epl-v10.html 7 | */ 8 | package io.takari.maven.plugins.packaging; 9 | 10 | import javax.inject.Named; 11 | import javax.inject.Singleton; 12 | 13 | @Singleton 14 | @Named("takari-jar") 15 | public class TakariJarLifecycleMapping extends LifecycleMappingSupport {} 16 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/main/java/io/takari/maven/plugins/packaging/TakariMavenComponentArtifactHandler.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2014-2024 Takari, Inc. 3 | * All rights reserved. This program and the accompanying materials 4 | * are made available under the terms of the Eclipse Public License v1.0 5 | * which accompanies this distribution, and is available at 6 | * https://www.eclipse.org/legal/epl-v10.html 7 | */ 8 | package io.takari.maven.plugins.packaging; 9 | 10 | import javax.inject.Named; 11 | import javax.inject.Singleton; 12 | import org.apache.maven.artifact.handler.DefaultArtifactHandler; 13 | 14 | @Singleton 15 | @Named("takari-maven-component") 16 | public class TakariMavenComponentArtifactHandler extends DefaultArtifactHandler { 17 | public TakariMavenComponentArtifactHandler() { 18 | super("takari-maven-component"); 19 | setExtension("jar"); 20 | setLanguage("java"); 21 | setAddedToClasspath(true); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/main/java/io/takari/maven/plugins/packaging/TakariMavenComponentLifecycleMapping.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2014-2024 Takari, Inc. 3 | * All rights reserved. This program and the accompanying materials 4 | * are made available under the terms of the Eclipse Public License v1.0 5 | * which accompanies this distribution, and is available at 6 | * https://www.eclipse.org/legal/epl-v10.html 7 | */ 8 | package io.takari.maven.plugins.packaging; 9 | 10 | import javax.inject.Named; 11 | import javax.inject.Singleton; 12 | 13 | @Singleton 14 | @Named("takari-maven-component") 15 | public class TakariMavenComponentLifecycleMapping extends LifecycleMappingSupport {} 16 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/main/java/io/takari/maven/plugins/packaging/TakariMavenPluginArtifactHandler.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2014-2024 Takari, Inc. 3 | * All rights reserved. This program and the accompanying materials 4 | * are made available under the terms of the Eclipse Public License v1.0 5 | * which accompanies this distribution, and is available at 6 | * https://www.eclipse.org/legal/epl-v10.html 7 | */ 8 | package io.takari.maven.plugins.packaging; 9 | 10 | import javax.inject.Named; 11 | import javax.inject.Singleton; 12 | import org.apache.maven.artifact.handler.DefaultArtifactHandler; 13 | 14 | @Singleton 15 | @Named("takari-maven-plugin") 16 | public class TakariMavenPluginArtifactHandler extends DefaultArtifactHandler { 17 | public TakariMavenPluginArtifactHandler() { 18 | super("takari-maven-plugin"); 19 | setExtension("jar"); 20 | setLanguage("java"); 21 | setAddedToClasspath(true); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/main/java/io/takari/maven/plugins/packaging/TakariMavenPluginLifecycleMapping.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2014-2024 Takari, Inc. 3 | * All rights reserved. This program and the accompanying materials 4 | * are made available under the terms of the Eclipse Public License v1.0 5 | * which accompanies this distribution, and is available at 6 | * https://www.eclipse.org/legal/epl-v10.html 7 | */ 8 | package io.takari.maven.plugins.packaging; 9 | 10 | import javax.inject.Named; 11 | import javax.inject.Singleton; 12 | 13 | @Singleton 14 | @Named("takari-maven-plugin") 15 | public class TakariMavenPluginLifecycleMapping extends LifecycleMappingSupport {} 16 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/main/java/io/takari/resources/filtering/AbstractResourceProcessor.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2014-2024 Takari, Inc. 3 | * All rights reserved. This program and the accompanying materials 4 | * are made available under the terms of the Eclipse Public License v1.0 5 | * which accompanies this distribution, and is available at 6 | * https://www.eclipse.org/legal/epl-v10.html 7 | */ 8 | package io.takari.resources.filtering; 9 | 10 | import java.io.File; 11 | 12 | abstract class AbstractResourceProcessor { 13 | 14 | protected static File relativize(File sourceDirectory, File targetDirectory, File sourceFile) { 15 | String sourceDir = sourceDirectory.getAbsolutePath(); 16 | String source = sourceFile.getAbsolutePath(); 17 | if (!source.startsWith(sourceDir)) { 18 | throw new IllegalArgumentException(); // can't happen 19 | } 20 | String relative = source.substring(sourceDir.length()); 21 | return new File(targetDirectory, relative); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/main/resources-filtered/io/takari/maven/plugins/packaging/PomLifecycleMapping.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2014-2024 Takari, Inc. 3 | # All rights reserved. This program and the accompanying materials 4 | # are made available under the terms of the Eclipse Public License v1.0 5 | # which accompanies this distribution, and is available at 6 | # https://www.eclipse.org/legal/epl-v10.html 7 | # 8 | 9 | install=io.takari.maven.plugins:takari-lifecycle-plugin:${project.version}:install 10 | deploy=io.takari.maven.plugins:takari-lifecycle-plugin:${project.version}:deploy 11 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test-input/src/main/org/codehaus/foo/Bad.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2014-2024 Takari, Inc. 3 | * All rights reserved. This program and the accompanying materials 4 | * are made available under the terms of the Eclipse Public License v1.0 5 | * which accompanies this distribution, and is available at 6 | * https://www.eclipse.org/legal/epl-v10.html 7 | */ 8 | package org.codehaus.foo; 9 | 10 | public class Bad 11 | { 12 | // Intentionally misspelled modifier. 13 | pubic String name; 14 | } 15 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test-input/src/main/org/codehaus/foo/Deprecation.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2014-2024 Takari, Inc. 3 | * All rights reserved. This program and the accompanying materials 4 | * are made available under the terms of the Eclipse Public License v1.0 5 | * which accompanies this distribution, and is available at 6 | * https://www.eclipse.org/legal/epl-v10.html 7 | */ 8 | package org.codehaus.foo; 9 | 10 | public class Deprecation 11 | { 12 | public Deprecation() 13 | { 14 | new java.util.Date("testDate"); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test-input/src/main/org/codehaus/foo/ExternalDeps.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2014-2024 Takari, Inc. 3 | * All rights reserved. This program and the accompanying materials 4 | * are made available under the terms of the Eclipse Public License v1.0 5 | * which accompanies this distribution, and is available at 6 | * https://www.eclipse.org/legal/epl-v10.html 7 | */ 8 | package org.codehaus.foo; 9 | 10 | import org.apache.commons.lang.StringUtils; 11 | 12 | public class ExternalDeps 13 | { 14 | public void hello( String str ) 15 | { 16 | System.out.println( StringUtils.upperCase( str) ); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test-input/src/main/org/codehaus/foo/Person.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2014-2024 Takari, Inc. 3 | * All rights reserved. This program and the accompanying materials 4 | * are made available under the terms of the Eclipse Public License v1.0 5 | * which accompanies this distribution, and is available at 6 | * https://www.eclipse.org/legal/epl-v10.html 7 | */ 8 | package org.codehaus.foo; 9 | 10 | public class Person 11 | { 12 | } 13 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test-input/src/main/org/codehaus/foo/ReservedWord.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2014-2024 Takari, Inc. 3 | * All rights reserved. This program and the accompanying materials 4 | * are made available under the terms of the Eclipse Public License v1.0 5 | * which accompanies this distribution, and is available at 6 | * https://www.eclipse.org/legal/epl-v10.html 7 | */ 8 | package org.codehaus.foo; 9 | 10 | public class ReservedWord 11 | { 12 | String assert; 13 | } 14 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test-input/src/main/org/codehaus/foo/UnknownSymbol.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2014-2024 Takari, Inc. 3 | * All rights reserved. This program and the accompanying materials 4 | * are made available under the terms of the Eclipse Public License v1.0 5 | * which accompanies this distribution, and is available at 6 | * https://www.eclipse.org/legal/epl-v10.html 7 | */ 8 | package org.codehaus.foo; 9 | 10 | public class UnknownSymbol 11 | { 12 | public UnknownSymbol() 13 | { 14 | foo(); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test-input/src/main/org/codehaus/foo/WrongClassname.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2014-2024 Takari, Inc. 3 | * All rights reserved. This program and the accompanying materials 4 | * are made available under the terms of the Eclipse Public License v1.0 5 | * which accompanies this distribution, and is available at 6 | * https://www.eclipse.org/legal/epl-v10.html 7 | */ 8 | package org.codehaus.foo; 9 | 10 | public class RightClassname 11 | { 12 | } 13 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/jars/commons-lang-2.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takari/takari-lifecycle/29c7c5f8ca9cb1059485df78e4e57d6e1f0bbfce/takari-lifecycle-plugin/src/test/jars/commons-lang-2.0.jar -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-incremental/basic/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | compile-incremental 6 | basic 7 | 1.0 8 | 9 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-incremental/basic/src/main/java/basic/Basic.java: -------------------------------------------------------------------------------- 1 | package basic; 2 | 3 | public class Basic {} 4 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-incremental/basic/src/main/java/basic/Basic.java-comment: -------------------------------------------------------------------------------- 1 | package basic; 2 | 3 | public class Basic {} // this comment does not change line numbers 4 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-incremental/basic/src/main/java/basic/Basic.java-modified: -------------------------------------------------------------------------------- 1 | package basic; 2 | 3 | public class Basic { 4 | public String getName() { 5 | return "name"; 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-incremental/classpath/module-a/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | compile-incremental-classpath 6 | module-a 7 | 1.0 8 | 9 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-incremental/classpath/module-a/src/main/java/modulea/ModuleA.java: -------------------------------------------------------------------------------- 1 | package modulea; 2 | 3 | import moduleb.ModuleB; 4 | 5 | public class ModuleA { 6 | 7 | private ModuleB moduleB; 8 | 9 | } 10 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-incremental/classpath/module-b/module-b-comment.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takari/takari-lifecycle/29c7c5f8ca9cb1059485df78e4e57d6e1f0bbfce/takari-lifecycle-plugin/src/test/projects/compile-incremental/classpath/module-b/module-b-comment.jar -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-incremental/classpath/module-b/module-b-method.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takari/takari-lifecycle/29c7c5f8ca9cb1059485df78e4e57d6e1f0bbfce/takari-lifecycle-plugin/src/test/projects/compile-incremental/classpath/module-b/module-b-method.jar -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-incremental/classpath/module-b/module-b.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takari/takari-lifecycle/29c7c5f8ca9cb1059485df78e4e57d6e1f0bbfce/takari-lifecycle-plugin/src/test/projects/compile-incremental/classpath/module-b/module-b.jar -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-incremental/classpath/module-b/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | compile-incremental-classpath 6 | module-b 7 | 1.0 8 | 9 | 27 | 28 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-incremental/classpath/module-b/src/main/java/moduleb/ModuleB.java: -------------------------------------------------------------------------------- 1 | package moduleb; 2 | 3 | public class ModuleB { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-incremental/classpath/module-b/src/main/java/moduleb/ModuleB.java-comment: -------------------------------------------------------------------------------- 1 | package moduleb; 2 | 3 | public class ModuleB { 4 | // comments do not trigger rebuilds of other classes 5 | } 6 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-incremental/classpath/module-b/src/main/java/moduleb/ModuleB.java-method: -------------------------------------------------------------------------------- 1 | package moduleb; 2 | 3 | public class ModuleB { 4 | // comments do not trigger rebuilds of other classes 5 | public String getName() { 6 | return "name"; 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-incremental/classpath/module-b/src/main/java/moduleb/ModuleB.java-orig: -------------------------------------------------------------------------------- 1 | package moduleb; 2 | 3 | public class ModuleB { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-incremental/classpath/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | reactor 6 | reactor 7 | 1.0.0-SNAPSHOT 8 | pom 9 | 10 | 11 | module-a 12 | module-b 13 | 14 | 15 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-incremental/crossref/src/main/java/crossref/A.java: -------------------------------------------------------------------------------- 1 | package crossref; 2 | 3 | public class A { 4 | public static final String A = "A"; 5 | public static final String Ab = B.B; 6 | } 7 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-incremental/crossref/src/main/java/crossref/A.java-modified: -------------------------------------------------------------------------------- 1 | package crossref; 2 | 3 | public class A { 4 | public static final String A = "A-changed"; 5 | public static final String Ab = B.B; 6 | } 7 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-incremental/crossref/src/main/java/crossref/B.java: -------------------------------------------------------------------------------- 1 | package crossref; 2 | 3 | public class B { 4 | public static final String B = "B"; 5 | public static final String Ba = A.A; 6 | } 7 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-incremental/delete/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | compile-incremental 6 | delete 7 | 1.0 8 | 9 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-incremental/delete/src/main/java/delete/Delete.java: -------------------------------------------------------------------------------- 1 | package delete; 2 | 3 | public class Delete {} 4 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-incremental/delete/src/main/java/delete/Keep.java: -------------------------------------------------------------------------------- 1 | package delete; 2 | 3 | public class Keep {} 4 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-incremental/error/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | compile-incremental 6 | error 7 | 1.0 8 | 9 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-incremental/error/src/main/java/error/Error.java: -------------------------------------------------------------------------------- 1 | package error; 2 | 3 | public class Error { 4 | private Errorr error; 5 | } 6 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-incremental/error/src/main/java/error/Error.java-fixed: -------------------------------------------------------------------------------- 1 | package error; 2 | 3 | public class Error { 4 | private Error error; 5 | } 6 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-incremental/move/module-a/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | move 6 | module-a 7 | 1.0 8 | 9 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-incremental/move/module-a/src/main/java/modulea/ModuleA.java: -------------------------------------------------------------------------------- 1 | package modulea; 2 | 3 | public class ModuleA { 4 | 5 | public int getValue() { 6 | return moving.Moving.VALUE; 7 | } 8 | 9 | } 10 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-incremental/move/module-a/src/main/java/modulea/ModuleA.java-changed: -------------------------------------------------------------------------------- 1 | package modulea; 2 | 3 | public class ModuleA { 4 | 5 | public String getValue() { 6 | return moving.Moving.VALUE; 7 | } 8 | 9 | } 10 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-incremental/move/module-a/src/main/java/moving/Moving.java: -------------------------------------------------------------------------------- 1 | package moving; 2 | 3 | public class Moving { 4 | public static int VALUE = 10; 5 | } 6 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-incremental/move/module-b/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | move 6 | module-b 7 | 1.0 8 | 9 | 10 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-incremental/move/module-b/src/main/java/moving/Moving.java-changed: -------------------------------------------------------------------------------- 1 | package moving; 2 | 3 | public class Moving { 4 | public static String VALUE = "10"; 5 | } 6 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-incremental/reference-nested/src/main/java/nested/A.java: -------------------------------------------------------------------------------- 1 | package nested; 2 | 3 | public class A {} 4 | 5 | class Asecondary {} -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-incremental/reference-nested/src/main/java/nested/A.java-changed: -------------------------------------------------------------------------------- 1 | package nested; 2 | 3 | public class A {} 4 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-incremental/reference-nested/src/main/java/nested/B.java: -------------------------------------------------------------------------------- 1 | package nested; 2 | 3 | public class B { 4 | Asecondary asecondary; 5 | } 6 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt-classpath-visibility/indirect-grandparent/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | indirect-grandparent 6 | indirect-grandparent 7 | 1.0.0-SNAPSHOT 8 | 9 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt-classpath-visibility/indirect-grandparent/src/main/java/reference/Reference.java: -------------------------------------------------------------------------------- 1 | package reference; 2 | 3 | public class Reference extends io.takari.test.parent.ParentClass { 4 | } 5 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt-classpath-visibility/indirect-grandparent/test-parent/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | test-parent 6 | test-parent 7 | 0.1 8 | takari-jar 9 | 10 | 11 | 12 | test-dependency 13 | test-dependency 14 | 0.1 15 | 16 | 17 | 18 | 19 | 20 | 21 | io.takari.maven.plugins 22 | takari-lifecycle-plugin 23 | 1.8.5 24 | true 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt-classpath-visibility/indirect-grandparent/test-parent/src/main/java/io/takari/test/parent/ParentClass.java: -------------------------------------------------------------------------------- 1 | package io.takari.test.parent; 2 | 3 | public class ParentClass extends io.takari.test.dependency.DependencyClass { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt-classpath-visibility/indirect-grandparent/test-parent/test-parent-0.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takari/takari-lifecycle/29c7c5f8ca9cb1059485df78e4e57d6e1f0bbfce/takari-lifecycle-plugin/src/test/projects/compile-jdt-classpath-visibility/indirect-grandparent/test-parent/test-parent-0.1.jar -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt-classpath-visibility/internal-reference/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | internal-reference 6 | internal-reference 7 | 1.0.0-SNAPSHOT 8 | 9 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt-classpath-visibility/internal-reference/src/main/java/reference/Reference.java: -------------------------------------------------------------------------------- 1 | package reference; 2 | 3 | public class Reference { 4 | private io.takari.test.dependency.internal.DependencyInternalClass reference; 5 | } 6 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt-classpath-visibility/internal-reference/src/test/java/reference/ReferenceTest.java: -------------------------------------------------------------------------------- 1 | package reference; 2 | 3 | public class ReferenceTest { 4 | private io.takari.test.dependency.internal.DependencyInternalClass reference; 5 | } 6 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt-classpath-visibility/reference/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | reference 6 | reference 7 | 1.0.0-SNAPSHOT 8 | 9 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt-classpath-visibility/reference/src/main/java/reference/Reference.java: -------------------------------------------------------------------------------- 1 | package reference; 2 | 3 | public class Reference { 4 | private io.takari.test.dependency.DependencyClass reference; 5 | } 6 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt-classpath-visibility/reference/src/test/java/reference/ReferenceTest.java: -------------------------------------------------------------------------------- 1 | package reference; 2 | 3 | public class ReferenceTest { 4 | private reference.Reference reference; 5 | private io.takari.test.dependency.DependencyClass dependency; 6 | } 7 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt-classpath-visibility/test-dependency-bundle/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | test-dependency-bundle 6 | test-dependency-bundle 7 | 0.1 8 | takari-jar 9 | 10 | 11 | 12 | 13 | io.takari.maven.plugins 14 | takari-lifecycle-plugin 15 | 1.8.5 16 | true 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt-classpath-visibility/test-dependency-bundle/src/main/java/io/takari/test/dependency/DependencyClass.java: -------------------------------------------------------------------------------- 1 | package io.takari.test.dependency; 2 | 3 | public class DependencyClass { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt-classpath-visibility/test-dependency-bundle/src/main/java/io/takari/test/dependency/internal/DependencyInternalClass.java: -------------------------------------------------------------------------------- 1 | package io.takari.test.dependency.internal; 2 | 3 | public class DependencyInternalClass { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt-classpath-visibility/test-dependency-bundle/src/main/resources/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Bundle-ManifestVersion: 2 3 | Bundle-SymbolicName: test.dependency.bundle 4 | Bundle-Version: 0.1 5 | Export-Package: io.takari.test.dependency 6 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt-classpath-visibility/test-dependency-bundle/test-dependency-bundle-0.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takari/takari-lifecycle/29c7c5f8ca9cb1059485df78e4e57d6e1f0bbfce/takari-lifecycle-plugin/src/test/projects/compile-jdt-classpath-visibility/test-dependency-bundle/test-dependency-bundle-0.1.jar -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt-classpath-visibility/test-dependency/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | test-dependency 6 | test-dependency 7 | 0.1 8 | takari-jar 9 | 10 | 11 | 12 | 13 | io.takari.maven.plugins 14 | takari-lifecycle-plugin 15 | 1.8.5 16 | true 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt-classpath-visibility/test-dependency/src/main/java/io/takari/test/dependency/DependencyClass.java: -------------------------------------------------------------------------------- 1 | package io.takari.test.dependency; 2 | 3 | public class DependencyClass { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt-classpath-visibility/test-dependency/src/main/java/io/takari/test/dependency/internal/DependencyInternalClass.java: -------------------------------------------------------------------------------- 1 | package io.takari.test.dependency.internal; 2 | 3 | public class DependencyInternalClass { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt-classpath-visibility/test-dependency/src/main/resources/META-INF/takari/export-package: -------------------------------------------------------------------------------- 1 | io.takari.test.dependency 2 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt-classpath-visibility/test-dependency/test-dependency-0.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takari/takari-lifecycle/29c7c5f8ca9cb1059485df78e4e57d6e1f0bbfce/takari-lifecycle-plugin/src/test/projects/compile-jdt-classpath-visibility/test-dependency/test-dependency-0.1.jar -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt-classpath/reactor-basic/module-a/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | reactor 6 | module-a 7 | 1.0.0-SNAPSHOT 8 | jar 9 | 10 | 11 | 12 | reactor 13 | module-b 14 | 1.0.0-SNAPSHOT 15 | 16 | 17 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt-classpath/reactor-basic/module-a/src/main/java/reactor/modulea/ModuleA.java: -------------------------------------------------------------------------------- 1 | package reactor.modulea; 2 | 3 | import reactor.moduleb.ModuleB; 4 | 5 | public class ModuleA { 6 | 7 | private ModuleB moduleB; 8 | 9 | } 10 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt-classpath/reactor-basic/module-b/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | reactor 6 | module-b 7 | 1.0.0-SNAPSHOT 8 | jar 9 | 10 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt-classpath/reactor-basic/module-b/src/main/java/reactor/moduleb/ModuleB.java: -------------------------------------------------------------------------------- 1 | package reactor.moduleb; 2 | 3 | public class ModuleB { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt-classpath/reactor-basic/module-b/src/main/java/reactor/moduleb/ModuleB.java-comment: -------------------------------------------------------------------------------- 1 | package reactor.moduleb; 2 | 3 | public class ModuleB { 4 | // comments do not trigger rebuilds of other classes 5 | } 6 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt-classpath/reactor-basic/module-b/src/main/java/reactor/moduleb/ModuleB.java-method: -------------------------------------------------------------------------------- 1 | package reactor.moduleb; 2 | 3 | public class ModuleB { 4 | // comments do not trigger rebuilds of other classes 5 | public String getName() { 6 | return "name"; 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt-classpath/reactor-basic/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | reactor 6 | reactor 7 | 1.0.0-SNAPSHOT 8 | pom 9 | 10 | 11 | module-a 12 | module-b 13 | 14 | 15 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt-classpath/reactor-missing-ondemand-import/module-a/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | reactor 6 | module-a 7 | 1.0.0-SNAPSHOT 8 | jar 9 | 10 | 11 | 12 | reactor 13 | module-b 14 | 1.0.0-SNAPSHOT 15 | 16 | 17 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt-classpath/reactor-missing-ondemand-import/module-a/src/main/java/modulea/Error.java: -------------------------------------------------------------------------------- 1 | package modulea; 2 | 3 | import moduleb.*; 4 | 5 | public class Error 6 | { 7 | } 8 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt-classpath/reactor-missing-ondemand-import/module-b/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | reactor 6 | module-b 7 | 1.0.0-SNAPSHOT 8 | jar 9 | 10 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt-classpath/reactor-missing-ondemand-import/module-b/src/main/java/moduleb/Missing.java-missing: -------------------------------------------------------------------------------- 1 | package moduleb; 2 | 3 | public class Missing 4 | { 5 | } 6 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt-classpath/reactor-missing-ondemand-import/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | reactor 6 | reactor 7 | 1.0.0-SNAPSHOT 8 | pom 9 | 10 | 11 | module-a 12 | module-b 13 | 14 | 15 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt-classpath/reactor-missing-splitpackage/module-a/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | reactor 6 | module-a 7 | 1.0.0-SNAPSHOT 8 | jar 9 | 10 | 11 | 12 | reactor 13 | module-b 14 | 1.0.0-SNAPSHOT 15 | 16 | 17 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt-classpath/reactor-missing-splitpackage/module-a/src/main/java/missing/Error.java: -------------------------------------------------------------------------------- 1 | package missing; 2 | 3 | public class Error 4 | { 5 | // Missing is not found 6 | public Missing getMissing() 7 | { 8 | return new Missing(); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt-classpath/reactor-missing-splitpackage/module-b/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | reactor 6 | module-b 7 | 1.0.0-SNAPSHOT 8 | jar 9 | 10 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt-classpath/reactor-missing-splitpackage/module-b/src/main/java/missing/Missing.java-missing: -------------------------------------------------------------------------------- 1 | package missing; 2 | 3 | public class Missing 4 | { 5 | } 6 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt-classpath/reactor-missing-splitpackage/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | reactor 6 | reactor 7 | 1.0.0-SNAPSHOT 8 | pom 9 | 10 | 11 | module-a 12 | module-b 13 | 14 | 15 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt-classpath/reactor-missing/module-a/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | reactor 6 | module-a 7 | 1.0.0-SNAPSHOT 8 | jar 9 | 10 | 11 | 12 | reactor 13 | module-b 14 | 1.0.0-SNAPSHOT 15 | 16 | 17 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt-classpath/reactor-missing/module-a/src/main/java/modulea/Error.java: -------------------------------------------------------------------------------- 1 | package modulea; 2 | 3 | import moduleb.Missing; 4 | 5 | public class Error 6 | { 7 | // Missing is not found 8 | public Missing getMissing() 9 | { 10 | return new Missing(); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt-classpath/reactor-missing/module-b/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | reactor 6 | module-b 7 | 1.0.0-SNAPSHOT 8 | jar 9 | 10 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt-classpath/reactor-missing/module-b/src/main/java/moduleb/Missing.java-missing: -------------------------------------------------------------------------------- 1 | package moduleb; 2 | 3 | public class Missing 4 | { 5 | } 6 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt-classpath/reactor-missing/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | reactor 6 | reactor 7 | 1.0.0-SNAPSHOT 8 | pom 9 | 10 | 11 | module-a 12 | module-b 13 | 14 | 15 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt-classpath/repo-basic/module-a/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | reactor 6 | module-a 7 | 1.0.0-SNAPSHOT 8 | jar 9 | 10 | 11 | 12 | reactor 13 | module-b 14 | 1.0.0-SNAPSHOT 15 | 16 | 17 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt-classpath/repo-basic/module-a/src/main/java/reactor/modulea/ModuleA.java: -------------------------------------------------------------------------------- 1 | package reactor.modulea; 2 | 3 | import reactor.moduleb.ModuleB; 4 | 5 | public class ModuleA { 6 | 7 | private ModuleB moduleB; 8 | 9 | } 10 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt-classpath/repo-basic/module-b/module-b-comment.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takari/takari-lifecycle/29c7c5f8ca9cb1059485df78e4e57d6e1f0bbfce/takari-lifecycle-plugin/src/test/projects/compile-jdt-classpath/repo-basic/module-b/module-b-comment.jar -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt-classpath/repo-basic/module-b/module-b-method.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takari/takari-lifecycle/29c7c5f8ca9cb1059485df78e4e57d6e1f0bbfce/takari-lifecycle-plugin/src/test/projects/compile-jdt-classpath/repo-basic/module-b/module-b-method.jar -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt-classpath/repo-basic/module-b/module-b.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takari/takari-lifecycle/29c7c5f8ca9cb1059485df78e4e57d6e1f0bbfce/takari-lifecycle-plugin/src/test/projects/compile-jdt-classpath/repo-basic/module-b/module-b.jar -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt-classpath/repo-basic/module-b/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | reactor 6 | module-b 7 | 1.0.0-SNAPSHOT 8 | takari-jar 9 | 10 | 11 | 12 | 13 | io.tesla.maven.plugins 14 | tesla-lifecycle-plugin 15 | 1.0.4-SNAPSHOT 16 | true 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt-classpath/repo-basic/module-b/src/main/java/reactor/moduleb/ModuleB.java-comment: -------------------------------------------------------------------------------- 1 | package reactor.moduleb; 2 | 3 | public class ModuleB { 4 | // comments do not trigger rebuilds of other classes 5 | } 6 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt-classpath/repo-basic/module-b/src/main/java/reactor/moduleb/ModuleB.java-method: -------------------------------------------------------------------------------- 1 | package reactor.moduleb; 2 | 3 | public class ModuleB { 4 | // comments do not trigger rebuilds of other classes 5 | public String getName() { 6 | return "name"; 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt-classpath/repo-basic/module-b/src/main/java/reactor/moduleb/ModuleB.java-orig: -------------------------------------------------------------------------------- 1 | package reactor.moduleb; 2 | 3 | public class ModuleB { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt-classpath/repo-basic/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | reactor 6 | reactor 7 | 1.0.0-SNAPSHOT 8 | pom 9 | 10 | 11 | module-a 12 | module-b 13 | 14 | 15 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt-proc/getresource-location-classpath/classes/dirresource.txt: -------------------------------------------------------------------------------- 1 | dir resource -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt-proc/getresource-location-classpath/dependency.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takari/takari-lifecycle/29c7c5f8ca9cb1059485df78e4e57d6e1f0bbfce/takari-lifecycle-plugin/src/test/projects/compile-jdt-proc/getresource-location-classpath/dependency.zip -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt-record-reference/ExtendsMissing.java: -------------------------------------------------------------------------------- 1 | package record.reference; 2 | 3 | class ExtendsSimple extends missing.Missing { 4 | } 5 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt-record-reference/ExtendsMissingSimple.java: -------------------------------------------------------------------------------- 1 | package record.reference; 2 | 3 | class ExtendsSimple extends Missing { 4 | } 5 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt-record-reference/ExtendsSimple.java: -------------------------------------------------------------------------------- 1 | package record.reference; 2 | 3 | class ExtendsSimple extends Object { 4 | } 5 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt-record-reference/Implements.java: -------------------------------------------------------------------------------- 1 | package record.reference; 2 | 3 | class Implements implements java.lang.Comparable { 4 | } 5 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt-record-reference/Import.java: -------------------------------------------------------------------------------- 1 | package record.reference; 2 | 3 | import java.util.List; 4 | 5 | class Import { 6 | List list; 7 | } 8 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt-record-reference/ImportOnDemand.java: -------------------------------------------------------------------------------- 1 | package record.reference; 2 | 3 | import java.util.*; 4 | 5 | class ImportOnDemand { 6 | // 'Name' can be resolved to 7 | // - 'java.util.Name' 8 | // - 'record.reference.Name' 9 | // - 'java.lang.Name' 10 | Name name; 11 | } 12 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt-record-reference/MethodParameterType.java: -------------------------------------------------------------------------------- 1 | package record.reference; 2 | 3 | class MethodParameterType { 4 | public void method(java.util.List list) { 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt-record-reference/MethodReturnType.java: -------------------------------------------------------------------------------- 1 | package record.reference; 2 | 3 | class MethodReturnType { 4 | public java.util.List method() { 5 | return null; 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt-record-reference/MissingImport.java: -------------------------------------------------------------------------------- 1 | package record.reference; 2 | 3 | import missing.Missing; 4 | 5 | class MissingImport { 6 | } 7 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt-record-reference/MissingImportOnDemand.java: -------------------------------------------------------------------------------- 1 | package record.reference; 2 | 3 | import missing.*; 4 | 5 | class MissingImportOnDemand { 6 | // 'Name' can be resolved to 7 | // - 'missing.Name' 8 | // - 'record.reference.Name' 9 | // - 'java.lang.Name' 10 | Name name; 11 | } 12 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt-record-reference/NestedParameterizedTypeSelfReference.java: -------------------------------------------------------------------------------- 1 | package record.reference; 2 | 3 | class NestedParameterizedTypeSelfReference { 4 | static class Nested {} 5 | 6 | Nested method() { 7 | return null; 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt-record-reference/ParameterizedType.java: -------------------------------------------------------------------------------- 1 | package record.reference; 2 | 3 | class ParameterizedType { 4 | } 5 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt-record-reference/StaticImport.java: -------------------------------------------------------------------------------- 1 | package record.reference; 2 | 3 | import static java.lang.Integer.MAX_VALUE; 4 | 5 | class StaticImport { 6 | } 7 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt-record-reference/TypeParameter.java: -------------------------------------------------------------------------------- 1 | package record.reference; 2 | 3 | class TypeParameter { 4 | java.lang.Class clazz; 5 | } 6 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt/basic/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | basic 6 | basic 7 | 1.0.0-SNAPSHOT 8 | takari-jar 9 | 10 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt/basic/src/main/java/basic/Basic1.java: -------------------------------------------------------------------------------- 1 | package basic; 2 | 3 | public class Basic1 4 | { 5 | 6 | } 7 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt/basic/src/main/java/basic/Basic1.java-changed: -------------------------------------------------------------------------------- 1 | package basic; 2 | 3 | public class Basic1 4 | { 5 | public static final String ID = "id"; 6 | } 7 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt/basic/src/main/java/basic/Basic2.java: -------------------------------------------------------------------------------- 1 | package basic; 2 | 3 | public class Basic2 4 | { 5 | 6 | } 7 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt/circular/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | circular 6 | circular 7 | 1.0.0-SNAPSHOT 8 | takari-jar 9 | 10 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt/circular/src/main/java/circular/ClassA.java: -------------------------------------------------------------------------------- 1 | package circular; 2 | 3 | public class ClassA 4 | { 5 | public ClassB getB() 6 | { 7 | return new ClassB(); 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt/circular/src/main/java/circular/ClassA.java-changed: -------------------------------------------------------------------------------- 1 | package circular; 2 | 3 | public class ClassA 4 | { 5 | public void method() 6 | { 7 | } 8 | 9 | public ClassB getB() 10 | { 11 | return new ClassB(); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt/circular/src/main/java/circular/ClassB.java: -------------------------------------------------------------------------------- 1 | package circular; 2 | 3 | public class ClassB 4 | { 5 | public ClassA getA() 6 | { 7 | return new ClassA(); 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt/missing/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | missing 6 | missing 7 | 1.0.0-SNAPSHOT 8 | takari-jar 9 | 10 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt/missing/src/main/java/missing/Error.java: -------------------------------------------------------------------------------- 1 | package missing; 2 | 3 | public class Error 4 | { 5 | // Missing is not found 6 | public Missing getMissing() 7 | { 8 | return new Missing(); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt/missing/src/main/java/missing/Missing.java-missing: -------------------------------------------------------------------------------- 1 | package missing; 2 | 3 | public class Missing 4 | { 5 | } 6 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt/missing/src/main/java/missing/Other.java: -------------------------------------------------------------------------------- 1 | package missing; 2 | 3 | public class Other 4 | { 5 | } 6 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt/multifile/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | multifile 6 | multifile 7 | 1.0.0-SNAPSHOT 8 | takari-jar 9 | 10 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt/multifile/src/main/java/multifile/ClassA.java: -------------------------------------------------------------------------------- 1 | package multifile; 2 | 3 | public class ClassA 4 | { 5 | public String getName() 6 | { 7 | return new ClassB.Nested().toString(); 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt/multifile/src/main/java/multifile/ClassB.java: -------------------------------------------------------------------------------- 1 | package multifile; 2 | 3 | public class ClassB 4 | { 5 | public static class Nested 6 | { 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt/multifile/src/main/java/multifile/ClassB.java-changed: -------------------------------------------------------------------------------- 1 | package multifile; 2 | 3 | public class ClassB 4 | { 5 | } 6 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt/reference/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | reference 6 | reference 7 | 1.0.0-SNAPSHOT 8 | takari-jar 9 | 10 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt/reference/src/main/java/reference/Parameter.java: -------------------------------------------------------------------------------- 1 | package reference; 2 | 3 | public class Parameter 4 | { 5 | public void setValue() 6 | { 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt/reference/src/main/java/reference/Parameter.java-comment: -------------------------------------------------------------------------------- 1 | package reference; 2 | 3 | // comment 4 | public class Parameter 5 | { 6 | public void setValue() 7 | { 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt/reference/src/main/java/reference/Parameter.java-method: -------------------------------------------------------------------------------- 1 | package reference; 2 | 3 | public class Parameter 4 | { 5 | public void setValue() 6 | { 7 | } 8 | public void setAnotherValue() 9 | { 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt/reference/src/main/java/reference/Type.java: -------------------------------------------------------------------------------- 1 | package reference; 2 | 3 | public class Type 4 | { 5 | public void method(Parameter param) 6 | { 7 | param.setValue(); 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt/remove-secondary-type/src/main/java/secondary/A.java: -------------------------------------------------------------------------------- 1 | package secondary; 2 | 3 | public class A {} 4 | 5 | class ASecondary {} 6 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt/remove-secondary-type/src/main/java/secondary/A.java-changed: -------------------------------------------------------------------------------- 1 | package secondary; 2 | 3 | public class A {} 4 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt/remove-secondary-type/src/main/java/secondary/B.java: -------------------------------------------------------------------------------- 1 | package secondary; 2 | 3 | public class B { 4 | ASecondary reference; 5 | } 6 | 7 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt/removed-types/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | removed 6 | removed 7 | 1.0.0-SNAPSHOT 8 | 9 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt/removed-types/src/main/java/removed/A.java: -------------------------------------------------------------------------------- 1 | package removed; 2 | 3 | public class A extends B {} 4 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt/removed-types/src/main/java/removed/B.java: -------------------------------------------------------------------------------- 1 | package removed; 2 | 3 | public class B {} 4 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt/removed-types/src/main/java/removed/Dummy.java: -------------------------------------------------------------------------------- 1 | package removed; 2 | 3 | public class Dummy {} 4 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt/secondary-type/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | secondary-type 6 | secondary-type 7 | 1.0.0-SNAPSHOT 8 | 9 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt/secondary-type/src/main/java/secondary/Primary.java: -------------------------------------------------------------------------------- 1 | package secondary; 2 | 3 | public interface Primary {} 4 | 5 | abstract class Secondary implements Primary {} -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt/secondary-type/src/main/java/secondary/SecondarySubclass.java: -------------------------------------------------------------------------------- 1 | package secondary; 2 | 3 | public class SecondarySubclass extends Secondary {} 4 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt/secondary-type/src/main/java/secondary/SecondarySubclassClient.java: -------------------------------------------------------------------------------- 1 | package secondary; 2 | 3 | public class SecondarySubclassClient { 4 | SecondarySubclass impl; 5 | } 6 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt/supertype/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | supertype 6 | supertype 7 | 1.0.0-SNAPSHOT 8 | takari-jar 9 | 10 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt/supertype/src/main/java/supertype/SubClass.java: -------------------------------------------------------------------------------- 1 | package supertype; 2 | 3 | public class SubClass 4 | extends SuperClass 5 | implements SuperInterface 6 | { 7 | 8 | } 9 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt/supertype/src/main/java/supertype/SuperClass.java: -------------------------------------------------------------------------------- 1 | package supertype; 2 | 3 | public class SuperClass 4 | { 5 | public void method() 6 | { 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt/supertype/src/main/java/supertype/SuperClass.java-comment: -------------------------------------------------------------------------------- 1 | package supertype; 2 | 3 | // comment 4 | public class SuperClass 5 | { 6 | public void method() 7 | { 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt/supertype/src/main/java/supertype/SuperClass.java-member: -------------------------------------------------------------------------------- 1 | package supertype; 2 | 3 | public class SuperClass 4 | { 5 | public void method() 6 | { 7 | } 8 | public void anotherMethod() 9 | { 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt/supertype/src/main/java/supertype/SuperClass.java-methodBody: -------------------------------------------------------------------------------- 1 | package supertype; 2 | 3 | public class SuperClass 4 | { 5 | public void method() 6 | { 7 | method(); // does not have to make sense 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt/supertype/src/main/java/supertype/SuperInterface.java: -------------------------------------------------------------------------------- 1 | package supertype; 2 | 3 | public interface SuperInterface 4 | { 5 | 6 | } 7 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-jdt/supertype/src/main/java/supertype/SuperInterface.java-comment: -------------------------------------------------------------------------------- 1 | package supertype; 2 | 3 | // comment 4 | public interface SuperInterface 5 | { 6 | 7 | } 8 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-proc/multiround-type-index/src/main/java/typeindex/Annotated.java: -------------------------------------------------------------------------------- 1 | package typeindex; 2 | 3 | @processor.Annotation 4 | public class Annotated {} 5 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-proc/multiround-type-index/src/main/java/typeindex/Consumer.java: -------------------------------------------------------------------------------- 1 | package typeindex; 2 | 3 | public class Consumer implements generated.TypeIndex {} 4 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-proc/multiround-type-reference/src/main/java/proc/AnotherSource.java: -------------------------------------------------------------------------------- 1 | package proc; 2 | 3 | @processor.Annotation 4 | public class AnotherSource { 5 | public Source source; 6 | } 7 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-proc/multiround-type-reference/src/main/java/proc/Source.java: -------------------------------------------------------------------------------- 1 | package proc; 2 | 3 | @processor.Annotation 4 | public class Source { 5 | 6 | } 7 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-proc/multiround-type-reference/src/main/java/proc/Source.java-changed: -------------------------------------------------------------------------------- 1 | package proc; 2 | 3 | @processor.Annotation 4 | public class Source { 5 | public int field; 6 | } 7 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-proc/multiround/src/main/java/multiround/Source.java: -------------------------------------------------------------------------------- 1 | package multiround; 2 | 3 | import processor.Annotation; 4 | 5 | @Annotation 6 | public class Source 7 | { 8 | public GeneratedSource generated; 9 | } 10 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-proc/proc-incremental-delete/src/main/java/proc/Keep.java: -------------------------------------------------------------------------------- 1 | package proc; 2 | 3 | public class Keep 4 | { 5 | 6 | } 7 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-proc/proc-incremental-delete/src/main/java/proc/Source.java: -------------------------------------------------------------------------------- 1 | package proc; 2 | 3 | import processor.Annotation; 4 | 5 | @Annotation 6 | public class Source 7 | { 8 | 9 | } 10 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-proc/proc-incremental-move/module-a/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | proc-incremental-move 6 | module-a 7 | 1.0 8 | 9 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-proc/proc-incremental-move/module-a/src/main/java/modulea/ModuleA.java-new: -------------------------------------------------------------------------------- 1 | package modulea; 2 | 3 | public class ModuleA { 4 | public String getValue() { 5 | return proc.GeneratedSource.VALUE; 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-proc/proc-incremental-move/module-a/src/main/java/proc/Source.java: -------------------------------------------------------------------------------- 1 | package proc; 2 | 3 | import processor.Annotation; 4 | 5 | @Annotation 6 | public class Source 7 | { 8 | 9 | } 10 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-proc/proc-incremental-move/module-a/src/main/java/proc/Source.java-remove-annotation: -------------------------------------------------------------------------------- 1 | package proc; 2 | 3 | public class Source 4 | { 5 | 6 | } 7 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-proc/proc-incremental-move/module-b/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | proc-incremental-move 6 | module-b 7 | 1.0 8 | 9 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-proc/proc-incremental-move/module-b/src/main/java/proc/GeneratedSource.java-moved: -------------------------------------------------------------------------------- 1 | package proc; 2 | 3 | public class GeneratedSource { 4 | public static final String VALUE = "value"; 5 | } 6 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-proc/proc-incremental-proconly/src/main/java/proc/Abstract.java: -------------------------------------------------------------------------------- 1 | package proc; 2 | 3 | import processor.Annotation; 4 | 5 | @Annotation 6 | public abstract class Abstract 7 | { 8 | 9 | } 10 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-proc/proc-incremental-proconly/src/main/java/proc/Abstract.java-remove-annotation: -------------------------------------------------------------------------------- 1 | package proc; 2 | 3 | public class Abstract 4 | { 5 | 6 | } 7 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-proc/proc-incremental-proconly/src/main/java/proc/Another.java: -------------------------------------------------------------------------------- 1 | package proc; 2 | 3 | import processor.Annotation; 4 | 5 | @Annotation 6 | public abstract class Another 7 | { 8 | 9 | } 10 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-proc/proc-incremental-proconly/src/main/java/proc/Concrete.java: -------------------------------------------------------------------------------- 1 | package proc; 2 | 3 | import processor.Annotation; 4 | 5 | public class Concrete extends Abstract 6 | { 7 | 8 | } 9 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-proc/proc-incremental-recompile/src/main/java/proc/Client.java: -------------------------------------------------------------------------------- 1 | package proc; 2 | 3 | public class Client { 4 | Source source; 5 | GeneratedSource generatedSource; 6 | } 7 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-proc/proc-incremental-recompile/src/main/java/proc/GeneratedSource.body: -------------------------------------------------------------------------------- 1 | { 2 | } -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-proc/proc-incremental-recompile/src/main/java/proc/GeneratedSource.body-changed: -------------------------------------------------------------------------------- 1 | { 2 | public String member; 3 | } -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-proc/proc-incremental-recompile/src/main/java/proc/Source.java: -------------------------------------------------------------------------------- 1 | package proc; 2 | 3 | import processor.Annotation; 4 | 5 | @Annotation 6 | public class Source {} 7 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-proc/proc-sourcepath-cache/project-a/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | proc-sourcepath-cache 6 | project-a 7 | 1.0 8 | 9 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-proc/proc-sourcepath-cache/project-a/src/main/java/sourcepath/projecta/SourceA.java: -------------------------------------------------------------------------------- 1 | package sourcepath.projecta; 2 | 3 | import processor.Annotation; 4 | 5 | @Annotation 6 | public class SourceA 7 | { 8 | } 9 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-proc/proc-sourcepath-cache/project-b/src/main/java/sourcepath/projectb/SourceB.java: -------------------------------------------------------------------------------- 1 | package sourcepath.projectb; 2 | 3 | import processor.Annotation; 4 | 5 | @Annotation 6 | public class SourceB 7 | { 8 | sourcepath.projecta.GeneratedSourceA sourcea; 9 | } 10 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-proc/proc-sourcepath-includes/src/main/java/sourcepath/dependency/SourcepathDependency.java: -------------------------------------------------------------------------------- 1 | package sourcepath.dependency; 2 | 3 | public class SourcepathDependency {} 4 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-proc/proc-sourcepath-includes/src/main/java/sourcepath/project/Source.java: -------------------------------------------------------------------------------- 1 | package sourcepath.project; 2 | 3 | import processor.Annotation; 4 | 5 | @Annotation 6 | public class Source 7 | { 8 | sourcepath.dependency.SourcepathDependency dependency; 9 | } 10 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-proc/proc-sourcepath-nestedtype-through-binary/binary-dependency/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | proc-sourcepath-nestedtype 6 | binary-dependency 7 | 1.0 8 | jar 9 | 10 | 11 | 12 | proc-sourcepath-nestedtype 13 | dependency 14 | 1.0 15 | 16 | 17 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-proc/proc-sourcepath-nestedtype-through-binary/binary-dependency/src/main/java/sourcepath/nestedtype/dependency/BinaryDependency.java: -------------------------------------------------------------------------------- 1 | package sourcepath.nestedtype.dependency; 2 | 3 | public class BinaryDependency { 4 | SourcepathDependency.NestedType dependency; 5 | } 6 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-proc/proc-sourcepath-nestedtype-through-binary/binary-dependency/target/binary-dependency-1.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takari/takari-lifecycle/29c7c5f8ca9cb1059485df78e4e57d6e1f0bbfce/takari-lifecycle-plugin/src/test/projects/compile-proc/proc-sourcepath-nestedtype-through-binary/binary-dependency/target/binary-dependency-1.0.jar -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-proc/proc-sourcepath-nestedtype-through-binary/dependency/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | proc-sourcepath-nestedtype 6 | dependency 7 | 1.0 8 | 9 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-proc/proc-sourcepath-nestedtype-through-binary/dependency/src/main/java/sourcepath/nestedtype/dependency/SourcepathDependency.java: -------------------------------------------------------------------------------- 1 | package sourcepath.nestedtype.dependency; 2 | 3 | public class SourcepathDependency { 4 | public static class NestedType {} 5 | } 6 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-proc/proc-sourcepath-nestedtype-through-binary/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | proc-sourcepath-nestedtype 6 | aggregate 7 | 1.0 8 | pom 9 | 10 | 11 | dependency 12 | binary-dependency 13 | 14 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-proc/proc-sourcepath-nestedtype-through-binary/project/src/main/java/sourcepath/nestedtype/project/Source.java: -------------------------------------------------------------------------------- 1 | package sourcepath.nestedtype.project; 2 | 3 | import processor.Annotation; 4 | 5 | @Annotation 6 | public class Source 7 | { 8 | sourcepath.nestedtype.dependency.BinaryDependency dependency; 9 | } 10 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-proc/proc-sourcepath-secondarytype/dependency/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | proc-sourcepath-secondarytype 6 | dependency 7 | 1.0 8 | 9 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-proc/proc-sourcepath-secondarytype/dependency/src/main/java/sourcepath/secondarytype/CompilationUnit.java: -------------------------------------------------------------------------------- 1 | package sourcepath.secondarytype; 2 | 3 | public class CompilationUnit { 4 | } 5 | 6 | class SecondatyType {} 7 | 8 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-proc/proc-sourcepath-secondarytype/dependency/src/test/java/sourcepath/dependency/test/SourcepathDependencyTest.java: -------------------------------------------------------------------------------- 1 | package sourcepath.dependency.test; 2 | 3 | public class SourcepathDependencyTest { 4 | sourcepath.dependency.SourcepathDependency testee; 5 | } 6 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-proc/proc-sourcepath-secondarytype/project/src/main/java/sourcepath/secondarytype/Source.java: -------------------------------------------------------------------------------- 1 | package sourcepath.secondarytype; 2 | 3 | import processor.Annotation; 4 | 5 | @Annotation 6 | public class Source 7 | { 8 | sourcepath.secondarytype.SecondatyType dependency; 9 | } 10 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-proc/proc-sourcepath/dependency/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | proc-sourcepath 6 | dependency 7 | 1.0 8 | 9 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-proc/proc-sourcepath/dependency/src/main/java/sourcepath/dependency/SourcepathDependency.java: -------------------------------------------------------------------------------- 1 | package sourcepath.dependency; 2 | 3 | public class SourcepathDependency {} 4 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-proc/proc-sourcepath/dependency/src/test/java/sourcepath/dependency/test/SourcepathDependencyTest.java: -------------------------------------------------------------------------------- 1 | package sourcepath.dependency.test; 2 | 3 | public class SourcepathDependencyTest { 4 | sourcepath.dependency.SourcepathDependency testee; 5 | } 6 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-proc/proc-sourcepath/project/src/main/java/sourcepath/project/Source.java: -------------------------------------------------------------------------------- 1 | package sourcepath.project; 2 | 3 | import processor.Annotation; 4 | 5 | @Annotation 6 | public class Source 7 | { 8 | sourcepath.dependency.SourcepathDependency dependency; 9 | } 10 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-proc/proc-sourcepath/project/src/test/java/sourcepath/project/test/SourceTest.java: -------------------------------------------------------------------------------- 1 | package sourcepath.project.test; 2 | 3 | @processor.Annotation 4 | public class SourceTest { 5 | sourcepath.dependency.test.SourcepathDependencyTest dependency; 6 | sourcepath.project.Source testee; 7 | } 8 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-proc/proc-type-reference/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | compile 6 | proc-type-reference 7 | 1.0 8 | 9 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-proc/proc-type-reference/src/main/java/proc/GeneratedSourceSubclass.java: -------------------------------------------------------------------------------- 1 | package proc; 2 | 3 | public class GeneratedSourceSubclass extends GeneratedSource 4 | { 5 | 6 | } 7 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-proc/proc-type-reference/src/main/java/proc/Source.java: -------------------------------------------------------------------------------- 1 | package proc; 2 | 3 | import processor.Annotation; 4 | 5 | @Annotation 6 | public class Source 7 | { 8 | 9 | } 10 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-proc/proc/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | compile 6 | proc 7 | 1.0 8 | 9 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-proc/proc/src/main/java/proc/Source.java: -------------------------------------------------------------------------------- 1 | package proc; 2 | 3 | import processor.Annotation; 4 | 5 | @Annotation 6 | public class Source 7 | { 8 | 9 | } 10 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-proc/proc/src/main/java/proc/Source.java-remove-annotation: -------------------------------------------------------------------------------- 1 | package proc; 2 | 3 | public class Source 4 | { 5 | 6 | } 7 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-proc/processor/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | compile 6 | processor 7 | 1.0 8 | 9 | 10 | 11 | 12 | 13 | io.takari.maven.plugins 14 | takari-lifecycle-plugin 15 | 16 | 19 | none 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-proc/processor/src/main/java/processor/Annotation.java: -------------------------------------------------------------------------------- 1 | package processor; 2 | 3 | import java.lang.annotation.Inherited; 4 | 5 | @Inherited 6 | public @interface Annotation 7 | { 8 | 9 | } 10 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-proc/processor/src/main/java/processor/AnotherProcessor.java: -------------------------------------------------------------------------------- 1 | package processor; 2 | 3 | import javax.annotation.processing.SupportedAnnotationTypes; 4 | 5 | @SupportedAnnotationTypes("processor.Annotation") 6 | public class AnotherProcessor extends ProcessorImpl { 7 | 8 | public AnotherProcessor() { 9 | super("AnotherGenerated"); 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-proc/processor/src/main/java/processor/BrokenProcessor.java: -------------------------------------------------------------------------------- 1 | package processor; 2 | 3 | import java.io.BufferedWriter; 4 | import java.io.IOException; 5 | 6 | import javax.annotation.processing.SupportedAnnotationTypes; 7 | 8 | @SupportedAnnotationTypes("processor.Annotation") 9 | public class BrokenProcessor extends ProcessorImpl { 10 | 11 | public BrokenProcessor() { 12 | super("Broken"); 13 | } 14 | 15 | @Override 16 | protected void appendBody(String pkgName, String clsName, BufferedWriter w) throws IOException { 17 | w.append(" { Missing missing; }"); 18 | } 19 | 20 | } 21 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-proc/processor/src/main/java/processor/NonIncrementalProcessor.java: -------------------------------------------------------------------------------- 1 | package processor; 2 | 3 | import java.io.IOException; 4 | 5 | import javax.annotation.processing.SupportedAnnotationTypes; 6 | import javax.lang.model.element.Element; 7 | import javax.tools.FileObject; 8 | 9 | @SupportedAnnotationTypes("processor.Annotation") 10 | public class NonIncrementalProcessor extends ProcessorImpl { 11 | 12 | public NonIncrementalProcessor() { 13 | super("NonIncremental"); 14 | } 15 | 16 | @Override 17 | protected FileObject createFile(String pkgName, String clsSimpleName, Element element) 18 | throws IOException { 19 | String clsQualifiedName = pkgName + "." + clsSimpleName; 20 | 21 | // note this does not pass originating element to Filer, hence "non-incremental" 22 | return processingEnv.getFiler().createSourceFile(clsQualifiedName); 23 | } 24 | 25 | } 26 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-proc/processor/src/main/java/processor/Processor.java: -------------------------------------------------------------------------------- 1 | package processor; 2 | 3 | import javax.annotation.processing.SupportedAnnotationTypes; 4 | 5 | @SupportedAnnotationTypes("processor.Annotation") 6 | public class Processor extends ProcessorImpl { 7 | 8 | public Processor() { 9 | super("Generated"); 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-proc/processor/src/main/java/processor/ProcessorCreateResource.java: -------------------------------------------------------------------------------- 1 | package processor; 2 | 3 | import java.io.IOException; 4 | 5 | import javax.annotation.processing.SupportedAnnotationTypes; 6 | import javax.lang.model.element.Element; 7 | import javax.tools.FileObject; 8 | import javax.tools.JavaFileObject; 9 | import javax.tools.StandardLocation; 10 | 11 | // processor uses Filer#createResource to create Kind.SOURCE files 12 | @SupportedAnnotationTypes("processor.Annotation") 13 | public class ProcessorCreateResource extends Processor { 14 | 15 | @Override 16 | protected FileObject createFile(String pkgName, String clsSimpleName, Element element) 17 | throws IOException { 18 | return processingEnv.getFiler().createResource(StandardLocation.SOURCE_OUTPUT, pkgName, 19 | clsSimpleName + JavaFileObject.Kind.SOURCE.extension, element); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-proc/processor/src/main/java/processor/ThrowExceptionProcessor.java: -------------------------------------------------------------------------------- 1 | package processor; 2 | 3 | import java.util.Set; 4 | 5 | import javax.annotation.processing.AbstractProcessor; 6 | import javax.annotation.processing.RoundEnvironment; 7 | import javax.annotation.processing.SupportedAnnotationTypes; 8 | import javax.annotation.processing.SupportedSourceVersion; 9 | import javax.lang.model.SourceVersion; 10 | import javax.lang.model.element.TypeElement; 11 | 12 | @SupportedAnnotationTypes("processor.Annotation") 13 | @SupportedSourceVersion(SourceVersion.RELEASE_6) 14 | public class ThrowExceptionProcessor extends AbstractProcessor { 15 | 16 | @Override 17 | public boolean process(Set annotations, RoundEnvironment roundEnv) { 18 | throw new RuntimeException("throw exception processor"); 19 | } 20 | 21 | } 22 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-proc/processor/src/main/resources/META-INF/services/javax.annotation.processing.Processor: -------------------------------------------------------------------------------- 1 | processor.Processor 2 | processor.AnotherProcessor -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-proc/processorpath-annotation/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | compile-proc 6 | processorpath-annotation 7 | 1.0 8 | 9 | 10 | 11 | 12 | 13 | io.takari.maven.plugins 14 | takari-lifecycle-plugin 15 | 16 | 19 | none 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-proc/processorpath-annotation/src/main/java/processor/Annotation.java: -------------------------------------------------------------------------------- 1 | package processor; 2 | 3 | import java.lang.annotation.Inherited; 4 | 5 | @Inherited 6 | public @interface Annotation 7 | { 8 | 9 | } 10 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-proc/processorpath-processor/src/main/java/processor/Processor.java: -------------------------------------------------------------------------------- 1 | package processor; 2 | 3 | import javax.annotation.processing.SupportedAnnotationTypes; 4 | 5 | @SupportedAnnotationTypes("processor.Annotation") 6 | public class Processor extends ProcessorImpl { 7 | 8 | public Processor() { 9 | super("Generated"); 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-proc/processorpath-processor/src/main/resources/META-INF/services/javax.annotation.processing.Processor: -------------------------------------------------------------------------------- 1 | processor.Processor 2 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-proc/reprocess/src/main/java/reprocess/Annotated.java: -------------------------------------------------------------------------------- 1 | package reprocess; 2 | 3 | @processor.Annotation 4 | public class Annotated { 5 | public static final int VALUE = SimpleB.VALUE; 6 | } 7 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-proc/reprocess/src/main/java/reprocess/SimpleA.java: -------------------------------------------------------------------------------- 1 | package reprocess; 2 | 3 | public class SimpleA { 4 | public static final int VALUE = 1; 5 | } 6 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-proc/reprocess/src/main/java/reprocess/SimpleA.java-changed: -------------------------------------------------------------------------------- 1 | package reprocess; 2 | 3 | public class SimpleA { 4 | public static final int VALUE = 10; 5 | } 6 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-proc/reprocess/src/main/java/reprocess/SimpleB.java: -------------------------------------------------------------------------------- 1 | package reprocess; 2 | 3 | public class SimpleB { 4 | public static final int VALUE = SimpleA.VALUE; 5 | } 6 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-proc/require-proc/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | compile 6 | effective-proc 7 | 1.0 8 | 9 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile-proc/require-proc/src/main/java/proc/Source.java: -------------------------------------------------------------------------------- 1 | package proc; 2 | 3 | public class Source 4 | { 5 | 6 | } 7 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile/annotation/src/main/java/annotation/AnnotatedClass.java: -------------------------------------------------------------------------------- 1 | package annotation; 2 | 3 | @Annotation 4 | public class AnnotatedClass { 5 | 6 | } 7 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile/annotation/src/main/java/annotation/Annotation.java: -------------------------------------------------------------------------------- 1 | package annotation; 2 | 3 | import java.lang.annotation.Retention; 4 | import java.lang.annotation.RetentionPolicy; 5 | 6 | @Retention(RetentionPolicy.CLASS) 7 | public @interface Annotation { 8 | 9 | } 10 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile/basic/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | compile 6 | basic 7 | 1.0 8 | 9 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile/basic/src/main/java/basic/Basic.java: -------------------------------------------------------------------------------- 1 | package basic; 2 | 3 | public class Basic {} 4 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile/basic/src/test/java/basic/BasicTest.java: -------------------------------------------------------------------------------- 1 | package basic; 2 | 3 | public class BasicTest { 4 | private Basic subject = new Basic(); 5 | } 6 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile/binary-class-message/annotated.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takari/takari-lifecycle/29c7c5f8ca9cb1059485df78e4e57d6e1f0bbfce/takari-lifecycle-plugin/src/test/projects/compile/binary-class-message/annotated.zip -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile/binary-class-message/annotated/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | binary-class-message 6 | annotated 7 | 1.0 8 | 9 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile/binary-class-message/annotated/src/main/java/annotated/Annotated.java: -------------------------------------------------------------------------------- 1 | package annotated; 2 | 3 | import annotation.Annotation; 4 | 5 | @Annotation(description = "description") 6 | public class Annotated { 7 | 8 | @Annotation(description = "description") 9 | public static String method() { 10 | return null; 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile/binary-class-message/annotated/src/main/java/annotation/Annotation.java: -------------------------------------------------------------------------------- 1 | package annotation; 2 | 3 | import static java.lang.annotation.ElementType.TYPE; 4 | 5 | import java.lang.annotation.ElementType; 6 | import java.lang.annotation.Inherited; 7 | import java.lang.annotation.Retention; 8 | import java.lang.annotation.RetentionPolicy; 9 | import java.lang.annotation.Target; 10 | 11 | @Retention(RetentionPolicy.CLASS) 12 | @Target({ ElementType.TYPE, ElementType.METHOD }) 13 | @Annotation 14 | public @interface Annotation { 15 | String description() default ""; 16 | } 17 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile/binary-class-message/project/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | binary-class-message 6 | project 7 | 1.0 8 | 9 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile/binary-class-message/project/src/main/java/project/Project.java: -------------------------------------------------------------------------------- 1 | package project; 2 | 3 | import annotated.Annotated; 4 | 5 | public class Project { 6 | private String string = Annotated.method(); 7 | } 8 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile/classpath/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | compile 6 | classpath 7 | 1.0 8 | 9 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile/classpath/src/main/java/classpath/Classpath.java: -------------------------------------------------------------------------------- 1 | package classpath; 2 | 3 | import basic.Basic; 4 | 5 | public class Classpath 6 | { 7 | public void test() 8 | { 9 | new Basic(); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile/empty/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | compile 6 | empty 7 | 1.0 8 | 9 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile/encoding/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | compile 6 | encoding 7 | 1.0 8 | 9 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile/encoding/src/main/java/encoding/ISO8859p5.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takari/takari-lifecycle/29c7c5f8ca9cb1059485df78e4e57d6e1f0bbfce/takari-lifecycle-plugin/src/test/projects/compile/encoding/src/main/java/encoding/ISO8859p5.java -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile/error/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | compile 6 | error 7 | 1.0 8 | 9 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile/error/src/main/java/error/Error.java: -------------------------------------------------------------------------------- 1 | package basic; 2 | 3 | public class Error { 4 | private Foo foo; 5 | } 6 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile/failOnError/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | compile 6 | basic 7 | 1.0 8 | 9 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile/failOnError/src/main/java/basic/Basic.java: -------------------------------------------------------------------------------- 1 | package basic; 2 | 3 | public class Basic {} 4 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile/failOnError/src/main/java/basic/Error.java: -------------------------------------------------------------------------------- 1 | package basic; 2 | 3 | public class Error { 4 | 5 | private Strin a; 6 | } 7 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile/implicit-classfile/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | compile 6 | implicit-classfile 7 | 1.0 8 | 9 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile/implicit-classfile/src/main/java/implicit/Implicit.java: -------------------------------------------------------------------------------- 1 | package implicit; 2 | 3 | import basic.Basic; 4 | 5 | public class Implicit 6 | { 7 | public void test() 8 | { 9 | new Basic(); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile/inner-type-dependency/dependency/src/main/java/innertype/Outer.java: -------------------------------------------------------------------------------- 1 | package innertype; 2 | 3 | public class Outer { 4 | public static class Inner { 5 | 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile/inner-type-dependency/src/main/java/innertyperef/InnerTypeRef.java: -------------------------------------------------------------------------------- 1 | package innertyperef; 2 | 3 | public class InnerTypeRef { 4 | innertype.Outer.Inner inner = null; 5 | } 6 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile/multiple-executions/src/main/java/main/Main.java: -------------------------------------------------------------------------------- 1 | package main; 2 | 3 | public class Main extends other.Other {} 4 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile/multiple-executions/src/main/java/other/Other.java: -------------------------------------------------------------------------------- 1 | package other; 2 | 3 | public class Other {} 4 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile/parameters/src/main/java/parameters/MethodParameter.java: -------------------------------------------------------------------------------- 1 | package parameters; 2 | 3 | public class MethodParameter { 4 | 5 | public void bar(String myNamedParameter) { 6 | 7 | } 8 | 9 | } 10 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile/source-filtering/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | compile 6 | source-filtering 7 | 1.0 8 | 9 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile/source-filtering/src/main/java/basic/Basic.java: -------------------------------------------------------------------------------- 1 | package basic; 2 | 3 | public class Basic {} 4 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile/source-filtering/src/main/java/basic/Garbage.java: -------------------------------------------------------------------------------- 1 | garbage, does not compile -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile/spa ce/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | compile 6 | space 7 | 1.0 8 | 9 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile/spa ce/src/main/java/space/Space.java: -------------------------------------------------------------------------------- 1 | package space; 2 | 3 | public class Space {} 4 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile/unexpected-sources/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | compile 6 | unexpected-sources 7 | 1.0 8 | 9 | 10 | 11 | 12 | io.takari.maven.plugins 13 | takari-lifecycle-plugin 14 | 15 | 16 | ** 17 | 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile/unexpected-sources/src/main/java/nonjava/Basic.java: -------------------------------------------------------------------------------- 1 | package nonjava; 2 | 3 | public class Basic {} 4 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile/unexpected-sources/src/main/java/nonjava/NonJava.nonjava: -------------------------------------------------------------------------------- 1 | package nonjava; 2 | 3 | public class NonJava {} 4 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile/warn/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | compile 6 | warn 7 | 1.0 8 | 9 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/compile/warn/src/main/java/warn/Warn.java: -------------------------------------------------------------------------------- 1 | package warn; 2 | 3 | class Warn { 4 | // http://docs.oracle.com/javase/7/docs/technotes/tools/windows/javac.html#xlintwarnings 5 | java.util.List str; // raw type 6 | } 7 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/configurator/jar/project-with-manifest-under-target-classes/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 4.0.0 5 | 6 | io.takari.lifecycle.its 7 | test 8 | 1.0 9 | 10 | 11 | UTF-8 12 | 13 | 14 | 15 | 16 | 17 | io.takari.maven.plugins 18 | takari-lifecycle-plugin 19 | 20 | 21 | 22 | 23 | ${project.basedir}/target/classes/META-INF/MANIFEST.MF 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/configurator/jar/project-with-manifest-under-target-classes/target/classes/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Custom-Entry: custom-value 3 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/configurator/jar/project-with-manifest/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 4.0.0 5 | 6 | io.takari.lifecycle.its 7 | test 8 | 1.0 9 | 10 | 11 | UTF-8 12 | 13 | 14 | 15 | 16 | 17 | io.takari.maven.plugins 18 | takari-lifecycle-plugin 19 | 20 | 21 | 22 | 23 | ${project.basedir}/src/META-INF/MANIFEST.MF 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/configurator/jar/project-with-manifest/src/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Custom-Entry: custom-value 3 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/configurator/jar/project-with-manifest/src/META-INF/MANIFEST.MF-changed: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Custom-Entry: changed-custom-value 3 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/exportpackage/basic/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | basic 6 | basic 7 | 0.1 8 | 9 | 10 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/install-deploy/basic/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 4.0.0 5 | 6 | io.takari.lifecycle.its 7 | test 8 | ${version} 9 | 10 | 11 | UTF-8 12 | 13 | 14 | 15 | 16 | repoid 17 | file://${repopath} 18 | 19 | 20 | repoid 21 | file://${repopath} 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/install-deploy/deploy-at-end/modulea/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4.0.0 4 | 5 | io.takari.lifecycle.its 6 | test 7 | ${version} 8 | 9 | test-modulea 10 | ${version} 11 | 12 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/install-deploy/deploy-at-end/modulea/src/main/java/basic/Basic.java: -------------------------------------------------------------------------------- 1 | package basic; 2 | 3 | public class Basic {} 4 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/install-deploy/deploy-at-end/moduleb/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4.0.0 4 | 5 | io.takari.lifecycle.its 6 | test 7 | ${version} 8 | 9 | test-moduleb 10 | ${version} 11 | 12 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/install-deploy/deploy-at-end/moduleb/src/main/java/basic/Basic.java: -------------------------------------------------------------------------------- 1 | package basic; 2 | 3 | public class Basic {} 4 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/jar/basic/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 4.0.0 5 | 6 | io.takari.lifecycle.its 7 | test 8 | 1.0 9 | 10 | 11 | UTF-8 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/jar/basic/src/main/java/basic/Basic.java: -------------------------------------------------------------------------------- 1 | package basic; 2 | 3 | public class Basic {} 4 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/jar/basic/src/main/resources/resource.txt: -------------------------------------------------------------------------------- 1 | resource.txt -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/jar/basic/src/test/java/basic/test/BasicTest.java: -------------------------------------------------------------------------------- 1 | package basic.test; 2 | 3 | public class BasicTest {} 4 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/jar/basic/src/test/resources/test-resource.txt: -------------------------------------------------------------------------------- 1 | resource.txt -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/jar/empty/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 4.0.0 5 | 6 | io.takari.lifecycle.its 7 | test 8 | 1.0 9 | 10 | 11 | UTF-8 12 | 13 | 14 | 15 | 16 | 17 | io.takari.maven.plugins 18 | takari-lifecycle-plugin 19 | 20 | true 21 | true 22 | true 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/jar/project-with-manifest-entries/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 4.0.0 5 | 6 | io.takari.lifecycle.its 7 | test 8 | 1.0 9 | 10 | 11 | UTF-8 12 | 13 | 14 | 15 | 16 | 17 | io.takari.maven.plugins 18 | takari-lifecycle-plugin 19 | 20 | true 21 | 22 | 23 | 24 | custom-value 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/jar/project-with-manifest-under-target-classes/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 4.0.0 5 | 6 | io.takari.lifecycle.its 7 | test 8 | 1.0 9 | 10 | 11 | UTF-8 12 | 13 | 14 | 15 | 16 | 17 | io.takari.maven.plugins 18 | takari-lifecycle-plugin 19 | 20 | 21 | 22 | ${project.basedir}/target/classes/META-INF/MANIFEST.MF 23 | 24 | 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/jar/project-with-manifest-under-target-classes/target/classes/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Custom-Entry: custom-value 3 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/jar/project-with-manifest/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 4.0.0 5 | 6 | io.takari.lifecycle.its 7 | test 8 | 1.0 9 | 10 | 11 | UTF-8 12 | 13 | 14 | 15 | 16 | 17 | io.takari.maven.plugins 18 | takari-lifecycle-plugin 19 | 20 | 21 | 22 | ${project.basedir}/src/META-INF/MANIFEST.MF 23 | 24 | 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/jar/project-with-manifest/src/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Custom-Entry: custom-value 3 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/jar/project-with-manifest/src/META-INF/MANIFEST.MF-changed: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Custom-Entry: changed-custom-value 3 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/jar/project-with-resources/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 4.0.0 5 | 6 | io.takari.lifecycle.its 7 | test 8 | 1.0 9 | 10 | 11 | UTF-8 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/jar/project-with-resources/src/main/resources/resource.txt: -------------------------------------------------------------------------------- 1 | resource.txt -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/jar/project-with-resources/src/main/resources/subdir/resource.txt: -------------------------------------------------------------------------------- 1 | subdir/resource.txt -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/plugin-descriptor/basic-builder/expected/lifecycle-mapping-metadata.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | basic-builder 11 | 12 | 13 | 14 | 15 | io.takari.m2e.incrementalbuild.builderMojoExecutionConfigurator 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/plugin-descriptor/basic-builder/src/main/java/io/takari/lifecycle/uts/plugindescriptor/BasicBuilder.java: -------------------------------------------------------------------------------- 1 | package io.takari.lifecycle.uts.plugindescriptor; 2 | 3 | import org.apache.maven.plugins.annotations.Mojo; 4 | import org.apache.maven.plugins.annotations.Parameter; 5 | 6 | import io.takari.builder.internal.maven.AbstractIncrementalMojo; 7 | 8 | @Mojo(name = "basic-builder") 9 | public class BasicBuilder extends AbstractIncrementalMojo { 10 | 11 | protected BasicBuilder(Class builderType) { 12 | super(builderType); 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/plugin-descriptor/basic/expected/lifecycle-mapping-metadata.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/plugin-descriptor/basic/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 4.0.0 5 | 6 | io.takari.lifecycle.uts 7 | plugin-descriptor-basic 8 | 0.1 9 | 10 | 11 | UTF-8 12 | 3.2.1 13 | 3.3 14 | 15 | 16 | 17 | 18 | org.apache.maven 19 | maven-plugin-api 20 | ${mavenVersion} 21 | provided 22 | 23 | 24 | org.apache.maven.plugin-tools 25 | maven-plugin-annotations 26 | ${mavenPluginPluginVersion} 27 | provided 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/plugin-descriptor/basic/src/main/java/io/takari/lifecycle/uts/plugindescriptor/BasicMojo.java: -------------------------------------------------------------------------------- 1 | package io.takari.lifecycle.uts.plugindescriptor; 2 | 3 | import org.apache.maven.plugin.AbstractMojo; 4 | import org.apache.maven.plugin.MojoExecutionException; 5 | import org.apache.maven.plugin.MojoFailureException; 6 | import org.apache.maven.plugins.annotations.Component; 7 | import org.apache.maven.plugins.annotations.Mojo; 8 | import org.apache.maven.plugins.annotations.Parameter; 9 | 10 | @Mojo(name = "basic") 11 | public class BasicMojo extends AbstractMojo { 12 | 13 | @Parameter 14 | private String parameter; 15 | 16 | @Parameter(defaultValue = "${project.artifactId}") 17 | private String parameterWithConfiguration; 18 | 19 | @Parameter(property = "property", defaultValue = "false") 20 | private boolean parameterWithPropertyAndDefaultValue; 21 | 22 | @Component 23 | private ComponentClass component; 24 | 25 | public void execute() throws MojoExecutionException, MojoFailureException { 26 | 27 | } 28 | 29 | } 30 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/plugin-descriptor/basic/src/main/java/io/takari/lifecycle/uts/plugindescriptor/ComponentClass.java: -------------------------------------------------------------------------------- 1 | package io.takari.lifecycle.uts.plugindescriptor; 2 | 3 | public class ComponentClass { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/plugin-descriptor/gleaner/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 4.0.0 5 | 6 | io.takari.lifecycle.uts 7 | plugin-descriptor-gleaner 8 | 0.1 9 | 10 | 11 | UTF-8 12 | 3.2.1 13 | 3.3 14 | 15 | 16 | 17 | 18 | org.apache.maven 19 | maven-plugin-api 20 | ${mavenVersion} 21 | provided 22 | 23 | 24 | org.apache.maven.plugin-tools 25 | maven-plugin-annotations 26 | ${mavenPluginPluginVersion} 27 | provided 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/plugin-descriptor/gleaner/src/main/java/io/takari/lifecycle/uts/plugindescriptor/glean_RequirementTypes.java: -------------------------------------------------------------------------------- 1 | package io.takari.lifecycle.uts.plugindescriptor; 2 | 3 | import java.util.List; 4 | import java.util.Map; 5 | 6 | import org.apache.maven.plugins.annotations.Component; 7 | import org.apache.maven.plugins.annotations.Parameter; 8 | 9 | public class glean_RequirementTypes { 10 | 11 | @Component 12 | private Map mapRequirement; 13 | 14 | @Component 15 | private List listRequirement; 16 | 17 | @Parameter 18 | private List listParameter; 19 | 20 | @Parameter 21 | private boolean booleanParameter; 22 | 23 | @Parameter 24 | private String[] arrayParameter; 25 | } 26 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/plugin-descriptor/incremental-dependency/dependency/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/plugin-descriptor/incremental-dependency/dependency/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 4.0.0 5 | 6 | io.takari.lifecycle.uts 7 | plugin-descriptor-incremental-dependency-dependency 8 | 0.1 9 | 10 | 11 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/plugin-descriptor/incremental-dependency/dependency/src/main/java/io/takari/lifecycle/uts/plugindescriptor/ComponentClass.java: -------------------------------------------------------------------------------- 1 | package io.takari.lifecycle.uts.plugindescriptor; 2 | 3 | public class ComponentClass { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/plugin-descriptor/incremental-dependency/dependency/src/main/java/io/takari/lifecycle/uts/plugindescriptor/ComponentClass.java-private-change: -------------------------------------------------------------------------------- 1 | package io.takari.lifecycle.uts.plugindescriptor; 2 | 3 | public class ComponentClass { 4 | private static final int member = 1; 5 | } 6 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/plugin-descriptor/incremental-indirect-reference/src/main/java/io/takari/lifecycle/uts/plugindescriptor/BasicMojo.java: -------------------------------------------------------------------------------- 1 | package io.takari.lifecycle.uts.plugindescriptor; 2 | 3 | import org.apache.maven.plugin.AbstractMojo; 4 | import org.apache.maven.plugin.MojoExecutionException; 5 | import org.apache.maven.plugin.MojoFailureException; 6 | import org.apache.maven.plugins.annotations.Mojo; 7 | 8 | @Mojo(name = DirectReference.GOAL) 9 | public class BasicMojo extends AbstractMojo { 10 | 11 | public void execute() throws MojoExecutionException, MojoFailureException { 12 | 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/plugin-descriptor/incremental-indirect-reference/src/main/java/io/takari/lifecycle/uts/plugindescriptor/DirectReference.java: -------------------------------------------------------------------------------- 1 | package io.takari.lifecycle.uts.plugindescriptor; 2 | 3 | public class DirectReference { 4 | static final String GOAL = IndirectReference.GOAL; 5 | } 6 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/plugin-descriptor/incremental-indirect-reference/src/main/java/io/takari/lifecycle/uts/plugindescriptor/IndirectReference.java: -------------------------------------------------------------------------------- 1 | package io.takari.lifecycle.uts.plugindescriptor; 2 | 3 | public class IndirectReference { 4 | static final String GOAL = "goal"; 5 | } 6 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/plugin-descriptor/incremental-indirect-reference/src/main/java/io/takari/lifecycle/uts/plugindescriptor/IndirectReference.java-changed: -------------------------------------------------------------------------------- 1 | package io.takari.lifecycle.uts.plugindescriptor; 2 | 3 | public class IndirectReference { 4 | static final String GOAL = "changed-goal"; 5 | } 6 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/plugin-descriptor/incremental-inheritance/abstract/expected/mojos.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | org.apache.maven.plugin.AbstractMojo 6 | 7 | io.takari.lifecycle.uts.plugindescriptor.AbstractExternalMojo 8 | 9 | 10 | inheritedExternalParameter 11 | java.lang.String 12 | true 13 | inherited external parameter 14 | 15 | 16 | 17 | 18 | inheritedExternalComponent 19 | io.takari.lifecycle.uts.plugindescriptor.ComponentClass 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/plugin-descriptor/incremental-inheritance/abstract/expected/mojos.xml-changed: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | org.apache.maven.plugin.AbstractMojo 6 | 7 | io.takari.lifecycle.uts.plugindescriptor.AbstractExternalMojo 8 | 9 | 10 | inheritedExternalParameter 11 | java.lang.String 12 | true 13 | inherited external parameter 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/plugin-descriptor/incremental-inheritance/abstract/src/main/java/io/takari/lifecycle/uts/plugindescriptor/AbstractExternalMojo.java: -------------------------------------------------------------------------------- 1 | package io.takari.lifecycle.uts.plugindescriptor; 2 | 3 | import org.apache.maven.plugin.AbstractMojo; 4 | import org.apache.maven.plugins.annotations.Component; 5 | import org.apache.maven.plugins.annotations.Parameter; 6 | 7 | public abstract class AbstractExternalMojo extends AbstractMojo { 8 | 9 | /** inherited external parameter */ 10 | @Parameter 11 | private String inheritedExternalParameter; 12 | 13 | @Component 14 | private ComponentClass inheritedExternalComponent; 15 | 16 | } 17 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/plugin-descriptor/incremental-inheritance/abstract/src/main/java/io/takari/lifecycle/uts/plugindescriptor/AbstractExternalMojo.java-changed: -------------------------------------------------------------------------------- 1 | package io.takari.lifecycle.uts.plugindescriptor; 2 | 3 | import org.apache.maven.plugin.AbstractMojo; 4 | import org.apache.maven.plugins.annotations.Parameter; 5 | 6 | public abstract class AbstractExternalMojo extends AbstractMojo { 7 | 8 | /** inherited external parameter */ 9 | @Parameter 10 | private String inheritedExternalParameter; 11 | 12 | } 13 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/plugin-descriptor/incremental-inheritance/abstract/src/main/java/io/takari/lifecycle/uts/plugindescriptor/AbstractExternalMojo.java-removed: -------------------------------------------------------------------------------- 1 | package io.takari.lifecycle.uts.plugindescriptor; 2 | 3 | import org.apache.maven.plugin.AbstractMojo; 4 | 5 | public abstract class AbstractExternalMojo extends AbstractMojo { 6 | 7 | } 8 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/plugin-descriptor/incremental-inheritance/abstract/src/main/java/io/takari/lifecycle/uts/plugindescriptor/ComponentClass.java: -------------------------------------------------------------------------------- 1 | package io.takari.lifecycle.uts.plugindescriptor; 2 | 3 | public class ComponentClass { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/plugin-descriptor/incremental-inheritance/concrete/src/main/java/io/takari/lifecycle/uts/plugindescriptor/AbstractLocalMojo.java: -------------------------------------------------------------------------------- 1 | package io.takari.lifecycle.uts.plugindescriptor; 2 | 3 | import org.apache.maven.plugins.annotations.Component; 4 | import org.apache.maven.plugins.annotations.Parameter; 5 | 6 | public abstract class AbstractLocalMojo extends AbstractExternalMojo { 7 | 8 | /** inherited parameter */ 9 | @Parameter 10 | private String inheritedParameter; 11 | 12 | @Component 13 | private ComponentClass inheritedComponent; 14 | 15 | } 16 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/plugin-descriptor/incremental-inheritance/concrete/src/main/java/io/takari/lifecycle/uts/plugindescriptor/ConcreteMojo.java: -------------------------------------------------------------------------------- 1 | package io.takari.lifecycle.uts.plugindescriptor; 2 | 3 | import org.apache.maven.plugin.MojoExecutionException; 4 | import org.apache.maven.plugin.MojoFailureException; 5 | import org.apache.maven.plugins.annotations.Component; 6 | import org.apache.maven.plugins.annotations.Mojo; 7 | import org.apache.maven.plugins.annotations.Parameter; 8 | 9 | @Mojo(name = "concrete") 10 | public class ConcreteMojo extends AbstractLocalMojo { 11 | 12 | @Parameter 13 | private String parameter; 14 | 15 | @Component 16 | private ComponentClass component; 17 | 18 | public void execute() throws MojoExecutionException, MojoFailureException { 19 | 20 | } 21 | 22 | } 23 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/plugin-descriptor/incremental-javadoc-inheritance/src/main/java/io/takari/lifecycle/uts/plugindescriptor/AbstractBasicMojo.java: -------------------------------------------------------------------------------- 1 | package io.takari.lifecycle.uts.plugindescriptor; 2 | 3 | import org.apache.maven.plugin.AbstractMojo; 4 | import org.apache.maven.plugins.annotations.Parameter; 5 | 6 | abstract class AbstractBasicMojo extends AbstractMojo { 7 | 8 | /** 9 | * Documentation 10 | */ 11 | @Parameter 12 | private String parameter; 13 | 14 | } 15 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/plugin-descriptor/incremental-javadoc-inheritance/src/main/java/io/takari/lifecycle/uts/plugindescriptor/AbstractBasicMojo.java-changed: -------------------------------------------------------------------------------- 1 | package io.takari.lifecycle.uts.plugindescriptor; 2 | 3 | import org.apache.maven.plugin.AbstractMojo; 4 | import org.apache.maven.plugins.annotations.Parameter; 5 | 6 | abstract class AbstractBasicMojo extends AbstractMojo { 7 | 8 | /** 9 | * Changed documentation 10 | */ 11 | @Parameter 12 | private String parameter; 13 | 14 | } 15 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/plugin-descriptor/incremental-javadoc-inheritance/src/main/java/io/takari/lifecycle/uts/plugindescriptor/BasicMojo.java: -------------------------------------------------------------------------------- 1 | package io.takari.lifecycle.uts.plugindescriptor; 2 | 3 | import org.apache.maven.plugin.MojoExecutionException; 4 | import org.apache.maven.plugin.MojoFailureException; 5 | import org.apache.maven.plugins.annotations.Mojo; 6 | 7 | @Mojo(name = "goal") 8 | public class BasicMojo extends AbstractBasicMojo { 9 | 10 | public void execute() throws MojoExecutionException, MojoFailureException { 11 | 12 | } 13 | 14 | } 15 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/plugin-descriptor/inheritance/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/plugin-descriptor/inheritance/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 4.0.0 5 | 6 | io.takari.lifecycle.uts 7 | plugin-descriptor-inheritance 8 | 0.1 9 | 10 | 11 | UTF-8 12 | 3.2.1 13 | 3.3 14 | 15 | 16 | 17 | 18 | org.apache.maven 19 | maven-plugin-api 20 | ${mavenVersion} 21 | provided 22 | 23 | 24 | org.apache.maven.plugin-tools 25 | maven-plugin-annotations 26 | ${mavenPluginPluginVersion} 27 | provided 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/plugin-descriptor/inheritance/src/main/java/io/takari/lifecycle/uts/plugindescriptor/Abstract.java: -------------------------------------------------------------------------------- 1 | package io.takari.lifecycle.uts.plugindescriptor; 2 | 3 | import org.apache.maven.plugin.AbstractMojo; 4 | import org.apache.maven.plugins.annotations.Component; 5 | import org.apache.maven.plugins.annotations.Parameter; 6 | 7 | abstract class Abstract extends AbstractMojo { 8 | @Parameter 9 | private String parameter; 10 | 11 | @Component 12 | private ComponentClass component; 13 | 14 | } 15 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/plugin-descriptor/inheritance/src/main/java/io/takari/lifecycle/uts/plugindescriptor/ComponentClass.java: -------------------------------------------------------------------------------- 1 | package io.takari.lifecycle.uts.plugindescriptor; 2 | 3 | public class ComponentClass { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/plugin-descriptor/inheritance/src/main/java/io/takari/lifecycle/uts/plugindescriptor/ConcreteA.java: -------------------------------------------------------------------------------- 1 | package io.takari.lifecycle.uts.plugindescriptor; 2 | 3 | import org.apache.maven.plugin.MojoExecutionException; 4 | import org.apache.maven.plugin.MojoFailureException; 5 | import org.apache.maven.plugins.annotations.Mojo; 6 | import org.apache.maven.plugins.annotations.Parameter; 7 | 8 | @Mojo(name = "a") 9 | public class ConcreteA extends ConcreteB { 10 | 11 | // this overrides component in the parent 12 | @Parameter 13 | private String parameter; 14 | 15 | public void execute() throws MojoExecutionException, MojoFailureException {} 16 | 17 | } 18 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/plugin-descriptor/inheritance/src/main/java/io/takari/lifecycle/uts/plugindescriptor/ConcreteB.java: -------------------------------------------------------------------------------- 1 | package io.takari.lifecycle.uts.plugindescriptor; 2 | 3 | import org.apache.maven.plugin.MojoExecutionException; 4 | import org.apache.maven.plugin.MojoFailureException; 5 | import org.apache.maven.plugins.annotations.Component; 6 | import org.apache.maven.plugins.annotations.Mojo; 7 | 8 | @Mojo(name = "b") 9 | public class ConcreteB extends Abstract { 10 | 11 | // this overrides parameter in the parent 12 | @Component 13 | private Object parameter; 14 | 15 | public void execute() throws MojoExecutionException, MojoFailureException {} 16 | 17 | } 18 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/plugin-descriptor/legacy-inheritance/legacy/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/plugin-descriptor/legacy-inheritance/legacy/src/main/java/io/takari/lifecycle/uts/plugindescriptor/LegacyMojo.java: -------------------------------------------------------------------------------- 1 | package io.takari.lifecycle.uts.plugindescriptor; 2 | 3 | import org.apache.maven.plugin.AbstractMojo; 4 | import org.apache.maven.plugin.MojoExecutionException; 5 | import org.apache.maven.plugin.MojoFailureException; 6 | import org.apache.maven.plugins.annotations.Mojo; 7 | import org.apache.maven.plugins.annotations.Parameter; 8 | 9 | @Mojo(name = "legacy") 10 | public class LegacyMojo extends AbstractMojo { 11 | 12 | /** inherited legacy parameter */ 13 | @Parameter(defaultValue = "default-value") 14 | private String inheritedLegacyParameter; 15 | 16 | public void execute() throws MojoExecutionException, MojoFailureException {} 17 | 18 | } 19 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/plugin-descriptor/legacy-inheritance/plugin/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/plugin-descriptor/legacy-inheritance/plugin/expected/mojos.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | io.takari.lifecycle.uts.plugindescriptor.LegacyMojo 6 | org.apache.maven.plugin.AbstractMojo 7 | 8 | modern 9 | true 10 | true 11 | 12 | io.takari.lifecycle.uts.plugindescriptor.ModernMojo 13 | java 14 | per-lookup 15 | once-per-session 16 | 17 | 18 | parameter 19 | java.lang.String 20 | true 21 | parameter 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/plugin-descriptor/legacy-inheritance/plugin/src/main/java/io/takari/lifecycle/uts/plugindescriptor/ModernMojo.java: -------------------------------------------------------------------------------- 1 | package io.takari.lifecycle.uts.plugindescriptor; 2 | 3 | import org.apache.maven.plugin.MojoExecutionException; 4 | import org.apache.maven.plugin.MojoFailureException; 5 | import org.apache.maven.plugins.annotations.Mojo; 6 | import org.apache.maven.plugins.annotations.Parameter; 7 | 8 | @Mojo(name = "modern") 9 | public class ModernMojo extends LegacyMojo { 10 | 11 | /** parameter */ 12 | @Parameter 13 | private String parameter; 14 | 15 | @Override 16 | public void execute() throws MojoExecutionException, MojoFailureException { 17 | super.execute(); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/plugin-descriptor/m2e-metadata/src/main/java/io/takari/lifecycle/uts/plugindescriptor/BasicMojo.java: -------------------------------------------------------------------------------- 1 | package io.takari.lifecycle.uts.plugindescriptor; 2 | 3 | import org.apache.maven.plugin.AbstractMojo; 4 | import org.apache.maven.plugin.MojoExecutionException; 5 | import org.apache.maven.plugin.MojoFailureException; 6 | import org.apache.maven.plugins.annotations.Component; 7 | import org.apache.maven.plugins.annotations.Mojo; 8 | import org.apache.maven.plugins.annotations.Parameter; 9 | 10 | @Mojo(name = "basic") 11 | public class BasicMojo extends AbstractMojo { 12 | 13 | public void execute() throws MojoExecutionException, MojoFailureException { 14 | 15 | } 16 | 17 | } 18 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/plugin-descriptor/m2e-metadata/src/main/m2e/lifecycle-mapping-metadata.xml: -------------------------------------------------------------------------------- 1 | 10 | 11 | 12 | 13 | 14 | 15 | basic 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/plugin-descriptor/sourcepath-dependency/dependency/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/plugin-descriptor/sourcepath-dependency/dependency/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 4.0.0 5 | 6 | io.takari.lifecycle.uts 7 | plugin-descriptor-sourcepath-dependency-dependency 8 | 0.1 9 | 10 | 11 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/plugin-descriptor/sourcepath-dependency/dependency/src/main/java/io/takari/lifecycle/uts/plugindescriptor/ComponentClass.java: -------------------------------------------------------------------------------- 1 | package io.takari.lifecycle.uts.plugindescriptor; 2 | 3 | public class ComponentClass { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/resources/project-with-binary-resources/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 4.0.0 5 | io.takari.lifecycle.its 6 | test 7 | 1.0 8 | 9 | 10 | UTF-8 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/resources/project-with-binary-resources/src/main/.gitattributes: -------------------------------------------------------------------------------- 1 | *.data -text 2 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/resources/project-with-binary-resources/src/main/resources/resource.data: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takari/takari-lifecycle/29c7c5f8ca9cb1059485df78e4e57d6e1f0bbfce/takari-lifecycle-plugin/src/test/projects/resources/project-with-binary-resources/src/main/resources/resource.data -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/resources/project-with-custom-resources/src/custom/resources/custom.txt: -------------------------------------------------------------------------------- 1 | custom.txt -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/resources/project-with-custom-resources/src/custom/resources/dummy.txt: -------------------------------------------------------------------------------- 1 | dummy.txt -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/resources/project-with-relative-resources-directory/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 4.0.0 5 | io.takari.lifecycle.its 6 | test 7 | 1.0 8 | 9 | 10 | UTF-8 11 | 12 | 13 | 14 | 15 | 16 | io.takari.maven.plugins 17 | takari-lifecycle-plugin 18 | 19 | ${project.build.directory}/custom 20 | 21 | 22 | ${project.basedir}/../project-with-relative-resources-directory/src/custom/resources 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/resources/project-with-relative-resources-directory/src/custom/resources/custom.txt: -------------------------------------------------------------------------------- 1 | custom.txt -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/resources/project-with-resources-filtered/expected-resource-empty.txt: -------------------------------------------------------------------------------- 1 | resource.txt with takari 2 | property with dots t.a.k.a.r.i 3 | property with dashes t-a-k-a-r-i 4 | reflective property test 5 | non existant property -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/resources/project-with-resources-filtered/expected-resource-leave.txt: -------------------------------------------------------------------------------- 1 | resource.txt with takari 2 | property with dots t.a.k.a.r.i 3 | property with dashes t-a-k-a-r-i 4 | reflective property test 5 | non existant ${nonExistant} property -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/resources/project-with-resources-filtered/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 4.0.0 5 | io.takari.lifecycle.its 6 | test 7 | 1.0 8 | 9 | 10 | UTF-8 11 | takari 12 | t.a.k.a.r.i 13 | t-a-k-a-r-i 14 | 15 | 16 | 17 | 18 | 19 | src/main/resources 20 | 21 | 22 | src/main/resources-filtered 23 | true 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/resources/project-with-resources-filtered/src/main/resources-filtered/resource.txt: -------------------------------------------------------------------------------- 1 | resource.txt with ${name} 2 | property with dots ${dotted.name} 3 | property with dashes ${dashed-name} 4 | reflective property ${project.artifactId} 5 | non existant ${nonExistant} property -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/resources/project-with-resources-filters/expected-resource.txt: -------------------------------------------------------------------------------- 1 | resource.txt with takari 2 | property with dots t.a.k.a.r.i 3 | property with dashes t-a-k-a-r-i 4 | reflective property test 5 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/resources/project-with-resources-filters/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 4.0.0 5 | io.takari.lifecycle.its 6 | test 7 | 1.0 8 | 9 | 10 | UTF-8 11 | 12 | 13 | 14 | 15 | src/main/filters/filter.properties 16 | 17 | 18 | 19 | src/main/resources 20 | true 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/resources/project-with-resources-filters/src/main/filters/filter.properties: -------------------------------------------------------------------------------- 1 | dotted.name=t.a.k.a.r.i 2 | dashed-name=t-a-k-a-r-i 3 | name=takari 4 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/resources/project-with-resources-filters/src/main/resources/resource.txt: -------------------------------------------------------------------------------- 1 | resource.txt with ${name} 2 | property with dots ${dotted.name} 3 | property with dashes ${dashed-name} 4 | reflective property ${project.artifactId} 5 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/resources/project-with-resources-with-target-path/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 4.0.0 5 | io.takari.lifecycle.its 6 | test 7 | 1.0 8 | 9 | 10 | UTF-8 11 | 12 | 13 | 14 | 15 | 16 | src/main/resources 17 | resources/targetPath 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/resources/project-with-resources-with-target-path/src/main/resources/resource.txt: -------------------------------------------------------------------------------- 1 | resource.txt -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/resources/project-with-resources/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 4.0.0 5 | io.takari.lifecycle.its 6 | test 7 | 1.0 8 | 9 | 10 | UTF-8 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/resources/project-with-resources/src/main/resources/resource.txt: -------------------------------------------------------------------------------- 1 | resource.txt -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/resources/project-with-test-resources-filtered/expected-resource.txt: -------------------------------------------------------------------------------- 1 | resource.txt with takari 2 | property with dots t.a.k.a.r.i 3 | property with dashes t-a-k-a-r-i 4 | reflective property test 5 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/resources/project-with-test-resources-filtered/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 4.0.0 5 | io.takari.lifecycle.its 6 | test 7 | 1.0 8 | 9 | 10 | UTF-8 11 | takari 12 | t.a.k.a.r.i 13 | t-a-k-a-r-i 14 | 15 | 16 | 17 | 18 | 19 | src/test/resources 20 | 21 | 22 | src/test/resources-filtered 23 | true 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/resources/project-with-test-resources-filtered/src/test/resources-filtered/resource.txt: -------------------------------------------------------------------------------- 1 | resource.txt with ${name} 2 | property with dots ${dotted.name} 3 | property with dashes ${dashed-name} 4 | reflective property ${project.artifactId} 5 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/resources/project-with-test-resources-with-target-path/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 4.0.0 5 | io.takari.lifecycle.its 6 | test 7 | 1.0 8 | 9 | 10 | UTF-8 11 | 12 | 13 | 14 | 15 | 16 | src/test/resources 17 | resources/targetPath 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/resources/project-with-test-resources-with-target-path/src/test/resources/resource.txt: -------------------------------------------------------------------------------- 1 | resource.txt -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/resources/project-with-test-resources/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 4.0.0 5 | io.takari.lifecycle.its 6 | test 7 | 1.0 8 | 9 | 10 | UTF-8 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/resources/project-with-test-resources/src/test/resources/resource.txt: -------------------------------------------------------------------------------- 1 | resource.txt -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/resources/resources-incremental-filtering/expected/filtered-resource.txt: -------------------------------------------------------------------------------- 1 | description=description 2 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/resources/resources-incremental-filtering/expected/filtered-resource.txt-pomChanged: -------------------------------------------------------------------------------- 1 | description=changed description 2 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/resources/resources-incremental-filtering/expected/filtered-resource.txt-resourceChanged: -------------------------------------------------------------------------------- 1 | description=changed changed description 2 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/resources/resources-incremental-filtering/filtered-resource.txt-changed: -------------------------------------------------------------------------------- 1 | description=changed ${project.description} 2 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/resources/resources-incremental-filtering/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 4.0.0 5 | io.takari.lifecycle.tests 6 | resources-incremental 7 | 1.0 8 | 9 | description 10 | 11 | 12 | UTF-8 13 | 14 | 15 | 16 | 17 | 18 | src/main/resources 19 | true 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/resources/resources-incremental-filtering/pom.xml-description: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 4.0.0 5 | io.takari.lifecycle.tests 6 | resources-incremental 7 | 1.0 8 | 9 | changed description 10 | 11 | 12 | UTF-8 13 | 14 | 15 | 16 | 17 | 18 | src/main/resources 19 | true 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/resources/resources-incremental-filtering/src/main/resources/filtered-resource.txt: -------------------------------------------------------------------------------- 1 | description=${project.description} 2 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/resources/resources-incremental/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 4.0.0 5 | io.takari.lifecycle.tests 6 | resources-incremental 7 | 1.0 8 | 9 | description 10 | 11 | 12 | UTF-8 13 | 14 | 15 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/resources/resources-incremental/pom.xml-description: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 4.0.0 5 | io.takari.lifecycle.tests 6 | resources-incremental 7 | 1.0 8 | 9 | changed description 10 | 11 | 12 | UTF-8 13 | 14 | 15 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/resources/resources-incremental/resource.txt-changed: -------------------------------------------------------------------------------- 1 | changed resource.txt 2 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/resources/resources-incremental/src/main/resources/resource.txt: -------------------------------------------------------------------------------- 1 | resource.txt 2 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/sisu-index/src/main/java/sisu/Another.java-new: -------------------------------------------------------------------------------- 1 | package sisu; 2 | 3 | import javax.inject.Named; 4 | 5 | @Named 6 | public class Another {} 7 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/sisu-index/src/main/java/sisu/Basic.java: -------------------------------------------------------------------------------- 1 | package sisu; 2 | 3 | import javax.inject.Named; 4 | 5 | @Named 6 | public class Basic {} 7 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/sisu-index/src/main/java/sisu/Basic.java-removed: -------------------------------------------------------------------------------- 1 | package sisu; 2 | 3 | public class Basic {} 4 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/sisu-index/src/test/java/sisu/BasicTest.java: -------------------------------------------------------------------------------- 1 | package sisu; 2 | 3 | import javax.inject.Named; 4 | 5 | @Named 6 | public class BasicTest { 7 | } 8 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/testproperties/basic/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 4.0.0 5 | io.takari.lifecycle.tests.takari-plugin-testing-plugin 6 | basic 7 | 1.0 8 | 9 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/testproperties/custom-test-properties-file/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 4.0.0 5 | io.takari.lifecycle.tests.takari-plugin-testing-plugin 6 | custom-test-properties-file 7 | 1.0 8 | 9 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/testproperties/custom-test-properties-file/src/test/modified-test.properties: -------------------------------------------------------------------------------- 1 | custom=modified-value 2 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/testproperties/custom-test-properties-file/src/test/test.properties: -------------------------------------------------------------------------------- 1 | custom=value 2 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/testproperties/missing-test-properties/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 4.0.0 5 | io.takari.lifecycle.tests.takari-plugin-testing-plugin 6 | missing-test-properties 7 | 1.0 8 | 9 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/projects/testproperties/missing-test-properties/src/test/test.properties: -------------------------------------------------------------------------------- 1 | custom=${missing} 2 | -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/resources/simplelogger.properties: -------------------------------------------------------------------------------- 1 | org.slf4j.simpleLogger.defaultLogLevel=debug -------------------------------------------------------------------------------- /takari-lifecycle-plugin/src/test/test.properties: -------------------------------------------------------------------------------- 1 | # used by plugin.xml generation tests 2 | apache-plugin-annotations-jar=${org.apache.maven.plugin-tools:maven-plugin-annotations} 3 | maven-plugin-api-jar=${org.apache.maven:maven-plugin-api} 4 | takari-builder-jar=${io.takari.builder:takari-builder} 5 | java-injext-jar=${javax.inject:javax.inject} 6 | --------------------------------------------------------------------------------