Skip to content

Commit 59359d1

Browse files
authored
Merge pull request #448 from wttech/feature/restructure-project
Feature/restructure project
2 parents e86e706 + 60d4d9a commit 59359d1

File tree

153 files changed

+44
-542
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

153 files changed

+44
-542
lines changed

.github/workflows/release-version.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@ jobs:
2929
mkdir artifacts
3030
find ./app/aem/all/build/packageCompose -name "*.zip" -print0 | xargs -0 cp -t "artifacts"
3131
find ./app/aem/all.cloud/build/packageCompose -name "*.zip" -print0 | xargs -0 cp -t "artifacts"
32-
find ./app/aem/actions.checks/build/packageCompose -name "*.zip" -print0 | xargs -0 cp -t "artifacts"
33-
find ./artifacts -name '*.zip' -exec bash -c ' mv $0 ${0/core/apmt}' {} \;
3432
- name: Upload Release Asset
3533
3634
env:

app/aem/actions.checks/build.gradle.kts

Lines changed: 0 additions & 85 deletions
This file was deleted.

app/aem/actions.checks/src/main/content/META-INF/vault/filter.xml

Lines changed: 0 additions & 4 deletions
This file was deleted.

app/aem/actions.main/build.gradle.kts

Lines changed: 0 additions & 60 deletions
This file was deleted.

app/aem/actions.main/src/main/java/com/cognifide/apm/main/services/ApmActionsMainService.java

Lines changed: 0 additions & 33 deletions
This file was deleted.

app/aem/all/build.gradle.kts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ plugins {
77
description = "APM (AEM Permission Management) - AEM All-In-One Package"
88

99
evaluationDependsOn(":app:aem:ui.apps")
10-
evaluationDependsOn(":app:aem:ui.system.user")
11-
evaluationDependsOn(":app:aem:ui.content")
1210

1311
apply(from = rootProject.file("app/common.gradle.kts"))
1412
apply(from = rootProject.file("app/aem/common.gradle.kts"))
@@ -19,12 +17,6 @@ aem {
1917
nestPackageProject(":app:aem:ui.apps") {
2018
dirPath.set("/apps/apm-packages/application/install")
2119
}
22-
nestPackageProject(":app:aem:ui.system.user") {
23-
dirPath.set("/apps/apm-packages/content/install")
24-
}
25-
nestPackageProject(":app:aem:ui.content") {
26-
dirPath.set("/apps/apm-packages/content/install")
27-
}
2820
}
2921
}
3022
}

app/aem/api/build.gradle.kts

Lines changed: 0 additions & 44 deletions
This file was deleted.

app/aem/core/build.gradle.kts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ plugins {
1010
signing
1111
}
1212

13-
description = "APM Core"
13+
description = "AEM Permission Management (APM)"
1414

1515
apply(from = rootProject.file("app/common.gradle.kts"))
1616
apply(from = rootProject.file("app/aem/common.gradle.kts"))
@@ -19,19 +19,19 @@ aem {
1919
tasks {
2020
jar {
2121
bundle {
22+
symbolicName = "com.cognifide.apm"
23+
exportPackage("com.cognifide.apm.*")
2224
importPackage("javax.annotation;version=0.0.0", "!android.os")
23-
attribute("Sling-Model-Packages", "com.cognifide.apm.core")
25+
attribute("Sling-Model-Packages", "com.cognifide.apm")
2426
excludePackage("org.antlr.stringtemplate", "org.antlr.v4.gui")
2527
embedPackage("org.antlr:antlr4-runtime:4.7.2", "org.antlr.v4.runtime.*")
28+
attribute("APM-Actions", "com.cognifide.apm")
2629
}
2730
}
2831
}
2932
}
3033

3134
dependencies {
32-
implementation(project(":app:aem:api"))
33-
implementation(project(":app:aem:actions.main"))
34-
3535
antlr("org.antlr:antlr4:4.7.2")
3636
}
3737

app/aem/core/src/main/antlr/ApmLang.g4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ grammar ApmLang;
2525
*/
2626

2727
apm
28-
: command+ EOF
28+
: command* EOF
2929
;
3030

3131
name
File renamed without changes.

0 commit comments

Comments
 (0)