-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
92 changed files
with
11,980 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,271 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project | ||
xmlns="https://maven.apache.org/POM/4.0.0" | ||
xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="https://maven.apache.org/POM/4.0.0 https://maven.apache.org/maven-v4_0_0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<groupId>com.cognifide.cq</groupId> | ||
<artifactId>secure-cq</artifactId> | ||
<version>1.0.1-SNAPSHOT</version> | ||
<packaging>bundle</packaging> | ||
<name>Secure CQ</name> | ||
<description> | ||
This application provides detailed security report for your CQ installation. After installation it's available in the 'Tools' page. | ||
</description> | ||
<inceptionYear>2013</inceptionYear> | ||
<properties> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> | ||
<maven.build.timestamp.format>yyyyMMdd-HHmmss</maven.build.timestamp.format> | ||
<instance.url>https://localhost:4502</instance.url> | ||
<instance.username>admin</instance.username> | ||
<instance.password>admin</instance.password> | ||
<assembly.name>secure-cq</assembly.name> | ||
</properties> | ||
<organization> | ||
<name>Cognifide</name> | ||
<url>https://www.cognifide.com</url> | ||
</organization> | ||
<developers> | ||
<developer> | ||
<name>Tomasz Rękawek</name> | ||
<email>[email protected]</email> | ||
<organization>Cognifide</organization> | ||
</developer> | ||
</developers> | ||
<repositories> | ||
<repository> | ||
<id>adobe-public-releases</id> | ||
<url>https://repo.adobe.com/nexus/content/groups/public</url> | ||
</repository> | ||
</repositories> | ||
<build> | ||
<plugins> | ||
<plugin> | ||
<artifactId>maven-compiler-plugin</artifactId> | ||
<version>2.3.2</version> | ||
<configuration> | ||
<source>1.6</source> | ||
<target>1.6</target> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.felix</groupId> | ||
<artifactId>maven-scr-plugin</artifactId> | ||
<version>1.7.2</version> | ||
<executions> | ||
<execution> | ||
<id>generate-scr-scrdescriptor</id> | ||
<goals> | ||
<goal>scr</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
<dependencies> | ||
<dependency> | ||
<groupId>org.slf4j</groupId> | ||
<artifactId>slf4j-simple</artifactId> | ||
<version>1.6.1</version> | ||
</dependency> | ||
</dependencies> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.felix</groupId> | ||
<artifactId>maven-bundle-plugin</artifactId> | ||
<version>2.3.7</version> | ||
<extensions>true</extensions> | ||
<configuration> | ||
<instructions> | ||
<Bundle-Category>cq5</Bundle-Category> | ||
<Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName> | ||
<Bundle-Name>${project.name}</Bundle-Name> | ||
<Bundle-Vendor>${project.organization.name}</Bundle-Vendor> | ||
<Embed-Dependency>*;artifactId=httpclient|httpcore|gson|commons-codec|commons-lang|commons-cli</Embed-Dependency> | ||
</instructions> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<artifactId>maven-assembly-plugin</artifactId> | ||
<version>2.3</version> | ||
<configuration> | ||
<finalName>${assembly.name}-${project.version}</finalName> | ||
<appendAssemblyId>true</appendAssemblyId> | ||
<descriptors> | ||
<descriptor>src/main/assembly/${assembly.descriptor}.xml</descriptor> | ||
</descriptors> | ||
<archive> | ||
<manifest> | ||
<mainClass>com.cognifide.securecq.cli.Main</mainClass> | ||
</manifest> | ||
</archive> | ||
</configuration> | ||
<executions> | ||
<execution> | ||
<phase>package</phase> | ||
<goals> | ||
<goal>single</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
<plugin> | ||
<groupId>com.cognifide.maven.plugins</groupId> | ||
<artifactId>maven-crx-plugin</artifactId> | ||
<version>1.0.3</version> | ||
<configuration> | ||
<packageFileName>${project.build.directory}/${assembly.name}-${project.version}-${assembly.descriptor}.zip</packageFileName> | ||
<packageName>${assembly.name}-${assembly.descriptor}</packageName> | ||
<url>${instance.url}</url> | ||
<user>${instance.username}</user> | ||
<password>${instance.password}</password> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
<pluginManagement> | ||
<plugins> | ||
<!--This plugin's configuration is used to store Eclipse m2e settings | ||
only. It has no influence on the Maven build itself. --> | ||
<plugin> | ||
<groupId>org.eclipse.m2e</groupId> | ||
<artifactId>lifecycle-mapping</artifactId> | ||
<version>1.0.0</version> | ||
<configuration> | ||
<lifecycleMappingMetadata> | ||
<pluginExecutions> | ||
<pluginExecution> | ||
<pluginExecutionFilter> | ||
<groupId>org.apache.felix</groupId> | ||
<artifactId>maven-scr-plugin</artifactId> | ||
<versionRange>[1.7.2,)</versionRange> | ||
<goals> | ||
<goal>scr</goal> | ||
</goals> | ||
</pluginExecutionFilter> | ||
<action> | ||
<ignore></ignore> | ||
</action> | ||
</pluginExecution> | ||
</pluginExecutions> | ||
</lifecycleMappingMetadata> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</pluginManagement> | ||
</build> | ||
<dependencies> | ||
<!-- sling & jcr --> | ||
<dependency> | ||
<groupId>org.apache.sling</groupId> | ||
<artifactId>org.apache.sling.api</artifactId> | ||
<version>2.2.0</version> | ||
<scope>provided</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.apache.jackrabbit</groupId> | ||
<artifactId>jackrabbit-api</artifactId> | ||
<version>2.2.4</version> | ||
<scope>provided</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.apache.felix</groupId> | ||
<artifactId>org.apache.felix.scr.annotations</artifactId> | ||
<version>1.6.0</version> | ||
<scope>provided</scope> | ||
</dependency> | ||
<!-- javax --> | ||
<dependency> | ||
<groupId>javax.servlet</groupId> | ||
<artifactId>jsp-api</artifactId> | ||
<version>2.0</version> | ||
<scope>provided</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>javax.jcr</groupId> | ||
<artifactId>jcr</artifactId> | ||
<version>2.0</version> | ||
<scope>provided</scope> | ||
</dependency> | ||
<!-- adobe --> | ||
<dependency> | ||
<groupId>com.day.cq</groupId> | ||
<artifactId>cq-replication</artifactId> | ||
<version>5.4.2</version> | ||
<scope>provided</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.day.cq</groupId> | ||
<artifactId>cq-commons</artifactId> | ||
<version>5.4.6</version> | ||
<scope>provided</scope> | ||
</dependency> | ||
<!-- common java libs --> | ||
<dependency> | ||
<groupId>commons-lang</groupId> | ||
<artifactId>commons-lang</artifactId> | ||
<version>2.6</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>commons-codec</groupId> | ||
<artifactId>commons-codec</artifactId> | ||
<version>1.7</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>commons-cli</groupId> | ||
<artifactId>commons-cli</artifactId> | ||
<version>1.2</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.apache.httpcomponents</groupId> | ||
<artifactId>httpclient</artifactId> | ||
<version>4.2.3</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.apache.httpcomponents</groupId> | ||
<artifactId>httpcore</artifactId> | ||
<version>4.2.3</version> | ||
</dependency> | ||
<!-- gson --> | ||
<dependency> | ||
<groupId>com.google.code.gson</groupId> | ||
<artifactId>gson</artifactId> | ||
<version>2.2.2</version> | ||
</dependency> | ||
</dependencies> | ||
<profiles> | ||
<profile> | ||
<id>cq</id> | ||
<activation> | ||
<activeByDefault>true</activeByDefault> | ||
</activation> | ||
<properties> | ||
<assembly.descriptor>cq</assembly.descriptor> | ||
</properties> | ||
<dependencies> | ||
<dependency> | ||
<groupId>org.slf4j</groupId> | ||
<artifactId>slf4j-api</artifactId> | ||
<version>1.5.8</version> | ||
<scope>provided</scope> | ||
</dependency> | ||
</dependencies> | ||
</profile> | ||
<profile> | ||
<id>cli</id> | ||
<properties> | ||
<assembly.descriptor>cli</assembly.descriptor> | ||
</properties> | ||
<dependencies> | ||
<dependency> | ||
<groupId>org.slf4j</groupId> | ||
<artifactId>slf4j-simple</artifactId> | ||
<version>1.7.2</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.slf4j</groupId> | ||
<artifactId>slf4j-api</artifactId> | ||
<version>1.7.2</version> | ||
</dependency> | ||
</dependencies> | ||
</profile> | ||
</profiles> | ||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<assembly | ||
xmlns="https://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2" | ||
xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="https://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 https://maven.apache.org/xsd/assembly-1.1.2.xsd"> | ||
<id>cli</id> | ||
<formats> | ||
<format>jar</format> | ||
</formats> | ||
<includeBaseDirectory>false</includeBaseDirectory> | ||
<fileSets> | ||
<fileSet> | ||
<directory>src/main/cq</directory> | ||
<outputDirectory>/cq</outputDirectory> | ||
</fileSet> | ||
</fileSets> | ||
<dependencySets> | ||
<dependencySet> | ||
<outputDirectory>/</outputDirectory> | ||
<useProjectArtifact>true</useProjectArtifact> | ||
<unpack>true</unpack> | ||
<scope>compile</scope> | ||
<unpackOptions> | ||
<excludes> | ||
<exclude>META-INF/**</exclude> | ||
<exclude>OSGI-INF/**</exclude> | ||
<exclude>CQ-INF/**</exclude> | ||
<exclude>*.jar</exclude> | ||
</excludes> | ||
</unpackOptions> | ||
</dependencySet> | ||
</dependencySets> | ||
</assembly> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<assembly | ||
xmlns="https://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2" | ||
xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="https://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 https://maven.apache.org/xsd/assembly-1.1.2.xsd"> | ||
<id>cq</id> | ||
<formats> | ||
<format>zip</format> | ||
</formats> | ||
<includeBaseDirectory>false</includeBaseDirectory> | ||
<fileSets> | ||
<fileSet> | ||
<directory>src/main/cq/jcr_root</directory> | ||
<outputDirectory>/jcr_root</outputDirectory> | ||
<excludes> | ||
<exclude>**/.vlt</exclude> | ||
<exclude>/libs/**</exclude> | ||
<exclude>/WEB-INF/**</exclude> | ||
</excludes> | ||
</fileSet> | ||
<fileSet> | ||
<directory>src/main/vault/common</directory> | ||
<outputDirectory>/META-INF/vault</outputDirectory> | ||
<filtered>false</filtered> | ||
</fileSet> | ||
<fileSet> | ||
<directory>src/main/vault/full</directory> | ||
<outputDirectory>/META-INF/vault</outputDirectory> | ||
<filtered>true</filtered> | ||
</fileSet> | ||
<fileSet> | ||
<directory>${project.build.directory}</directory> | ||
<outputDirectory>/jcr_root/apps/cognifide/securecq/install</outputDirectory> | ||
<includes> | ||
<include>*.jar</include> | ||
</includes> | ||
</fileSet> | ||
</fileSets> | ||
</assembly> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<jcr:root xmlns:sling="https://sling.apache.org/jcr/sling/1.0" xmlns:jcr="https://www.jcp.org/jcr/1.0" xmlns:rep="internal" | ||
jcr:mixinTypes="[rep:AccessControllable,rep:RepoAccessControllable]" | ||
jcr:primaryType="rep:root" | ||
sling:resourceType="sling:redirect" | ||
sling:target="/index.html"> | ||
<bin/> | ||
<rep:repoPolicy/> | ||
<rep:policy/> | ||
<jcr:system/> | ||
<var/> | ||
<libs/> | ||
<etc/> | ||
<apps/> | ||
<home/> | ||
<tmp/> | ||
<content/> | ||
<crx/> | ||
</jcr:root> |
Oops, something went wrong.