Skip to content
This repository has been archived by the owner on Jan 28, 2021. It is now read-only.

Commit

Permalink
#74 - adds SlackService
Browse files Browse the repository at this point in the history
currently also includes an ErrorReportingForSlack SPI impl, to move out.
  • Loading branch information
danhaywood committed Feb 22, 2018
1 parent 2e3bb81 commit 21660b5
Show file tree
Hide file tree
Showing 7 changed files with 849 additions and 0 deletions.
206 changes: 206 additions & 0 deletions modules/lib/slack/impl/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,206 @@
<?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>
<groupId>org.incode</groupId>
<artifactId>incode-parent</artifactId>
<version>1.16.1-SNAPSHOT</version>
<relativePath>../../../pom.xml</relativePath>
</parent>

<groupId>org.incode.module.slack</groupId>
<artifactId>incode-module-slack-dom</artifactId>

<packaging>jar</packaging>

<name>Incode Platform Lib Slack API Impl</name>
<description>
A module for posting to Slack channels.
</description>

<url>https://github.com/incodehq/incode-platform</url>

<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
</license>
</licenses>

<scm>
<connection>scm:git:git@github.com:incodehq/incode-platform.git</connection>
<developerConnection>scm:git:git@github.com:incodehq/incode-platform.git</developerConnection>
<url>git@github.com:incodehq/incode-platform.git</url>
</scm>

<developers>
<developer>
<id>dhaywood</id>
<name>Dan Haywood</name>
<email>dhaywood@incode.org</email>
</developer>
<developer>
<id>jvanderwal</id>
<name>Jeroen van der Wal</name>
<email>jvanderwal@incode.org</email>
</developer>
<developer>
<id>jdoornenbal</id>
<name>Johan Doornenbal</name>
<email>jdoornenbal@incode.org</email>
</developer>
</developers>

<properties>
<jar-plugin.automaticModuleName>org.incode.platform.lib.servletapi</jar-plugin.automaticModuleName>
<git-plugin.propertiesDir>org/incode/platform/lib/servletapi</git-plugin.propertiesDir>

<git-plugin.gitDir>${project.basedir}/../../../../.git</git-plugin.gitDir>
</properties>

<build>
<plugins>
<plugin>
<groupId>com.github.odavid.maven.plugins</groupId>
<artifactId>mixin-maven-plugin</artifactId>
<version>0.1-alpha-39</version>
<extensions>true</extensions>
<configuration>
<mixins>
<mixin>
<groupId>com.danhaywood.mavenmixin</groupId>
<artifactId>enforcerrelaxed</artifactId>
</mixin>
<mixin>
<groupId>com.danhaywood.mavenmixin</groupId>
<artifactId>standard</artifactId>
</mixin>
<mixin>
<groupId>com.danhaywood.mavenmixin</groupId>
<artifactId>sourceandjavadoc</artifactId>
</mixin>
<mixin>
<groupId>com.danhaywood.mavenmixin</groupId>
<artifactId>surefire</artifactId>
</mixin>
</mixins>
</configuration>
</plugin>
<plugin>
<groupId>pl.project13.maven</groupId>
<artifactId>git-commit-id-plugin</artifactId>
</plugin>
</plugins>
</build>

<dependencies>
<dependency>
<groupId>org.apache.isis.core</groupId>
<artifactId>isis-core-metamodel</artifactId>
</dependency>

<dependency>
<groupId>com.ullink.slack</groupId>
<artifactId>simpleslackapi</artifactId>
</dependency>

<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
</dependency>

<!-- test -->
<dependency>
<groupId>org.incode.module.unittestsupport</groupId>
<artifactId>incode-module-unittestsupport-dom</artifactId>
<scope>test</scope>
</dependency>

<!--
<dependency>
<groupId>org.apache.isis.mavendeps</groupId>
<artifactId>isis-mavendeps-testing</artifactId>
<type>pom</type>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.hsqldb</groupId>
<artifactId>hsqldb</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.togglz</groupId>
<artifactId>togglz-junit</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-guava</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.danhaywood.java</groupId>
<artifactId>danhaywood-java-assertjext</artifactId>
<scope>test</scope>
</dependency>
-->

<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<scope>provided</scope>
</dependency>

</dependencies>

<profiles>
<profile>
<id>main</id>
<activation>
<property>
<name>main</name>
</property>
</activation>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<shadedArtifactAttached>true</shadedArtifactAttached>
<createDependencyReducedPom>false</createDependencyReducedPom>
<transformers>
<transformer
implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<mainClass>org.incode.module.slack.impl.SlackMain</mainClass>
</transformer>
</transformers>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
<scope>compile</scope>
</dependency>
</dependencies>
</profile>
</profiles>

</project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
package org.incode.module.slack;

import javax.xml.bind.annotation.XmlRootElement;

import org.apache.isis.applib.ModuleAbstract;

@XmlRootElement(name = "module")
public class SlackErrorReportingModule extends ModuleAbstract {

}
Loading

0 comments on commit 21660b5

Please sign in to comment.