├── cli
├── .gitignore
├── src
│ ├── site
│ │ ├── markdown
│ │ │ └── .gitkeep
│ │ └── site.xml
│ ├── test
│ │ ├── resources
│ │ │ ├── checklists
│ │ │ │ ├── .gitkeep
│ │ │ │ └── test_module
│ │ │ │ │ ├── META-INF
│ │ │ │ │ └── MANIFEST.MF
│ │ │ │ │ ├── test-checklist.json
│ │ │ │ │ └── test_module-handler.js
│ │ │ ├── simple-content
│ │ │ │ ├── .gitkeep
│ │ │ │ ├── META-INF
│ │ │ │ │ └── vault
│ │ │ │ │ │ ├── filter.xml
│ │ │ │ │ │ ├── nodetypes.cnd
│ │ │ │ │ │ └── properties.xml
│ │ │ │ └── jcr_root
│ │ │ │ │ ├── etc
│ │ │ │ │ └── example
│ │ │ │ │ │ └── .content.xml
│ │ │ │ │ └── content
│ │ │ │ │ └── example
│ │ │ │ │ └── .content.xml
│ │ │ └── opears
│ │ │ │ ├── emptyplan
│ │ │ │ └── plan.json
│ │ │ │ ├── adhocPlan
│ │ │ │ ├── repoinit2.txt
│ │ │ │ ├── repoinit1.txt
│ │ │ │ ├── plan.json
│ │ │ │ └── echo.js
│ │ │ │ ├── runModesPlan
│ │ │ │ └── plan.json
│ │ │ │ ├── hooksPlan
│ │ │ │ └── plan.json
│ │ │ │ └── simpleEcho
│ │ │ │ ├── plan.json
│ │ │ │ ├── other-plan.json
│ │ │ │ ├── META-INF
│ │ │ │ └── MANIFEST.MF
│ │ │ │ └── echo.js
│ │ ├── filtered-resources
│ │ │ └── test-packages.properties
│ │ └── java
│ │ │ └── net
│ │ │ └── adamcin
│ │ │ └── oakpal
│ │ │ └── cli
│ │ │ └── IOTest.java
│ ├── main
│ │ ├── filtered-resources
│ │ │ └── net
│ │ │ │ └── adamcin
│ │ │ │ └── oakpal
│ │ │ │ └── cli
│ │ │ │ └── version.properties
│ │ └── java
│ │ │ └── net
│ │ │ └── adamcin
│ │ │ └── oakpal
│ │ │ └── cli
│ │ │ ├── DisposablePrinter.java
│ │ │ ├── StructuredMessage.java
│ │ │ └── IO.java
│ └── scripts
│ │ ├── oakpal.bat
│ │ ├── oakpal
│ │ └── oakpal.sh
├── Dockerfile
└── README.md
├── site.sh
├── testing
├── src
│ ├── site
│ │ ├── markdown
│ │ │ └── .gitkeep
│ │ └── site.xml
│ ├── test
│ │ ├── resources
│ │ │ ├── embedded
│ │ │ │ ├── META-INF
│ │ │ │ │ └── MANIFEST.MF
│ │ │ │ └── someScript.js
│ │ │ └── extracted
│ │ │ │ └── simple
│ │ │ │ ├── META-INF
│ │ │ │ └── vault
│ │ │ │ │ └── filter.xml
│ │ │ │ └── jcr_root
│ │ │ │ └── apps
│ │ │ │ └── oakpal
│ │ │ │ └── .content.xml
│ │ └── filtered-resources
│ │ │ └── test-packages.properties
│ └── main
│ │ └── java
│ │ └── net
│ │ └── adamcin
│ │ └── oakpal
│ │ └── testing
│ │ └── TestUtil.java
└── README.md
├── webster
└── src
│ ├── site
│ └── markdown
│ │ └── .gitkeep
│ ├── test
│ ├── resources
│ │ ├── filevault
│ │ │ ├── noJcrRoot
│ │ │ │ └── META-INF
│ │ │ │ │ └── vault
│ │ │ │ │ └── .gitkeep
│ │ │ ├── noMetaInfVault
│ │ │ │ └── jcr_root
│ │ │ │ │ └── .gitkeep
│ │ │ ├── noReferences
│ │ │ │ ├── META-INF
│ │ │ │ │ └── vault
│ │ │ │ │ │ └── .gitkeep
│ │ │ │ └── jcr_root
│ │ │ │ │ └── .content.xml
│ │ │ ├── oneNtRef
│ │ │ │ ├── META-INF
│ │ │ │ │ └── vault
│ │ │ │ │ │ └── .gitkeep
│ │ │ │ └── jcr_root
│ │ │ │ │ └── .content.xml
│ │ │ ├── onePrivRef
│ │ │ │ ├── META-INF
│ │ │ │ │ └── vault
│ │ │ │ │ │ ├── .gitkeep
│ │ │ │ │ │ └── filter.xml
│ │ │ │ └── jcr_root
│ │ │ │ │ └── .content.xml
│ │ │ ├── twoPrivRefs
│ │ │ │ ├── META-INF
│ │ │ │ │ └── vault
│ │ │ │ │ │ └── .gitkeep
│ │ │ │ └── jcr_root
│ │ │ │ │ └── .content.xml
│ │ │ ├── oneNtRefAndDef
│ │ │ │ ├── META-INF
│ │ │ │ │ └── vault
│ │ │ │ │ │ ├── .gitkeep
│ │ │ │ │ │ └── nodetypes.cnd
│ │ │ │ └── jcr_root
│ │ │ │ │ ├── nodetypes.cnd
│ │ │ │ │ └── .content.xml
│ │ │ ├── onePrivRefAndDef
│ │ │ │ ├── META-INF
│ │ │ │ │ └── vault
│ │ │ │ │ │ ├── .gitkeep
│ │ │ │ │ │ └── privileges.xml
│ │ │ │ └── jcr_root
│ │ │ │ │ └── .content.xml
│ │ │ └── ntRefsSlingFolderOrderedFolder
│ │ │ │ ├── META-INF
│ │ │ │ └── vault
│ │ │ │ │ └── .gitkeep
│ │ │ │ └── jcr_root
│ │ │ │ └── .content.xml
│ │ ├── WebsterChecklistTargetTest
│ │ │ └── empty-checklist.json
│ │ ├── sling_nodetypes.cnd
│ │ └── aem_privileges.xml
│ └── filtered-resources
│ │ └── test-packages.properties
│ └── main
│ └── java
│ └── net
│ └── adamcin
│ └── oakpal
│ └── webster
│ ├── package-info.java
│ ├── targets
│ └── package-info.java
│ ├── WebsterTargetFactory.java
│ └── WebsterTarget.java
├── calipers
├── all
│ ├── README.md
│ └── src
│ │ ├── main
│ │ └── content
│ │ │ └── META-INF
│ │ │ └── vault
│ │ │ └── filter.xml
│ │ └── site
│ │ └── site.xml
├── ui.apps
│ ├── README.md
│ └── src
│ │ ├── main
│ │ └── content
│ │ │ ├── jcr_root
│ │ │ └── apps
│ │ │ │ ├── oakpal-caliper
│ │ │ │ ├── config
│ │ │ │ │ └── org.apache.sling.jcr.repoinit.RepositoryInitializer~init.config
│ │ │ │ ├── .content.xml
│ │ │ │ └── _rep_policy.xml
│ │ │ │ └── .content.xml
│ │ │ └── META-INF
│ │ │ └── vault
│ │ │ └── filter.xml
│ │ └── site
│ │ └── site.xml
├── ui.content
│ ├── README.md
│ └── src
│ │ ├── main
│ │ └── content
│ │ │ ├── META-INF
│ │ │ └── vault
│ │ │ │ └── filter.xml
│ │ │ └── jcr_root
│ │ │ └── content
│ │ │ └── oakpal-caliper
│ │ │ ├── .content.xml
│ │ │ └── _rep_policy.xml
│ │ └── site
│ │ └── site.xml
├── ui.apps.author
│ ├── README.md
│ └── src
│ │ ├── main
│ │ └── content
│ │ │ ├── META-INF
│ │ │ └── vault
│ │ │ │ └── filter.xml
│ │ │ └── jcr_root
│ │ │ └── apps
│ │ │ ├── .content.xml
│ │ │ └── oakpal-caliper-author
│ │ │ └── .content.xml
│ │ └── site
│ │ └── site.xml
├── ui.apps.publish
│ ├── README.md
│ └── src
│ │ ├── main
│ │ └── content
│ │ │ ├── META-INF
│ │ │ └── vault
│ │ │ │ └── filter.xml
│ │ │ └── jcr_root
│ │ │ └── apps
│ │ │ ├── .content.xml
│ │ │ └── oakpal-caliper-publish
│ │ │ └── .content.xml
│ │ └── site
│ │ └── site.xml
├── ui.content.suba2
│ ├── README.md
│ └── src
│ │ ├── main
│ │ └── content
│ │ │ ├── META-INF
│ │ │ └── vault
│ │ │ │ └── filter.xml
│ │ │ └── jcr_root
│ │ │ └── content
│ │ │ └── oakpal-caliper
│ │ │ ├── .content.xml
│ │ │ └── alpha
│ │ │ └── .content.xml
│ │ └── site
│ │ └── site.xml
├── ui.content.subb3
│ ├── README.md
│ └── src
│ │ ├── main
│ │ └── content
│ │ │ ├── META-INF
│ │ │ └── vault
│ │ │ │ └── filter.xml
│ │ │ └── jcr_root
│ │ │ └── content
│ │ │ └── oakpal-caliper
│ │ │ ├── .content.xml
│ │ │ └── bravo
│ │ │ └── .content.xml
│ │ └── site
│ │ └── site.xml
├── ui.content.subc1
│ ├── README.md
│ └── src
│ │ ├── main
│ │ └── content
│ │ │ ├── META-INF
│ │ │ └── vault
│ │ │ │ └── filter.xml
│ │ │ └── jcr_root
│ │ │ └── content
│ │ │ └── oakpal-caliper
│ │ │ ├── .content.xml
│ │ │ └── charlie
│ │ │ └── .content.xml
│ │ └── site
│ │ └── site.xml
├── ui.apps.structure
│ ├── README.md
│ └── src
│ │ └── site
│ │ └── site.xml
├── README.md
└── src
│ └── site
│ └── site.xml
├── core
├── src
│ ├── test
│ │ ├── resources
│ │ │ ├── OpearFileTest
│ │ │ │ ├── .gitkeep
│ │ │ │ ├── folders_on_classpath
│ │ │ │ │ ├── classes
│ │ │ │ │ │ └── script-in-classes.js
│ │ │ │ │ ├── test-classes
│ │ │ │ │ │ └── script-in-test-classes.js
│ │ │ │ │ ├── plan.json
│ │ │ │ │ └── META-INF
│ │ │ │ │ │ └── MANIFEST.MF
│ │ │ │ ├── deep_test_src
│ │ │ │ │ ├── deep-plan.json
│ │ │ │ │ └── META-INF
│ │ │ │ │ │ └── MANIFEST.MF
│ │ │ │ └── embedded_module_src
│ │ │ │ │ ├── a.cnd
│ │ │ │ │ ├── b.cnd
│ │ │ │ │ ├── META-INF
│ │ │ │ │ └── MANIFEST.MF
│ │ │ │ │ ├── OAKPAL-INF
│ │ │ │ │ └── checklists
│ │ │ │ │ │ └── embedded-checklist.json
│ │ │ │ │ └── embeddedCheck.js
│ │ │ ├── simple-content
│ │ │ │ ├── .gitkeep
│ │ │ │ ├── META-INF
│ │ │ │ │ └── vault
│ │ │ │ │ │ ├── filter.xml
│ │ │ │ │ │ ├── nodetypes.cnd
│ │ │ │ │ │ └── properties.xml
│ │ │ │ └── jcr_root
│ │ │ │ │ ├── etc
│ │ │ │ │ └── example
│ │ │ │ │ │ └── .content.xml
│ │ │ │ │ └── content
│ │ │ │ │ └── example
│ │ │ │ │ └── .content.xml
│ │ │ ├── simple-libs
│ │ │ │ ├── .gitkeep
│ │ │ │ ├── META-INF
│ │ │ │ │ └── vault
│ │ │ │ │ │ ├── filter.xml
│ │ │ │ │ │ ├── nodetypes.cnd
│ │ │ │ │ │ └── properties.xml
│ │ │ │ └── jcr_root
│ │ │ │ │ └── apps
│ │ │ │ │ └── example
│ │ │ │ │ └── .content.xml
│ │ │ ├── simple-mixed
│ │ │ │ ├── .gitkeep
│ │ │ │ ├── META-INF
│ │ │ │ │ └── vault
│ │ │ │ │ │ ├── nodetypes.cnd
│ │ │ │ │ │ ├── filter.xml
│ │ │ │ │ │ └── properties.xml
│ │ │ │ └── jcr_root
│ │ │ │ │ ├── apps
│ │ │ │ │ └── example
│ │ │ │ │ │ └── .content.xml
│ │ │ │ │ ├── etc
│ │ │ │ │ └── example
│ │ │ │ │ │ └── .content.xml
│ │ │ │ │ └── content
│ │ │ │ │ └── example
│ │ │ │ │ └── .content.xml
│ │ │ ├── plans
│ │ │ │ ├── none
│ │ │ │ │ └── not-a-plan.json
│ │ │ │ ├── xEmpty
│ │ │ │ │ ├── other-plan.json
│ │ │ │ │ └── META-INF
│ │ │ │ │ │ └── MANIFEST.MF
│ │ │ │ ├── bar
│ │ │ │ │ └── plan.json
│ │ │ │ └── foo
│ │ │ │ │ ├── other-plan.json
│ │ │ │ │ └── META-INF
│ │ │ │ │ └── MANIFEST.MF
│ │ │ ├── OakpalPlanTest
│ │ │ │ ├── badJson.json
│ │ │ │ ├── emptyplan.json
│ │ │ │ ├── repoinit2.txt
│ │ │ │ ├── repoinit1.txt
│ │ │ │ └── checkNothing.js
│ │ │ ├── SlingNodetypesScannerTest
│ │ │ │ ├── .gitkeep
│ │ │ │ ├── has_a_src
│ │ │ │ │ ├── META-INF
│ │ │ │ │ │ └── MANIFEST.MF
│ │ │ │ │ └── a.cnd
│ │ │ │ ├── has_b_src
│ │ │ │ │ ├── META-INF
│ │ │ │ │ │ └── MANIFEST.MF
│ │ │ │ │ └── b.cnd
│ │ │ │ ├── has_c_src
│ │ │ │ │ ├── META-INF
│ │ │ │ │ │ └── MANIFEST.MF
│ │ │ │ │ └── c.cnd
│ │ │ │ ├── has_d_src
│ │ │ │ │ ├── META-INF
│ │ │ │ │ │ └── MANIFEST.MF
│ │ │ │ │ └── d.cnd
│ │ │ │ ├── has_e_src
│ │ │ │ │ ├── META-INF
│ │ │ │ │ │ └── MANIFEST.MF
│ │ │ │ │ └── e.cnd
│ │ │ │ ├── has_f_src
│ │ │ │ │ ├── META-INF
│ │ │ │ │ │ └── MANIFEST.MF
│ │ │ │ │ └── f.cnd
│ │ │ │ ├── has_y_src
│ │ │ │ │ ├── META-INF
│ │ │ │ │ │ └── MANIFEST.MF
│ │ │ │ │ └── y.cnd
│ │ │ │ └── has_z_src
│ │ │ │ │ ├── META-INF
│ │ │ │ │ └── MANIFEST.MF
│ │ │ │ │ └── z.cnd
│ │ │ ├── with-embedded-package
│ │ │ │ ├── .gitkeep
│ │ │ │ ├── jcr_root
│ │ │ │ │ └── apps
│ │ │ │ │ │ └── with-embedded
│ │ │ │ │ │ ├── install
│ │ │ │ │ │ └── .gitignore
│ │ │ │ │ │ └── config
│ │ │ │ │ │ ├── com.TestFactory-peanut.cfg.json
│ │ │ │ │ │ └── com.TestFactory-strawberry.config
│ │ │ │ └── META-INF
│ │ │ │ │ └── vault
│ │ │ │ │ ├── nodetypes.cnd
│ │ │ │ │ ├── filter.xml
│ │ │ │ │ └── properties.xml
│ │ │ ├── DefaultPackagingServiceTest
│ │ │ │ └── .gitkeep
│ │ │ ├── ScriptProgressCheckTest
│ │ │ │ ├── bogus_script.foobar
│ │ │ │ ├── checkNoName.js
│ │ │ │ ├── checkWithResources.properties
│ │ │ │ ├── overrideResourceBundle.properties
│ │ │ │ ├── checkNoExt
│ │ │ │ ├── checkNameThrows.js
│ │ │ │ ├── checkWithName.js
│ │ │ │ ├── checkWithResources.js
│ │ │ │ ├── checkNameFromConfig.js
│ │ │ │ └── throwsRepositoryException.js
│ │ │ ├── manifestWithNoModuleName.mf
│ │ │ ├── package_with_bad_installhook
│ │ │ │ ├── jcr_root
│ │ │ │ │ └── apps
│ │ │ │ │ │ └── .retain
│ │ │ │ └── META-INF
│ │ │ │ │ └── vault
│ │ │ │ │ ├── filter.xml
│ │ │ │ │ ├── hooks
│ │ │ │ │ └── oakpal-testing-hooktest.hook-0.0.1-SNAPSHOT.jar
│ │ │ │ │ ├── settings.xml
│ │ │ │ │ └── properties.xml
│ │ │ ├── InitStageTest
│ │ │ │ ├── repoinit2.txt
│ │ │ │ ├── a.cnd
│ │ │ │ ├── b.cnd
│ │ │ │ └── repoinit1.txt
│ │ │ ├── constraint_violator_package
│ │ │ │ ├── META-INF
│ │ │ │ │ ├── MANIFEST.MF
│ │ │ │ │ └── vault
│ │ │ │ │ │ └── filter.xml
│ │ │ │ └── jcr_root
│ │ │ │ │ └── apps
│ │ │ │ │ ├── acme
│ │ │ │ │ ├── docs
│ │ │ │ │ │ ├── test.txt
│ │ │ │ │ │ └── .content.xml
│ │ │ │ │ └── .content.xml
│ │ │ │ │ └── .content.xml
│ │ │ ├── test_module
│ │ │ │ ├── META-INF
│ │ │ │ │ └── MANIFEST.MF
│ │ │ │ ├── a.cnd
│ │ │ │ ├── b.cnd
│ │ │ │ └── emptyHandler.js
│ │ │ ├── ChecklistPlannerTest
│ │ │ │ ├── zulu
│ │ │ │ │ └── META-INF
│ │ │ │ │ │ └── MANIFEST.MF
│ │ │ │ ├── alpha
│ │ │ │ │ ├── META-INF
│ │ │ │ │ │ └── MANIFEST.MF
│ │ │ │ │ └── alpha.json
│ │ │ │ ├── charlie
│ │ │ │ │ ├── META-INF
│ │ │ │ │ │ └── MANIFEST.MF
│ │ │ │ │ └── charlie.json
│ │ │ │ └── bravo
│ │ │ │ │ ├── META-INF
│ │ │ │ │ └── MANIFEST.MF
│ │ │ │ │ ├── bravo-1.json
│ │ │ │ │ └── bravo-2.json
│ │ │ ├── manifestWithAutomaticModuleName.mf
│ │ │ ├── JsonCndTest
│ │ │ │ ├── error.cnd
│ │ │ │ ├── a.cnd
│ │ │ │ ├── b.cnd
│ │ │ │ ├── c.cnd
│ │ │ │ ├── d.cnd
│ │ │ │ ├── e.cnd
│ │ │ │ ├── f.cnd
│ │ │ │ └── bb.cnd
│ │ │ ├── manifestWithBundleSymbolicName.mf
│ │ │ ├── CNDURLInstallerTest
│ │ │ │ ├── a.cnd
│ │ │ │ ├── z.cnd
│ │ │ │ ├── b.cnd
│ │ │ │ ├── c.cnd
│ │ │ │ ├── d.cnd
│ │ │ │ ├── e.cnd
│ │ │ │ ├── f.cnd
│ │ │ │ └── y.cnd
│ │ │ ├── utiljar
│ │ │ │ └── META-INF
│ │ │ │ │ └── MANIFEST.MF
│ │ │ ├── manifestWithOakpalModuleName.mf
│ │ │ ├── manifestWithManyHeaders.mf
│ │ │ ├── net
│ │ │ │ └── adamcin
│ │ │ │ │ └── oakpal
│ │ │ │ │ └── core
│ │ │ │ │ ├── SilencingCheckFacadeTest.properties
│ │ │ │ │ ├── checks
│ │ │ │ │ └── JcrPropertiesTest.properties
│ │ │ │ │ ├── ProgressCheckAliasFacadeTest.properties
│ │ │ │ │ ├── OakpalPlanTest.properties
│ │ │ │ │ └── DefaultErrorListenerTest.properties
│ │ │ ├── simpleHandler.js
│ │ │ ├── new_user_package
│ │ │ │ ├── META-INF
│ │ │ │ │ └── vault
│ │ │ │ │ │ └── filter.xml
│ │ │ │ └── jcr_root
│ │ │ │ │ └── home
│ │ │ │ │ └── users
│ │ │ │ │ ├── .content.xml
│ │ │ │ │ └── acme
│ │ │ │ │ └── .content.xml
│ │ │ ├── jcr_prop_constraints_playground
│ │ │ │ ├── META-INF
│ │ │ │ │ └── vault
│ │ │ │ │ │ └── filter.xml
│ │ │ │ └── jcr_root
│ │ │ │ │ └── apps
│ │ │ │ │ ├── .content.xml
│ │ │ │ │ ├── aperture
│ │ │ │ │ └── .content.xml
│ │ │ │ │ └── acme
│ │ │ │ │ └── .content.xml
│ │ │ ├── simpleChecklist.json
│ │ │ └── logback-test.xml
│ │ ├── filtered-resources
│ │ │ └── test-packages.properties
│ │ └── java
│ │ │ └── net
│ │ │ └── adamcin
│ │ │ └── oakpal
│ │ │ └── it
│ │ │ └── OakMachineCaliperIT.java
│ ├── main
│ │ ├── resources
│ │ │ └── net
│ │ │ │ └── adamcin
│ │ │ │ └── oakpal
│ │ │ │ └── core
│ │ │ │ ├── empty-plan.json
│ │ │ │ ├── basic-plan.json
│ │ │ │ └── checks
│ │ │ │ ├── Overlaps.properties
│ │ │ │ ├── ExpectAces.properties
│ │ │ │ ├── ExpectAces_de.properties
│ │ │ │ ├── Overlaps_de.properties
│ │ │ │ ├── ExpectPaths.properties
│ │ │ │ ├── ExpectPaths_de.properties
│ │ │ │ ├── Subpackages.properties
│ │ │ │ ├── Paths.properties
│ │ │ │ ├── Subpackages_de.properties
│ │ │ │ ├── FilterSets.properties
│ │ │ │ ├── FilterSets_de.properties
│ │ │ │ ├── AcHandling.properties
│ │ │ │ ├── CompositeStoreAlignment.properties
│ │ │ │ ├── Paths_de.properties
│ │ │ │ ├── AcHandling_de.properties
│ │ │ │ ├── CompositeStoreAlignment_de.properties
│ │ │ │ ├── JcrProperties.properties
│ │ │ │ └── JcrProperties_de.properties
│ │ └── java
│ │ │ └── net
│ │ │ └── adamcin
│ │ │ └── oakpal
│ │ │ ├── shaded
│ │ │ └── package-info.java
│ │ │ └── core
│ │ │ ├── package-info.java
│ │ │ ├── checks
│ │ │ └── package-info.java
│ │ │ ├── opear
│ │ │ └── package-info.java
│ │ │ ├── sling
│ │ │ └── package-info.java
│ │ │ ├── repoinit
│ │ │ └── package-info.java
│ │ │ ├── ProgressCheck.java
│ │ │ ├── ListenerReadOnlyException.java
│ │ │ └── jcrfacade
│ │ │ └── JcrSessionFacade.java
│ └── site
│ │ └── site.xml
└── README.md
├── maven
├── src
│ ├── test
│ │ ├── resources
│ │ │ ├── WebsterMojoTest
│ │ │ │ ├── .gitkeep
│ │ │ │ └── content-package
│ │ │ │ │ ├── src
│ │ │ │ │ └── main
│ │ │ │ │ │ └── content
│ │ │ │ │ │ ├── .gitkeep
│ │ │ │ │ │ └── jcr_root
│ │ │ │ │ │ └── .gitkeep
│ │ │ │ │ └── pom.xml
│ │ │ ├── OpearPackageMojoTest
│ │ │ │ ├── copyme.txt
│ │ │ │ ├── sub1
│ │ │ │ │ └── copyme.txt
│ │ │ │ ├── repoinit2.txt
│ │ │ │ ├── repoinit1.txt
│ │ │ │ └── echo.js
│ │ │ ├── MojoWithPlanParamsTest
│ │ │ │ ├── repoinit2.txt
│ │ │ │ ├── a.cnd
│ │ │ │ ├── z.cnd
│ │ │ │ ├── b.cnd
│ │ │ │ ├── c.cnd
│ │ │ │ ├── d.cnd
│ │ │ │ ├── e.cnd
│ │ │ │ ├── f.cnd
│ │ │ │ ├── y.cnd
│ │ │ │ └── repoinit1.txt
│ │ │ ├── unit
│ │ │ │ ├── happyscan
│ │ │ │ │ ├── simpleCnd.cnd
│ │ │ │ │ └── src
│ │ │ │ │ │ └── test
│ │ │ │ │ │ └── resources
│ │ │ │ │ │ ├── test-classpath-nodetypes.cnd
│ │ │ │ │ │ └── testOutputScriptCheck.js
│ │ │ │ ├── opear-plan-for-opear1
│ │ │ │ │ └── src
│ │ │ │ │ │ └── main
│ │ │ │ │ │ └── resources
│ │ │ │ │ │ └── simpleCnd.cnd
│ │ │ │ └── opear1
│ │ │ │ │ └── src
│ │ │ │ │ └── main
│ │ │ │ │ └── resources
│ │ │ │ │ └── echoCheck.js
│ │ │ └── JsonConverterTest
│ │ │ │ ├── blankFoo.xml
│ │ │ │ ├── emptyFoo.xml
│ │ │ │ ├── fooBar.xml
│ │ │ │ ├── fooFoo.xml
│ │ │ │ ├── topFoo.xml
│ │ │ │ ├── fooFalse.xml
│ │ │ │ ├── fooNull.xml
│ │ │ │ ├── fooNumber.xml
│ │ │ │ ├── fooTrue.xml
│ │ │ │ ├── fooArray.xml
│ │ │ │ ├── fooObject.xml
│ │ │ │ ├── invalidHint.xml
│ │ │ │ ├── foosBar.xml
│ │ │ │ └── foosFoo.xml
│ │ └── filtered-resources
│ │ │ └── test-packages.properties
│ ├── site
│ │ └── resources
│ │ │ └── images
│ │ │ └── export_cnd.png
│ └── main
│ │ ├── filtered-resources
│ │ └── net
│ │ │ └── adamcin
│ │ │ └── oakpal
│ │ │ └── maven
│ │ │ └── mojo
│ │ │ └── version.properties
│ │ └── java
│ │ └── net
│ │ └── adamcin
│ │ └── oakpal
│ │ └── maven
│ │ └── mojo
│ │ ├── PlanBuilderParams.java
│ │ └── MojoWithCommonParams.java
├── TODO.md
└── README.md
├── site-deploy.sh
├── api
├── README.md
└── src
│ ├── main
│ ├── resources
│ │ └── net
│ │ │ └── adamcin
│ │ │ └── oakpal
│ │ │ └── api
│ │ │ ├── SimpleProgressCheck.properties
│ │ │ ├── SimpleViolationTest.properties
│ │ │ └── SimpleViolationTestReversed.properties
│ └── java
│ │ └── net
│ │ └── adamcin
│ │ └── oakpal
│ │ └── api
│ │ ├── package-info.java
│ │ ├── JsonArrayConvertible.java
│ │ ├── JsonObjectConvertible.java
│ │ ├── SlingOpenable.java
│ │ └── RuleType.java
│ ├── test
│ ├── resources
│ │ └── net
│ │ │ └── adamcin
│ │ │ └── oakpal
│ │ │ └── api
│ │ │ └── SimpleProgressCheckTest.properties
│ └── filtered-resources
│ │ └── test-packages.properties
│ └── site
│ └── site.xml
├── .gitignore
├── Dockerfile
└── .mvn
└── wrapper
└── maven-wrapper.properties
/cli/.gitignore:
--------------------------------------------------------------------------------
1 | .oakpal-cache/
--------------------------------------------------------------------------------
/cli/src/site/markdown/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/site.sh:
--------------------------------------------------------------------------------
1 | mvn clean site site:stage
2 |
--------------------------------------------------------------------------------
/testing/src/site/markdown/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/webster/src/site/markdown/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/calipers/all/README.md:
--------------------------------------------------------------------------------
1 | # oakpal-caliper.all
--------------------------------------------------------------------------------
/cli/src/test/resources/checklists/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/cli/src/test/resources/simple-content/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/core/src/test/resources/OpearFileTest/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/core/src/test/resources/simple-content/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/core/src/test/resources/simple-libs/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/core/src/test/resources/simple-mixed/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/calipers/ui.apps/README.md:
--------------------------------------------------------------------------------
1 | # oakpal-caliper.ui.apps
--------------------------------------------------------------------------------
/cli/src/test/resources/opears/emptyplan/plan.json:
--------------------------------------------------------------------------------
1 | {}
--------------------------------------------------------------------------------
/core/src/test/resources/plans/none/not-a-plan.json:
--------------------------------------------------------------------------------
1 | {}
--------------------------------------------------------------------------------
/maven/src/test/resources/WebsterMojoTest/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/calipers/ui.content/README.md:
--------------------------------------------------------------------------------
1 | # oakpal-caliper.ui.content
--------------------------------------------------------------------------------
/core/src/test/resources/OakpalPlanTest/badJson.json:
--------------------------------------------------------------------------------
1 | {""}
--------------------------------------------------------------------------------
/core/src/test/resources/OakpalPlanTest/emptyplan.json:
--------------------------------------------------------------------------------
1 | {}
--------------------------------------------------------------------------------
/core/src/test/resources/SlingNodetypesScannerTest/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/core/src/test/resources/with-embedded-package/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/core/src/test/resources/DefaultPackagingServiceTest/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/maven/src/test/resources/OpearPackageMojoTest/copyme.txt:
--------------------------------------------------------------------------------
1 | copy me
--------------------------------------------------------------------------------
/calipers/ui.apps.author/README.md:
--------------------------------------------------------------------------------
1 | # oakpal-caliper.ui.apps.author
--------------------------------------------------------------------------------
/calipers/ui.apps.publish/README.md:
--------------------------------------------------------------------------------
1 | # oakpal-caliper.ui.apps.publish
--------------------------------------------------------------------------------
/calipers/ui.content.suba2/README.md:
--------------------------------------------------------------------------------
1 | # oakpal-caliper.ui.content.suba2
--------------------------------------------------------------------------------
/calipers/ui.content.subb3/README.md:
--------------------------------------------------------------------------------
1 | # oakpal-caliper.ui.content.subb3
--------------------------------------------------------------------------------
/calipers/ui.content.subc1/README.md:
--------------------------------------------------------------------------------
1 | # oakpal-caliper.ui.content.subc1
--------------------------------------------------------------------------------
/core/src/main/resources/net/adamcin/oakpal/core/empty-plan.json:
--------------------------------------------------------------------------------
1 | {}
--------------------------------------------------------------------------------
/core/src/test/resources/ScriptProgressCheckTest/bogus_script.foobar:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/maven/src/test/resources/OpearPackageMojoTest/sub1/copyme.txt:
--------------------------------------------------------------------------------
1 | copy me
--------------------------------------------------------------------------------
/calipers/ui.apps.structure/README.md:
--------------------------------------------------------------------------------
1 | # oakpal-caliper.ui.apps.structure
--------------------------------------------------------------------------------
/webster/src/test/resources/filevault/noJcrRoot/META-INF/vault/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/webster/src/test/resources/filevault/noMetaInfVault/jcr_root/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/webster/src/test/resources/filevault/noReferences/META-INF/vault/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/webster/src/test/resources/filevault/oneNtRef/META-INF/vault/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/webster/src/test/resources/filevault/onePrivRef/META-INF/vault/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/webster/src/test/resources/filevault/twoPrivRefs/META-INF/vault/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/core/src/test/resources/manifestWithNoModuleName.mf:
--------------------------------------------------------------------------------
1 | Manifest-Version: 1.0
2 |
--------------------------------------------------------------------------------
/core/src/test/resources/package_with_bad_installhook/jcr_root/apps/.retain:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/webster/src/test/resources/WebsterChecklistTargetTest/empty-checklist.json:
--------------------------------------------------------------------------------
1 | {}
--------------------------------------------------------------------------------
/webster/src/test/resources/filevault/oneNtRefAndDef/META-INF/vault/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/webster/src/test/resources/filevault/onePrivRefAndDef/META-INF/vault/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/core/src/test/resources/plans/xEmpty/other-plan.json:
--------------------------------------------------------------------------------
1 | {
2 | "checklists": []
3 | }
--------------------------------------------------------------------------------
/maven/src/test/resources/WebsterMojoTest/content-package/src/main/content/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/testing/src/test/resources/embedded/META-INF/MANIFEST.MF:
--------------------------------------------------------------------------------
1 | Manifest-Version: 1.0
2 |
--------------------------------------------------------------------------------
/core/README.md:
--------------------------------------------------------------------------------
1 | # oakpal-core
2 |
3 | This is the core runtime library for oakpal.
4 |
--------------------------------------------------------------------------------
/core/src/test/resources/InitStageTest/repoinit2.txt:
--------------------------------------------------------------------------------
1 | create path (sling:Folder) /apps
2 |
--------------------------------------------------------------------------------
/core/src/test/resources/OpearFileTest/folders_on_classpath/classes/script-in-classes.js:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/core/src/test/resources/plans/bar/plan.json:
--------------------------------------------------------------------------------
1 | {
2 | "checklists": ["test/bar"]
3 | }
4 |
--------------------------------------------------------------------------------
/site-deploy.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | mvn clean site site:stage scm-publish:publish-scm
3 |
--------------------------------------------------------------------------------
/cli/src/test/resources/opears/adhocPlan/repoinit2.txt:
--------------------------------------------------------------------------------
1 | create path (sling:Folder) /apps
2 |
--------------------------------------------------------------------------------
/core/src/test/resources/OakpalPlanTest/repoinit2.txt:
--------------------------------------------------------------------------------
1 | create path (sling:Folder) /apps
2 |
--------------------------------------------------------------------------------
/core/src/test/resources/plans/foo/other-plan.json:
--------------------------------------------------------------------------------
1 | {
2 | "checklists": ["test/foo"]
3 | }
--------------------------------------------------------------------------------
/maven/src/test/resources/WebsterMojoTest/content-package/src/main/content/jcr_root/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/webster/src/test/resources/filevault/ntRefsSlingFolderOrderedFolder/META-INF/vault/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/core/src/test/resources/OpearFileTest/folders_on_classpath/test-classes/script-in-test-classes.js:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/core/src/test/resources/constraint_violator_package/META-INF/MANIFEST.MF:
--------------------------------------------------------------------------------
1 | Manifest-Version: 1.0
2 |
--------------------------------------------------------------------------------
/core/src/test/resources/constraint_violator_package/jcr_root/apps/acme/docs/test.txt:
--------------------------------------------------------------------------------
1 | Hello World.
--------------------------------------------------------------------------------
/core/src/test/resources/with-embedded-package/jcr_root/apps/with-embedded/install/.gitignore:
--------------------------------------------------------------------------------
1 | *.zip
--------------------------------------------------------------------------------
/maven/src/test/resources/MojoWithPlanParamsTest/repoinit2.txt:
--------------------------------------------------------------------------------
1 | create path (sling:Folder) /apps
2 |
--------------------------------------------------------------------------------
/maven/src/test/resources/OpearPackageMojoTest/repoinit2.txt:
--------------------------------------------------------------------------------
1 | create path (sling:Folder) /apps
2 |
--------------------------------------------------------------------------------
/cli/src/test/resources/opears/runModesPlan/plan.json:
--------------------------------------------------------------------------------
1 | {
2 | "runModes": [
3 | "author"
4 | ]
5 | }
--------------------------------------------------------------------------------
/core/src/test/resources/OpearFileTest/folders_on_classpath/plan.json:
--------------------------------------------------------------------------------
1 | {
2 | "checklists": ["test/foo"]
3 | }
--------------------------------------------------------------------------------
/core/src/test/resources/test_module/META-INF/MANIFEST.MF:
--------------------------------------------------------------------------------
1 | Manifest-Version: 1.0
2 | Oakpal-ModuleName: test
3 |
--------------------------------------------------------------------------------
/core/src/test/resources/ChecklistPlannerTest/zulu/META-INF/MANIFEST.MF:
--------------------------------------------------------------------------------
1 | Manifest-Version: 1.0
2 | This Is Invalid!!!
3 |
--------------------------------------------------------------------------------
/api/README.md:
--------------------------------------------------------------------------------
1 | # net.adamcin.oakpal.api
2 |
3 | This is the API dependency for use by progress check implementers.
4 |
5 |
--------------------------------------------------------------------------------
/core/src/test/resources/manifestWithAutomaticModuleName.mf:
--------------------------------------------------------------------------------
1 | Manifest-Version: 1.0
2 | Automatic-Module-Name: auto.module.name
3 |
--------------------------------------------------------------------------------
/cli/src/test/resources/opears/hooksPlan/plan.json:
--------------------------------------------------------------------------------
1 | {
2 | "enablePreInstallHooks": true,
3 | "installHooksPolicy": "REPORT"
4 | }
--------------------------------------------------------------------------------
/core/src/test/resources/SlingNodetypesScannerTest/has_a_src/META-INF/MANIFEST.MF:
--------------------------------------------------------------------------------
1 | Manifest-Version: 1.0
2 | Sling-Nodetypes: a.cnd
3 |
--------------------------------------------------------------------------------
/core/src/test/resources/SlingNodetypesScannerTest/has_b_src/META-INF/MANIFEST.MF:
--------------------------------------------------------------------------------
1 | Manifest-Version: 1.0
2 | Sling-Nodetypes: b.cnd
3 |
--------------------------------------------------------------------------------
/core/src/test/resources/SlingNodetypesScannerTest/has_c_src/META-INF/MANIFEST.MF:
--------------------------------------------------------------------------------
1 | Manifest-Version: 1.0
2 | Sling-Nodetypes: c.cnd
3 |
--------------------------------------------------------------------------------
/core/src/test/resources/SlingNodetypesScannerTest/has_d_src/META-INF/MANIFEST.MF:
--------------------------------------------------------------------------------
1 | Manifest-Version: 1.0
2 | Sling-Nodetypes: d.cnd
3 |
--------------------------------------------------------------------------------
/core/src/test/resources/SlingNodetypesScannerTest/has_e_src/META-INF/MANIFEST.MF:
--------------------------------------------------------------------------------
1 | Manifest-Version: 1.0
2 | Sling-Nodetypes: e.cnd
3 |
--------------------------------------------------------------------------------
/core/src/test/resources/SlingNodetypesScannerTest/has_f_src/META-INF/MANIFEST.MF:
--------------------------------------------------------------------------------
1 | Manifest-Version: 1.0
2 | Sling-Nodetypes: f.cnd
3 |
--------------------------------------------------------------------------------
/core/src/test/resources/SlingNodetypesScannerTest/has_y_src/META-INF/MANIFEST.MF:
--------------------------------------------------------------------------------
1 | Manifest-Version: 1.0
2 | Sling-Nodetypes: y.cnd
3 |
--------------------------------------------------------------------------------
/core/src/test/resources/SlingNodetypesScannerTest/has_z_src/META-INF/MANIFEST.MF:
--------------------------------------------------------------------------------
1 | Manifest-Version: 1.0
2 | Sling-Nodetypes: z.cnd
3 |
--------------------------------------------------------------------------------
/core/src/main/resources/net/adamcin/oakpal/core/basic-plan.json:
--------------------------------------------------------------------------------
1 | {
2 | "checklists": [
3 | "net.adamcin.oakpal.core/basic"
4 | ]
5 | }
--------------------------------------------------------------------------------
/core/src/test/resources/plans/foo/META-INF/MANIFEST.MF:
--------------------------------------------------------------------------------
1 | Manifest-Version: 1.0
2 | Bundle-SymbolicName: foo
3 | Oakpal-Plan: other-plan.json
4 |
--------------------------------------------------------------------------------
/maven/src/site/resources/images/export_cnd.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/adamcin/oakpal/HEAD/maven/src/site/resources/images/export_cnd.png
--------------------------------------------------------------------------------
/maven/src/test/resources/unit/happyscan/simpleCnd.cnd:
--------------------------------------------------------------------------------
1 | <'oakpal'='http://adamcin.net/ns/jcr/oakpal/1.0'>
2 |
3 | [oakpal:SimpleType]
4 | mixin
--------------------------------------------------------------------------------
/core/src/test/resources/OpearFileTest/deep_test_src/deep-plan.json:
--------------------------------------------------------------------------------
1 | {
2 | "checklists": [
3 | "embedded_module/embedded_checklist"
4 | ]
5 | }
--------------------------------------------------------------------------------
/core/src/test/resources/plans/xEmpty/META-INF/MANIFEST.MF:
--------------------------------------------------------------------------------
1 | Manifest-Version: 1.0
2 | Bundle-SymbolicName: empty
3 | Oakpal-Plan: other-plan.json
4 |
--------------------------------------------------------------------------------
/webster/src/test/resources/filevault/oneNtRefAndDef/jcr_root/nodetypes.cnd:
--------------------------------------------------------------------------------
1 | <'foo'='http://adamcin.net/foo'>
2 |
3 | [foo:bar] > nt:folder
4 |
5 |
--------------------------------------------------------------------------------
/core/src/test/resources/with-embedded-package/jcr_root/apps/with-embedded/config/com.TestFactory-peanut.cfg.json:
--------------------------------------------------------------------------------
1 | {
2 | "foo:Integer": "badRanking"
3 | }
--------------------------------------------------------------------------------
/webster/src/test/resources/filevault/oneNtRefAndDef/META-INF/vault/nodetypes.cnd:
--------------------------------------------------------------------------------
1 | <'foo'='http://adamcin.net/foo'>
2 |
3 | [foo:bar] > nt:folder
4 |
5 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | .idea/
2 | target/
3 | *.iml
4 | .mvn/wrapper/maven-wrapper.jar
5 | .oakpal-cache/
6 | pom.xml.versionsBackup
7 | dependency-reduced-pom.xml
8 |
--------------------------------------------------------------------------------
/cli/src/test/resources/checklists/test_module/META-INF/MANIFEST.MF:
--------------------------------------------------------------------------------
1 | Manifest-Version: 1.0
2 | Oakpal-ModuleName: test
3 | Oakpal-Checklist: test-checklist.json
4 |
--------------------------------------------------------------------------------
/cli/src/test/resources/opears/simpleEcho/plan.json:
--------------------------------------------------------------------------------
1 | {
2 | "checks": [
3 | {
4 | "name": "simpleEcho",
5 | "impl": "echo.js"
6 | }
7 | ]
8 | }
--------------------------------------------------------------------------------
/core/src/test/resources/ChecklistPlannerTest/alpha/META-INF/MANIFEST.MF:
--------------------------------------------------------------------------------
1 | Manifest-Version: 1.0
2 | Automatic-Module-Name: alpha
3 | Oakpal-Checklist: alpha.json
4 |
--------------------------------------------------------------------------------
/core/src/test/resources/JsonCndTest/error.cnd:
--------------------------------------------------------------------------------
1 | <'nt'='http://www.jcp.org/jcr/nt/1.0'>
2 |
3 | [error:primaryType] > nt:base
4 |
5 | [error:mixinType]
6 | mixin
--------------------------------------------------------------------------------
/cli/src/main/filtered-resources/net/adamcin/oakpal/cli/version.properties:
--------------------------------------------------------------------------------
1 | groupId=${project.groupId}
2 | artifactId=${project.artifactId}
3 | version=${project.version}
--------------------------------------------------------------------------------
/core/src/test/resources/ChecklistPlannerTest/charlie/META-INF/MANIFEST.MF:
--------------------------------------------------------------------------------
1 | Manifest-Version: 1.0
2 | Oakpal-ModuleName: charlie
3 | Oakpal-Checklist: charlie.json
4 |
--------------------------------------------------------------------------------
/cli/src/test/resources/opears/simpleEcho/other-plan.json:
--------------------------------------------------------------------------------
1 | {
2 | "checks": [
3 | {
4 | "name": "simpleEcho",
5 | "impl": "echo.js"
6 | }
7 | ]
8 | }
--------------------------------------------------------------------------------
/core/src/test/resources/manifestWithBundleSymbolicName.mf:
--------------------------------------------------------------------------------
1 | Manifest-Version: 1.0
2 | Bundle-SymbolicName: bundle.symbolicName
3 | Automatic-Module-Name: auto.module.name
4 |
--------------------------------------------------------------------------------
/core/src/test/resources/ChecklistPlannerTest/bravo/META-INF/MANIFEST.MF:
--------------------------------------------------------------------------------
1 | Manifest-Version: 1.0
2 | Bundle-SymbolicName: bravo
3 | Oakpal-Checklist: bravo-1.json,bravo-2.json
4 |
--------------------------------------------------------------------------------
/core/src/test/resources/JsonCndTest/a.cnd:
--------------------------------------------------------------------------------
1 | <'nt'='http://www.jcp.org/jcr/nt/1.0'>
2 | <'a'='http://a.com/1.0'>
3 |
4 | [a:primaryType] > nt:base
5 |
6 | [a:mixinType]
7 | mixin
--------------------------------------------------------------------------------
/core/src/test/resources/package_with_bad_installhook/META-INF/vault/filter.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/core/src/test/resources/test_module/a.cnd:
--------------------------------------------------------------------------------
1 | <'nt'='http://www.jcp.org/jcr/nt/1.0'>
2 | <'a'='http://a.com/1.0'>
3 |
4 | [a:primaryType] > nt:base
5 |
6 | [a:mixinType]
7 | mixin
--------------------------------------------------------------------------------
/core/src/test/resources/test_module/b.cnd:
--------------------------------------------------------------------------------
1 | <'nt'='http://www.jcp.org/jcr/nt/1.0'>
2 | <'b'='http://b.com/1.0'>
3 |
4 | [b:primaryType] > nt:base
5 |
6 | [b:mixinType]
7 | mixin
--------------------------------------------------------------------------------
/maven/src/main/filtered-resources/net/adamcin/oakpal/maven/mojo/version.properties:
--------------------------------------------------------------------------------
1 | groupId=${project.groupId}
2 | artifactId=${project.artifactId}
3 | version=${project.version}
--------------------------------------------------------------------------------
/maven/src/test/resources/unit/opear-plan-for-opear1/src/main/resources/simpleCnd.cnd:
--------------------------------------------------------------------------------
1 | <'oakpal'='http://adamcin.net/ns/jcr/oakpal/1.0'>
2 |
3 | [oakpal:SimpleType]
4 | mixin
--------------------------------------------------------------------------------
/core/src/test/resources/InitStageTest/a.cnd:
--------------------------------------------------------------------------------
1 | <'nt'='http://www.jcp.org/jcr/nt/1.0'>
2 | <'a'='http://a.com/1.0'>
3 |
4 | [a:primaryType] > nt:base
5 |
6 | [a:mixinType]
7 | mixin
--------------------------------------------------------------------------------
/core/src/test/resources/InitStageTest/b.cnd:
--------------------------------------------------------------------------------
1 | <'nt'='http://www.jcp.org/jcr/nt/1.0'>
2 | <'b'='http://b.com/1.0'>
3 |
4 | [b:primaryType] > nt:base
5 |
6 | [b:mixinType]
7 | mixin
--------------------------------------------------------------------------------
/core/src/test/resources/CNDURLInstallerTest/a.cnd:
--------------------------------------------------------------------------------
1 | <'nt'='http://www.jcp.org/jcr/nt/1.0'>
2 | <'a'='http://a.com/1.0'>
3 |
4 | [a:primaryType] > nt:base
5 |
6 | [a:mixinType]
7 | mixin
--------------------------------------------------------------------------------
/core/src/test/resources/CNDURLInstallerTest/z.cnd:
--------------------------------------------------------------------------------
1 | <'nt'='http://www.jcp.org/jcr/nt/1.0'>
2 | <'z'='http://z.com/1.0'>
3 |
4 | [z:primaryType] > nt:base
5 |
6 | [z:mixinType]
7 | mixin
--------------------------------------------------------------------------------
/maven/src/test/resources/unit/happyscan/src/test/resources/test-classpath-nodetypes.cnd:
--------------------------------------------------------------------------------
1 | <'oakpal'='http://adamcin.net/ns/jcr/oakpal/1.0'>
2 |
3 | [oakpal:ClassPathMixin]
4 | mixin
5 |
--------------------------------------------------------------------------------
/cli/src/test/resources/checklists/test_module/test-checklist.json:
--------------------------------------------------------------------------------
1 | {
2 | "checks": [
3 | {
4 | "name": "test-check",
5 | "impl": "test_module-handler.js"
6 | }
7 | ]
8 | }
--------------------------------------------------------------------------------
/cli/src/test/resources/opears/simpleEcho/META-INF/MANIFEST.MF:
--------------------------------------------------------------------------------
1 | Manifest-Version: 1.0
2 | Bundle-SymbolicName: simpleEcho
3 | Bundle-ClassPath: .
4 | Oakpal-Plan: plan.json,other-plan.json
5 |
--------------------------------------------------------------------------------
/core/src/test/resources/with-embedded-package/jcr_root/apps/with-embedded/config/com.TestFactory-strawberry.config:
--------------------------------------------------------------------------------
1 | foo="bar"
2 | foos=["bar","bar","bar"]
3 | ones=L["1", "1", "1"]
4 | nothing=[]
--------------------------------------------------------------------------------
/maven/src/test/resources/MojoWithPlanParamsTest/a.cnd:
--------------------------------------------------------------------------------
1 | <'nt'='http://www.jcp.org/jcr/nt/1.0'>
2 | <'a'='http://a.com/1.0'>
3 |
4 | [a:primaryType] > nt:base
5 |
6 | [a:mixinType]
7 | mixin
--------------------------------------------------------------------------------
/maven/src/test/resources/MojoWithPlanParamsTest/z.cnd:
--------------------------------------------------------------------------------
1 | <'nt'='http://www.jcp.org/jcr/nt/1.0'>
2 | <'z'='http://z.com/1.0'>
3 |
4 | [z:primaryType] > nt:base
5 |
6 | [z:mixinType]
7 | mixin
--------------------------------------------------------------------------------
/core/src/test/resources/OakpalPlanTest/repoinit1.txt:
--------------------------------------------------------------------------------
1 | register nodetypes
2 | <<===
3 | <'sling'='http://sling.apache.org/jcr/sling/1.0'>
4 |
5 | [sling:Folder] > nt:folder, nt:unstructured
6 | ===>>
--------------------------------------------------------------------------------
/core/src/test/resources/OpearFileTest/embedded_module_src/a.cnd:
--------------------------------------------------------------------------------
1 | <'nt'='http://www.jcp.org/jcr/nt/1.0'>
2 | <'a'='http://a.com/1.0'>
3 |
4 | [a:primaryType] > nt:base
5 |
6 | [a:mixinType]
7 | mixin
--------------------------------------------------------------------------------
/core/src/test/resources/OpearFileTest/embedded_module_src/b.cnd:
--------------------------------------------------------------------------------
1 | <'nt'='http://www.jcp.org/jcr/nt/1.0'>
2 | <'b'='http://b.com/1.0'>
3 |
4 | [b:primaryType] > nt:base
5 |
6 | [b:mixinType]
7 | mixin
--------------------------------------------------------------------------------
/core/src/test/resources/SlingNodetypesScannerTest/has_a_src/a.cnd:
--------------------------------------------------------------------------------
1 | <'nt'='http://www.jcp.org/jcr/nt/1.0'>
2 | <'a'='http://a.com/1.0'>
3 |
4 | [a:primaryType] > nt:base
5 |
6 | [a:mixinType]
7 | mixin
--------------------------------------------------------------------------------
/core/src/test/resources/SlingNodetypesScannerTest/has_z_src/z.cnd:
--------------------------------------------------------------------------------
1 | <'nt'='http://www.jcp.org/jcr/nt/1.0'>
2 | <'z'='http://z.com/1.0'>
3 |
4 | [z:primaryType] > nt:base
5 |
6 | [z:mixinType]
7 | mixin
--------------------------------------------------------------------------------
/core/src/test/resources/simple-libs/META-INF/vault/filter.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/core/src/test/resources/utiljar/META-INF/MANIFEST.MF:
--------------------------------------------------------------------------------
1 | Manifest-Version: 1.0
2 | Good-RelPaths: logback-test.xml,simpleChecklist.json
3 | Bad-RelPaths: unknown-scheme:/some-path,http:didn't-expect-that
4 |
--------------------------------------------------------------------------------
/webster/src/test/resources/filevault/onePrivRef/META-INF/vault/filter.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/core/src/test/resources/JsonCndTest/b.cnd:
--------------------------------------------------------------------------------
1 | <'nt'='http://www.jcp.org/jcr/nt/1.0'>
2 | <'a'='http://a.com/1.0'>
3 | <'b'='http://b.com/1.0'>
4 |
5 | [b:primaryType] > a:primaryType
6 |
7 | [b:mixinType]
8 | mixin
--------------------------------------------------------------------------------
/core/src/test/resources/JsonCndTest/c.cnd:
--------------------------------------------------------------------------------
1 | <'nt'='http://www.jcp.org/jcr/nt/1.0'>
2 | <'b'='http://b.com/1.0'>
3 | <'c'='http://c.com/1.0'>
4 |
5 | [c:primaryType] > b:primaryType
6 |
7 | [c:mixinType]
8 | mixin
--------------------------------------------------------------------------------
/core/src/test/resources/JsonCndTest/d.cnd:
--------------------------------------------------------------------------------
1 | <'nt'='http://www.jcp.org/jcr/nt/1.0'>
2 | <'c'='http://c.com/1.0'>
3 | <'d'='http://d.com/1.0'>
4 |
5 | [d:primaryType] > c:primaryType
6 |
7 | [d:mixinType]
8 | mixin
--------------------------------------------------------------------------------
/core/src/test/resources/JsonCndTest/e.cnd:
--------------------------------------------------------------------------------
1 | <'nt'='http://www.jcp.org/jcr/nt/1.0'>
2 | <'d'='http://d.com/1.0'>
3 | <'e'='http://e.com/1.0'>
4 |
5 | [e:primaryType] > d:primaryType
6 |
7 | [e:mixinType]
8 | mixin
--------------------------------------------------------------------------------
/core/src/test/resources/JsonCndTest/f.cnd:
--------------------------------------------------------------------------------
1 | <'nt'='http://www.jcp.org/jcr/nt/1.0'>
2 | <'e'='http://e.com/1.0'>
3 | <'f'='http://f.com/1.0'>
4 |
5 | [f:primaryType] > e:primaryType
6 |
7 | [f:mixinType]
8 | mixin
--------------------------------------------------------------------------------
/core/src/test/resources/OpearFileTest/embedded_module_src/META-INF/MANIFEST.MF:
--------------------------------------------------------------------------------
1 | Manifest-Version: 1.0
2 | Oakpal-ModuleName: embedded_module
3 | Oakpal-Checklist: OAKPAL-INF/checklists/embedded-checklist.json
4 |
--------------------------------------------------------------------------------
/core/src/test/resources/manifestWithOakpalModuleName.mf:
--------------------------------------------------------------------------------
1 | Manifest-Version: 1.0
2 | Oakpal-ModuleName: oakpal.moduleName
3 | Bundle-SymbolicName: bundle.symbolicName
4 | Automatic-Module-Name: auto.module.name
5 |
--------------------------------------------------------------------------------
/core/src/test/resources/OpearFileTest/deep_test_src/META-INF/MANIFEST.MF:
--------------------------------------------------------------------------------
1 | Manifest-Version: 1.0
2 | Bundle-SymbolicName: deep_test
3 | Bundle-ClassPath: classes,embedded_module.jar
4 | Oakpal-Plan: deep-plan.json
5 |
--------------------------------------------------------------------------------
/core/src/test/resources/CNDURLInstallerTest/b.cnd:
--------------------------------------------------------------------------------
1 | <'nt'='http://www.jcp.org/jcr/nt/1.0'>
2 | <'a'='http://a.com/1.0'>
3 | <'b'='http://b.com/1.0'>
4 |
5 | [b:primaryType] > a:primaryType
6 |
7 | [b:mixinType]
8 | mixin
--------------------------------------------------------------------------------
/core/src/test/resources/CNDURLInstallerTest/c.cnd:
--------------------------------------------------------------------------------
1 | <'nt'='http://www.jcp.org/jcr/nt/1.0'>
2 | <'b'='http://b.com/1.0'>
3 | <'c'='http://c.com/1.0'>
4 |
5 | [c:primaryType] > b:primaryType
6 |
7 | [c:mixinType]
8 | mixin
--------------------------------------------------------------------------------
/core/src/test/resources/CNDURLInstallerTest/d.cnd:
--------------------------------------------------------------------------------
1 | <'nt'='http://www.jcp.org/jcr/nt/1.0'>
2 | <'c'='http://c.com/1.0'>
3 | <'d'='http://d.com/1.0'>
4 |
5 | [d:primaryType] > c:primaryType
6 |
7 | [d:mixinType]
8 | mixin
--------------------------------------------------------------------------------
/core/src/test/resources/CNDURLInstallerTest/e.cnd:
--------------------------------------------------------------------------------
1 | <'nt'='http://www.jcp.org/jcr/nt/1.0'>
2 | <'d'='http://d.com/1.0'>
3 | <'e'='http://e.com/1.0'>
4 |
5 | [e:primaryType] > d:primaryType
6 |
7 | [e:mixinType]
8 | mixin
--------------------------------------------------------------------------------
/core/src/test/resources/CNDURLInstallerTest/f.cnd:
--------------------------------------------------------------------------------
1 | <'nt'='http://www.jcp.org/jcr/nt/1.0'>
2 | <'e'='http://e.com/1.0'>
3 | <'f'='http://f.com/1.0'>
4 |
5 | [f:primaryType] > e:primaryType
6 |
7 | [f:mixinType]
8 | mixin
--------------------------------------------------------------------------------
/core/src/test/resources/CNDURLInstallerTest/y.cnd:
--------------------------------------------------------------------------------
1 | <'nt'='http://www.jcp.org/jcr/nt/1.0'>
2 | <'x'='http://x.com/1.0'>
3 | <'y'='http://y.com/1.0'>
4 |
5 | [y:primaryType] > x:primaryType
6 |
7 | [y:mixinType]
8 | mixin
--------------------------------------------------------------------------------
/core/src/test/resources/OpearFileTest/folders_on_classpath/META-INF/MANIFEST.MF:
--------------------------------------------------------------------------------
1 | Manifest-Version: 1.0
2 | Bundle-SymbolicName: folders_on_classpath
3 | Bundle-ClassPath: classes,test-classes
4 | Oakpal-Plan: plan.json
5 |
--------------------------------------------------------------------------------
/maven/src/test/resources/MojoWithPlanParamsTest/b.cnd:
--------------------------------------------------------------------------------
1 | <'nt'='http://www.jcp.org/jcr/nt/1.0'>
2 | <'a'='http://a.com/1.0'>
3 | <'b'='http://b.com/1.0'>
4 |
5 | [b:primaryType] > a:primaryType
6 |
7 | [b:mixinType]
8 | mixin
--------------------------------------------------------------------------------
/maven/src/test/resources/MojoWithPlanParamsTest/c.cnd:
--------------------------------------------------------------------------------
1 | <'nt'='http://www.jcp.org/jcr/nt/1.0'>
2 | <'b'='http://b.com/1.0'>
3 | <'c'='http://c.com/1.0'>
4 |
5 | [c:primaryType] > b:primaryType
6 |
7 | [c:mixinType]
8 | mixin
--------------------------------------------------------------------------------
/maven/src/test/resources/MojoWithPlanParamsTest/d.cnd:
--------------------------------------------------------------------------------
1 | <'nt'='http://www.jcp.org/jcr/nt/1.0'>
2 | <'c'='http://c.com/1.0'>
3 | <'d'='http://d.com/1.0'>
4 |
5 | [d:primaryType] > c:primaryType
6 |
7 | [d:mixinType]
8 | mixin
--------------------------------------------------------------------------------
/maven/src/test/resources/MojoWithPlanParamsTest/e.cnd:
--------------------------------------------------------------------------------
1 | <'nt'='http://www.jcp.org/jcr/nt/1.0'>
2 | <'d'='http://d.com/1.0'>
3 | <'e'='http://e.com/1.0'>
4 |
5 | [e:primaryType] > d:primaryType
6 |
7 | [e:mixinType]
8 | mixin
--------------------------------------------------------------------------------
/maven/src/test/resources/MojoWithPlanParamsTest/f.cnd:
--------------------------------------------------------------------------------
1 | <'nt'='http://www.jcp.org/jcr/nt/1.0'>
2 | <'e'='http://e.com/1.0'>
3 | <'f'='http://f.com/1.0'>
4 |
5 | [f:primaryType] > e:primaryType
6 |
7 | [f:mixinType]
8 | mixin
--------------------------------------------------------------------------------
/maven/src/test/resources/MojoWithPlanParamsTest/y.cnd:
--------------------------------------------------------------------------------
1 | <'nt'='http://www.jcp.org/jcr/nt/1.0'>
2 | <'x'='http://x.com/1.0'>
3 | <'y'='http://y.com/1.0'>
4 |
5 | [y:primaryType] > x:primaryType
6 |
7 | [y:mixinType]
8 | mixin
--------------------------------------------------------------------------------
/core/src/test/resources/SlingNodetypesScannerTest/has_b_src/b.cnd:
--------------------------------------------------------------------------------
1 | <'nt'='http://www.jcp.org/jcr/nt/1.0'>
2 | <'a'='http://a.com/1.0'>
3 | <'b'='http://b.com/1.0'>
4 |
5 | [b:primaryType] > a:primaryType
6 |
7 | [b:mixinType]
8 | mixin
--------------------------------------------------------------------------------
/core/src/test/resources/SlingNodetypesScannerTest/has_c_src/c.cnd:
--------------------------------------------------------------------------------
1 | <'nt'='http://www.jcp.org/jcr/nt/1.0'>
2 | <'b'='http://b.com/1.0'>
3 | <'c'='http://c.com/1.0'>
4 |
5 | [c:primaryType] > b:primaryType
6 |
7 | [c:mixinType]
8 | mixin
--------------------------------------------------------------------------------
/core/src/test/resources/SlingNodetypesScannerTest/has_d_src/d.cnd:
--------------------------------------------------------------------------------
1 | <'nt'='http://www.jcp.org/jcr/nt/1.0'>
2 | <'c'='http://c.com/1.0'>
3 | <'d'='http://d.com/1.0'>
4 |
5 | [d:primaryType] > c:primaryType
6 |
7 | [d:mixinType]
8 | mixin
--------------------------------------------------------------------------------
/core/src/test/resources/SlingNodetypesScannerTest/has_e_src/e.cnd:
--------------------------------------------------------------------------------
1 | <'nt'='http://www.jcp.org/jcr/nt/1.0'>
2 | <'d'='http://d.com/1.0'>
3 | <'e'='http://e.com/1.0'>
4 |
5 | [e:primaryType] > d:primaryType
6 |
7 | [e:mixinType]
8 | mixin
--------------------------------------------------------------------------------
/core/src/test/resources/SlingNodetypesScannerTest/has_f_src/f.cnd:
--------------------------------------------------------------------------------
1 | <'nt'='http://www.jcp.org/jcr/nt/1.0'>
2 | <'e'='http://e.com/1.0'>
3 | <'f'='http://f.com/1.0'>
4 |
5 | [f:primaryType] > e:primaryType
6 |
7 | [f:mixinType]
8 | mixin
--------------------------------------------------------------------------------
/core/src/test/resources/SlingNodetypesScannerTest/has_y_src/y.cnd:
--------------------------------------------------------------------------------
1 | <'nt'='http://www.jcp.org/jcr/nt/1.0'>
2 | <'x'='http://x.com/1.0'>
3 | <'y'='http://y.com/1.0'>
4 |
5 | [y:primaryType] > x:primaryType
6 |
7 | [y:mixinType]
8 | mixin
--------------------------------------------------------------------------------
/maven/TODO.md:
--------------------------------------------------------------------------------
1 | 1. Create unit tests to determine how org.codehaus.plexus.util.xml.Xpp3Dom.SELF_COMBINATION_MODE_ATTRIBUTE and
2 | .CHILDREN_COMBINATION_MODE_ATTRIBUTE should be used for inheritance of oakpal JSON configurations.
3 |
4 |
--------------------------------------------------------------------------------
/cli/src/test/resources/opears/adhocPlan/repoinit1.txt:
--------------------------------------------------------------------------------
1 | create path (nt:folder) /foo:root
2 |
3 | register nodetypes
4 | <<===
5 | <'sling'='http://sling.apache.org/jcr/sling/1.0'>
6 |
7 | [sling:Folder] > nt:folder, nt:unstructured
8 | ===>>
--------------------------------------------------------------------------------
/core/src/test/resources/InitStageTest/repoinit1.txt:
--------------------------------------------------------------------------------
1 | create path (nt:folder) /foo:root
2 |
3 | register nodetypes
4 | <<===
5 | <'sling'='http://sling.apache.org/jcr/sling/1.0'>
6 |
7 | [sling:Folder] > nt:folder, nt:unstructured
8 | ===>>
--------------------------------------------------------------------------------
/cli/src/test/resources/simple-content/META-INF/vault/filter.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/core/src/test/resources/simple-content/META-INF/vault/filter.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/maven/src/test/resources/OpearPackageMojoTest/repoinit1.txt:
--------------------------------------------------------------------------------
1 | create path (nt:folder) /foo:root
2 |
3 | register nodetypes
4 | <<===
5 | <'sling'='http://sling.apache.org/jcr/sling/1.0'>
6 |
7 | [sling:Folder] > nt:folder, nt:unstructured
8 | ===>>
--------------------------------------------------------------------------------
/maven/src/test/resources/MojoWithPlanParamsTest/repoinit1.txt:
--------------------------------------------------------------------------------
1 | create path (nt:folder) /foo:root
2 |
3 | register nodetypes
4 | <<===
5 | <'sling'='http://sling.apache.org/jcr/sling/1.0'>
6 |
7 | [sling:Folder] > nt:folder, nt:unstructured
8 | ===>>
--------------------------------------------------------------------------------
/cli/src/test/resources/simple-content/META-INF/vault/nodetypes.cnd:
--------------------------------------------------------------------------------
1 | <'sling'='http://sling.apache.org/jcr/sling/1.0'>
2 |
3 | [sling:Folder] > nt:folder
4 | - * (undefined)
5 | - * (undefined) multiple
6 | + * (nt:base) = sling:Folder version
7 |
8 |
--------------------------------------------------------------------------------
/core/src/test/resources/JsonCndTest/bb.cnd:
--------------------------------------------------------------------------------
1 | <'nt'='http://www.jcp.org/jcr/nt/1.0'>
2 | <'a'='http://a.com/1.0'>
3 | <'b'='http://b.com/1.0'>
4 |
5 | [b:primaryType] > a:primaryType
6 | - b:property (String)
7 |
8 | [b:primaryType2] > a:primaryType2
9 |
--------------------------------------------------------------------------------
/core/src/test/resources/simple-content/META-INF/vault/nodetypes.cnd:
--------------------------------------------------------------------------------
1 | <'sling'='http://sling.apache.org/jcr/sling/1.0'>
2 |
3 | [sling:Folder] > nt:folder
4 | - * (undefined)
5 | - * (undefined) multiple
6 | + * (nt:base) = sling:Folder version
7 |
8 |
--------------------------------------------------------------------------------
/core/src/test/resources/simple-libs/META-INF/vault/nodetypes.cnd:
--------------------------------------------------------------------------------
1 | <'sling'='http://sling.apache.org/jcr/sling/1.0'>
2 |
3 | [sling:Folder] > nt:folder
4 | - * (undefined)
5 | - * (undefined) multiple
6 | + * (nt:base) = sling:Folder version
7 |
8 |
--------------------------------------------------------------------------------
/core/src/test/resources/simple-mixed/META-INF/vault/nodetypes.cnd:
--------------------------------------------------------------------------------
1 | <'sling'='http://sling.apache.org/jcr/sling/1.0'>
2 |
3 | [sling:Folder] > nt:folder
4 | - * (undefined)
5 | - * (undefined) multiple
6 | + * (nt:base) = sling:Folder version
7 |
8 |
--------------------------------------------------------------------------------
/core/src/test/resources/manifestWithManyHeaders.mf:
--------------------------------------------------------------------------------
1 | Manifest-Version: 1.0
2 | Numbers: one,two,three
3 | Paths: /test/one,/test/two;someattribute=3,/test/three;otherattr=4;otherattr2=eleventy
4 | Quotes: "/test/one","test/two;stillPath";someattribute=3,/test/three
5 |
--------------------------------------------------------------------------------
/core/src/test/resources/with-embedded-package/META-INF/vault/nodetypes.cnd:
--------------------------------------------------------------------------------
1 | <'sling'='http://sling.apache.org/jcr/sling/1.0'>
2 |
3 | [sling:Folder] > nt:folder
4 | - * (undefined)
5 | - * (undefined) multiple
6 | + * (nt:base) = sling:Folder version
7 |
8 |
--------------------------------------------------------------------------------
/core/src/test/resources/with-embedded-package/META-INF/vault/filter.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/cli/src/test/resources/simple-content/jcr_root/etc/example/.content.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
--------------------------------------------------------------------------------
/core/src/test/resources/simple-content/jcr_root/etc/example/.content.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
--------------------------------------------------------------------------------
/core/src/test/resources/simple-libs/jcr_root/apps/example/.content.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
--------------------------------------------------------------------------------
/core/src/test/resources/simple-mixed/META-INF/vault/filter.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/core/src/test/resources/simple-mixed/jcr_root/apps/example/.content.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
--------------------------------------------------------------------------------
/core/src/test/resources/simple-mixed/jcr_root/etc/example/.content.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
--------------------------------------------------------------------------------
/cli/src/test/resources/simple-content/jcr_root/content/example/.content.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
--------------------------------------------------------------------------------
/core/src/test/resources/package_with_bad_installhook/META-INF/vault/hooks/oakpal-testing-hooktest.hook-0.0.1-SNAPSHOT.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/adamcin/oakpal/HEAD/core/src/test/resources/package_with_bad_installhook/META-INF/vault/hooks/oakpal-testing-hooktest.hook-0.0.1-SNAPSHOT.jar
--------------------------------------------------------------------------------
/core/src/test/resources/simple-content/jcr_root/content/example/.content.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
--------------------------------------------------------------------------------
/core/src/test/resources/simple-mixed/jcr_root/content/example/.content.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
--------------------------------------------------------------------------------
/calipers/ui.apps/src/main/content/jcr_root/apps/oakpal-caliper/config/org.apache.sling.jcr.repoinit.RepositoryInitializer~init.config:
--------------------------------------------------------------------------------
1 | scripts=[
2 | "register nodetypes\n<<===\n<'sling'='http://sling.apache.org/jcr/sling/1.0'>\n[sling:OsgiConfig] > nt:unstructured, nt:hierarchyNode\n===>>\n"
3 | ]
--------------------------------------------------------------------------------
/cli/src/scripts/oakpal.bat:
--------------------------------------------------------------------------------
1 | set DIRNAME=%~dp0
2 | if "%DIRNAME%" == "" set DIRNAME=.
3 | set APP_HOME=%DIRNAME%..
4 | for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi
5 |
6 | java -Dnashorn.args="--no-deprecation-warning" %JAVA_OPTS% -cp "%APP_HOME%\*;%APP_HOME%\lib\*" net.adamcin.oakpal.cli.Main %*
7 |
--------------------------------------------------------------------------------
/cli/src/test/resources/opears/adhocPlan/plan.json:
--------------------------------------------------------------------------------
1 | {
2 | "checks": [
3 | {
4 | "name": "simpleEcho",
5 | "impl": "echo.js"
6 | }
7 | ],
8 | "repoInits": [
9 | "create user simplePlan1",
10 | "create user simplePlan2"
11 | ],
12 | "repoInitUrls": [
13 | "repoinit1.txt"
14 | ]
15 | }
--------------------------------------------------------------------------------
/core/src/test/resources/OpearFileTest/embedded_module_src/OAKPAL-INF/checklists/embedded-checklist.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "embedded-checklist",
3 | "checks": [
4 | {
5 | "name": "embedded-check",
6 | "impl": "embeddedCheck.js"
7 | }
8 | ],
9 | "cndNames": [
10 | "a.cnd",
11 | "b.cnd"
12 | ]
13 | }
--------------------------------------------------------------------------------
/testing/README.md:
--------------------------------------------------------------------------------
1 | # oakpal-testing
2 |
3 | A simple set of utilities to support testing oakpal logic.
4 |
5 | 1. `TestPackageUtil`: useful for creating jars and filevault zip files.
6 |
7 | 2. `oakpaltest.Handler`: java URLStreamHandler implementation that resolves URLs as file paths relative to the test
8 | execution working directory.
--------------------------------------------------------------------------------
/calipers/README.md:
--------------------------------------------------------------------------------
1 | # OakPAL Caliper
2 |
3 | The OakPAL Caliper is a content package that exercises all the features of the OakMachine and events handled by the
4 | ProgressCheck interface. It is published as an artifact in its own right so that it can be used as a standalone
5 | self-test for a configured instance of the CLI or Maven Plugin.
--------------------------------------------------------------------------------
/cli/src/scripts/oakpal:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | appHome="$(cd "$(dirname "$(dirname "$0")")" && pwd)"
3 | oakpalCp=$(ls "${appHome}"/oakpal-cli-*.jar)
4 | for libjar in $(find "${appHome}/lib" -name '*.jar' -type f); do
5 | oakpalCp="${oakpalCp}:${libjar}"
6 | done
7 | java -Dnashorn.args="--no-deprecation-warning" ${JAVA_OPTS} -cp "${oakpalCp}" net.adamcin.oakpal.cli.Main "$@"
8 |
9 |
--------------------------------------------------------------------------------
/cli/src/scripts/oakpal.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | appHome="$(cd "$(dirname "$(dirname "$0")")" && pwd)"
3 | oakpalCp=$(ls "${appHome}"/oakpal-cli-*.jar)
4 | for libjar in $(find "${appHome}/lib" -name '*.jar' -type f); do
5 | oakpalCp="${oakpalCp}:${libjar}"
6 | done
7 | java -Dnashorn.args="--no-deprecation-warning" ${JAVA_OPTS} -cp "${oakpalCp}" net.adamcin.oakpal.cli.Main "$@"
8 |
9 |
--------------------------------------------------------------------------------
/cli/src/main/java/net/adamcin/oakpal/cli/DisposablePrinter.java:
--------------------------------------------------------------------------------
1 | package net.adamcin.oakpal.cli;
2 |
3 | import java.util.function.Function;
4 |
5 | import net.adamcin.oakpal.api.Nothing;
6 |
7 | /**
8 | * Extension of simple IO printer function type to add a dispose() method.
9 | */
10 | public interface DisposablePrinter extends Function