forked from sakaiproject/sakai
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SAK-32075 Add a11y checker plugin to ckeditor. (sakaiproject#4041)
* SAK-32075 Add a11y checker plugin to ckeditor. This plugin is disabled by default, to enable it you need to build with the maven profile: mvn -Pckeditor-a11ychecker install This is because it’s license isn’t compatible with the ECL. * SAK-32075 Make the config more generic. We can include more of the config by default an it all still works. Also update the profile to be the more generic ckeditor-extras with property based profile activation. * SAK-32075 Update property name to be more specific
- Loading branch information
Showing
8 changed files
with
233 additions
and
1 deletion.
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
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,3 @@ | ||
WebJar for CKEditor autosave | ||
|
||
More info: http://webjars.org |
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,82 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<parent> | ||
<artifactId>webjars</artifactId> | ||
<groupId>org.sakaiproject.webjars</groupId> | ||
<version>12-SNAPSHOT</version> | ||
<relativePath>../pom.xml</relativePath> | ||
</parent> | ||
|
||
<packaging>jar</packaging> | ||
<groupId>org.sakaiproject.webjars</groupId> | ||
<artifactId>ckeditor-a11ychecker</artifactId> | ||
<version>${ckeditor.a11ychecker.version}</version> | ||
<name>CKEditor-a11ychecker-webjar</name> | ||
<description>WebJar for CKEditor-a11ychecker</description> | ||
<url>http://webjars.org</url> | ||
|
||
<properties> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
<upstream.version>${ckeditor.a11ychecker.version}</upstream.version> | ||
<upstream.url>http://download.ckeditor.com/a11ychecker/releases/a11ychecker</upstream.url> | ||
<destDir>${project.build.outputDirectory}/META-INF/resources/webjars/a11ychecker/${upstream.version}</destDir> | ||
<requirejs> | ||
{ | ||
"paths": { | ||
"a11ychecker": "a11ychecker", | ||
} | ||
} | ||
</requirejs> | ||
</properties> | ||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-antrun-plugin</artifactId> | ||
<version>1.8</version> | ||
<executions> | ||
<execution> | ||
<phase>process-resources</phase> | ||
<goals><goal>run</goal></goals> | ||
<configuration> | ||
<target> | ||
<mkdir dir="${destDir}" /> | ||
<get src="${upstream.url}_${upstream.version}.zip" dest="${project.build.directory}/${project.artifactId}.zip" /> | ||
<echo message="unzip archives" /> | ||
<unzip src="${project.build.directory}/${project.artifactId}.zip" dest="${project.build.directory}"> | ||
<cutdirsmapper dirs="1"/> | ||
</unzip> | ||
|
||
<echo message="moving resources" /> | ||
<move todir="${destDir}"> | ||
<fileset dir="${project.build.directory}" excludes="tests/" /> | ||
</move> | ||
</target> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
|
||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-release-plugin</artifactId> | ||
</plugin> | ||
|
||
<plugin> | ||
<groupId>org.sonatype.plugins</groupId> | ||
<artifactId>nexus-staging-maven-plugin</artifactId> | ||
<version>1.6.7</version> | ||
<extensions>true</extensions> | ||
<configuration> | ||
<serverId>sonatype-nexus-staging</serverId> | ||
<nexusUrl>https://oss.sonatype.org/</nexusUrl> | ||
<autoReleaseAfterClose>true</autoReleaseAfterClose> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
|
||
</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,3 @@ | ||
WebJar for CKEditor autosave | ||
|
||
More info: http://webjars.org |
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,82 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<parent> | ||
<artifactId>webjars</artifactId> | ||
<groupId>org.sakaiproject.webjars</groupId> | ||
<version>12-SNAPSHOT</version> | ||
<relativePath>../pom.xml</relativePath> | ||
</parent> | ||
|
||
<packaging>jar</packaging> | ||
<groupId>org.sakaiproject.webjars</groupId> | ||
<artifactId>ckeditor-balloonpanel</artifactId> | ||
<version>${ckeditor.balloonpanel.version}</version> | ||
<name>CKEditor-balloonpanel-webjar</name> | ||
<description>WebJar for CKEditor-balloonpanel</description> | ||
<url>http://webjars.org</url> | ||
|
||
<properties> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
<upstream.version>${ckeditor.balloonpanel.version}</upstream.version> | ||
<upstream.url>http://download.ckeditor.com/balloonpanel/releases/balloonpanel</upstream.url> | ||
<destDir>${project.build.outputDirectory}/META-INF/resources/webjars/balloonpanel/${upstream.version}</destDir> | ||
<requirejs> | ||
{ | ||
"paths": { | ||
"balloonpanel": "balloonpanel", | ||
} | ||
} | ||
</requirejs> | ||
</properties> | ||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-antrun-plugin</artifactId> | ||
<version>1.8</version> | ||
<executions> | ||
<execution> | ||
<phase>process-resources</phase> | ||
<goals><goal>run</goal></goals> | ||
<configuration> | ||
<target> | ||
<mkdir dir="${destDir}" /> | ||
<get src="${upstream.url}_${upstream.version}.zip" dest="${project.build.directory}/${project.artifactId}.zip" /> | ||
<echo message="unzip archives" /> | ||
<unzip src="${project.build.directory}/${project.artifactId}.zip" dest="${project.build.directory}"> | ||
<cutdirsmapper dirs="1"/> | ||
</unzip> | ||
|
||
<echo message="moving resources" /> | ||
<move todir="${destDir}"> | ||
<fileset dir="${project.build.directory}"/> | ||
</move> | ||
</target> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
|
||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-release-plugin</artifactId> | ||
</plugin> | ||
|
||
<plugin> | ||
<groupId>org.sonatype.plugins</groupId> | ||
<artifactId>nexus-staging-maven-plugin</artifactId> | ||
<version>1.6.7</version> | ||
<extensions>true</extensions> | ||
<configuration> | ||
<serverId>sonatype-nexus-staging</serverId> | ||
<nexusUrl>https://oss.sonatype.org/</nexusUrl> | ||
<autoReleaseAfterClose>true</autoReleaseAfterClose> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
|
||
</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