[jboss-svn-commits] JBL Code SVN: r33072 - in labs/jbosslabs/labs-3.0-build/integration: sbs-nukesauthentication and 5 other directories.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Tue May 25 08:05:55 EDT 2010
Author: lkrzyzanek
Date: 2010-05-25 08:05:53 -0400 (Tue, 25 May 2010)
New Revision: 33072
Added:
labs/jbosslabs/labs-3.0-build/integration/sbs-nukesauthentication/
labs/jbosslabs/labs-3.0-build/integration/sbs-nukesauthentication/branches/
labs/jbosslabs/labs-3.0-build/integration/sbs-nukesauthentication/tags/
labs/jbosslabs/labs-3.0-build/integration/sbs-nukesauthentication/trunk/
labs/jbosslabs/labs-3.0-build/integration/sbs-nukesauthentication/trunk/pom.xml
labs/jbosslabs/labs-3.0-build/integration/sbs-nukesauthentication/trunk/src/
labs/jbosslabs/labs-3.0-build/integration/sbs-nukesauthentication/trunk/src/changes/
labs/jbosslabs/labs-3.0-build/integration/sbs-nukesauthentication/trunk/src/main/
labs/jbosslabs/labs-3.0-build/integration/sbs-nukesauthentication/trunk/src/main/assembly/
labs/jbosslabs/labs-3.0-build/integration/sbs-nukesauthentication/trunk/src/main/assembly/assembly-plugin.xml
labs/jbosslabs/labs-3.0-build/integration/sbs-nukesauthentication/trunk/src/main/java/
labs/jbosslabs/labs-3.0-build/integration/sbs-nukesauthentication/trunk/src/main/plugin/
labs/jbosslabs/labs-3.0-build/integration/sbs-nukesauthentication/trunk/src/main/plugin/plugin.xml
labs/jbosslabs/labs-3.0-build/integration/sbs-nukesauthentication/trunk/src/test/
Log:
ORG-606: Added initial structure for nukes authentication plugin
Added: labs/jbosslabs/labs-3.0-build/integration/sbs-nukesauthentication/trunk/pom.xml
===================================================================
--- labs/jbosslabs/labs-3.0-build/integration/sbs-nukesauthentication/trunk/pom.xml (rev 0)
+++ labs/jbosslabs/labs-3.0-build/integration/sbs-nukesauthentication/trunk/pom.xml 2010-05-25 12:05:53 UTC (rev 33072)
@@ -0,0 +1,201 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.jboss.labs.sbs.plugin</groupId>
+ <artifactId>nukesauthentication</artifactId>
+ <name>SBS plugin: Nukes authentication provider (Login/Register)</name>
+ <description>Plugin integrates Nukes accounts with SBS</description>
+ <version>1.0.0-SNAPSHOT</version>
+
+ <parent>
+ <groupId>org.jboss.labs</groupId>
+ <artifactId>integration</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <relativePath>../../pom.xml</relativePath>
+ </parent>
+ <build>
+ <finalName>nukesauthentication-plugin</finalName>
+ <plugins>
+ <!-- For compilation-->
+ <plugin>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <source>1.6</source>
+ <target>1.6</target>
+ </configuration>
+ </plugin>
+ <!-- Weave transactions into the plugin -->
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>aspectj-maven-plugin</artifactId>
+ <version>1.1</version>
+ <configuration>
+ <aspectLibraries>
+ <aspectLibrary>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-aspects</artifactId>
+ </aspectLibrary>
+ </aspectLibraries>
+ <source>1.6</source>
+ </configuration>
+ <executions>
+ <execution>
+ <goals>
+ <goal>compile</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+
+ <plugin>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>assembly</id>
+ <phase>package</phase>
+ <goals>
+ <goal>single</goal>
+ </goals>
+ <configuration>
+ <appendAssemblyId>false</appendAssemblyId>
+ <descriptors>
+ <descriptor>${basedir}/src/main/assembly/assembly-plugin.xml</descriptor>
+ </descriptors>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <!--
+ Unpackages this SBS plugin. That way it can be used in
+ conjunction with the -DpluginDirs= property, which
+ bypasses the standard plugin installation (which happens
+ via the admin console), by pointing to exploded plugin jar
+ created by this.
+ -->
+ <id>explode-sbs-plugin</id>
+ <phase>package</phase>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ <configuration>
+ <tasks>
+ <mkdir dir="${basedir}/target/nukesauthentication" />
+ <unjar
+ src="${basedir}/target/nukesauthentication-plugin.jar"
+ dest="${basedir}/target/nukesauthentication" />
+ </tasks>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-source-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>attach-sources</id>
+ <phase>verify</phase>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <!-- For unit testing -->
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <excludes>
+ <exclude>**/selenium/*Test.java</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
+
+ </plugins>
+ </build>
+ <dependencies>
+ <dependency>
+ <groupId>com.jivesoftware</groupId>
+ <artifactId>jive-sbs-employee</artifactId>
+ <version>${sbs.version}</version>
+ <type>jar</type>
+ <scope>provided</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>com.jivesoftware</groupId>
+ <artifactId>jive-sbs-employee-all</artifactId>
+ <version>${sbs.version}</version>
+ <type>pom</type>
+ <scope>provided</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ <version>2.3</version>
+ <type>jar</type>
+ <scope>provided</scope>
+ </dependency>
+ <!-- The following dependencies are for unit testing-->
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>4.4</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.objenesis</groupId>
+ <artifactId>objenesis</artifactId>
+ <version>1.0</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>cglib</groupId>
+ <artifactId>cglib</artifactId>
+ <version>2.1</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jmock</groupId>
+ <artifactId>jmock-junit4</artifactId>
+ <version>2.4.0</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+ <!--
+ This is where you set the Jive SBS version your plugin is compiled
+ against.
+ -->
+ <properties>
+ <sbs.version>4.0.5</sbs.version>
+ </properties>
+
+
+ <reporting>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-changes-plugin</artifactId>
+ <reportSets>
+ <reportSet>
+ <reports>
+ <report>changes-report</report>
+ </reports>
+ </reportSet>
+ </reportSets>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>cobertura-maven-plugin</artifactId>
+ </plugin>
+ </plugins>
+ </reporting>
+
+</project>
Added: labs/jbosslabs/labs-3.0-build/integration/sbs-nukesauthentication/trunk/src/main/assembly/assembly-plugin.xml
===================================================================
--- labs/jbosslabs/labs-3.0-build/integration/sbs-nukesauthentication/trunk/src/main/assembly/assembly-plugin.xml (rev 0)
+++ labs/jbosslabs/labs-3.0-build/integration/sbs-nukesauthentication/trunk/src/main/assembly/assembly-plugin.xml 2010-05-25 12:05:53 UTC (rev 33072)
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<assembly>
+ <id>plugin</id>
+ <formats>
+ <format>jar</format>
+ </formats>
+ <includeBaseDirectory>false</includeBaseDirectory>
+ <dependencySets>
+ <dependencySet>
+ <outputDirectory>lib</outputDirectory>
+ <useProjectArtifact>false</useProjectArtifact>
+ <scope>runtime</scope>
+ </dependencySet>
+ </dependencySets>
+ <fileSets>
+ <fileSet>
+ <directory>${project.build.directory}</directory>
+ <includes>
+ <include>classes/</include>
+ </includes>
+ <outputDirectory>/</outputDirectory>
+ </fileSet>
+ <fileSet>
+ <directory>src/main/plugin</directory>
+ <outputDirectory>/</outputDirectory>
+ <excludes>
+ <exclude>resources/templates/</exclude>
+ </excludes>
+ <filtered>true</filtered>
+ </fileSet>
+ <fileSet>
+ <directory>src/main/plugin/resources/templates</directory>
+ <outputDirectory>/resources/templates</outputDirectory>
+ </fileSet>
+ </fileSets>
+</assembly>
Added: labs/jbosslabs/labs-3.0-build/integration/sbs-nukesauthentication/trunk/src/main/plugin/plugin.xml
===================================================================
--- labs/jbosslabs/labs-3.0-build/integration/sbs-nukesauthentication/trunk/src/main/plugin/plugin.xml (rev 0)
+++ labs/jbosslabs/labs-3.0-build/integration/sbs-nukesauthentication/trunk/src/main/plugin/plugin.xml 2010-05-25 12:05:53 UTC (rev 33072)
@@ -0,0 +1,9 @@
+<plugin xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:noNamespaceSchemaLocation="http://www.jivesoftware.com/schemas/clearspace/1_1/plugin.xsd">
+ <name>nukesauthentication</name>
+ <description>Provides integration with Nukes accounts</description>
+ <author>JBoss Community</author>
+ <version>1.0.0</version>
+ <minServerVersion>4.0.0</minServerVersion>
+
+</plugin>
More information about the jboss-svn-commits
mailing list