[java-identity-provider COMMIT] in /trunk/idp-distribution: .checkstyle .classpath .project pom.xml src/main/assembly...

noreply at shibboleth.net noreply at shibboleth.net
Wed May 1 19:44:50 EDT 2013


Author: tzeller
Date: Wed May  1 19:44:49 2013
New Revision: 4445

URL: http://svn.shibboleth.net/view/java-identity-provider?rev=4445&view=rev
Log:
Build a minimally runnable distribution. Initial commit of incomplete configuration files. Remove Eclipse Java builder from idp-distribution.

Added:
    trunk/idp-distribution/src/main/assembly/
    trunk/idp-distribution/src/main/assembly/idp-assembly.xml   (with props)
    trunk/idp-distribution/src/main/resources/bin/
    trunk/idp-distribution/src/main/resources/conf/
    trunk/idp-distribution/src/main/resources/conf/idp.properties   (with props)
    trunk/idp-distribution/src/main/resources/conf/internal.xml   (with props)
    trunk/idp-distribution/src/main/resources/credentials/
    trunk/idp-distribution/src/main/resources/jetty/
    trunk/idp-distribution/src/main/resources/jetty/etc/
    trunk/idp-distribution/src/main/resources/jetty/start.d/
    trunk/idp-distribution/src/main/resources/jetty/webapps/
    trunk/idp-distribution/src/main/resources/jetty/webapps/idp.xml   (with props)
    trunk/idp-distribution/src/main/resources/logs/
    trunk/idp-distribution/src/main/resources/metadata/
    trunk/idp-distribution/src/main/resources/templates/
    trunk/idp-distribution/src/main/resources/webflows/
Modified:
    trunk/idp-distribution/.checkstyle
    trunk/idp-distribution/.classpath
    trunk/idp-distribution/.project
    trunk/idp-distribution/pom.xml
    trunk/idp-distribution/src/main/java/
    trunk/idp-distribution/src/test/

Modified: trunk/idp-distribution/.project
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-distribution/.project?rev=4445&r1=4444&r2=4445&view=diff
==============================================================================
Binary files - no diff available.

Modified: trunk/idp-distribution/pom.xml
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-distribution/pom.xml?rev=4445&r1=4444&r2=4445&view=diff
==============================================================================
--- trunk/idp-distribution/pom.xml (original)
+++ trunk/idp-distribution/pom.xml Wed May  1 19:44:49 2013
@@ -1,6 +1,6 @@
 <?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">
+<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>
 
@@ -11,9 +11,41 @@
         <relativePath>../idp-parent</relativePath>
     </parent>
 
-    <name>idp-distribution</name>
+    <name>Shibboleth IdP :: Distribution</name>
     <artifactId>idp-distribution</artifactId>
-    <packaging>jar</packaging>
+    <packaging>pom</packaging>
+
+    <properties>
+        <assembly-directory>target/${project.artifactId}</assembly-directory>
+    </properties>
+
+    <repositories>
+        <repository>
+            <id>shib-release</id>
+            <url>https://shibboleth.net/nexus/content/groups/public</url>
+            <snapshots>
+                <enabled>false</enabled>
+            </snapshots>
+        </repository>
+        <repository>
+            <id>shib-snapshot</id>
+            <url>https://shibboleth.net/nexus/content/repositories/snapshots</url>
+            <releases>
+                <enabled>false</enabled>
+            </releases>
+        </repository>
+
+        <!-- TODO Jetty SNAPSHOT repository, to be removed post-9.0.3 release. -->
+        <repository>
+            <snapshots>
+                <enabled>true</enabled>
+            </snapshots>
+            <id>sonatype-snapshots</id>
+            <name>Sonatype Jetty Snapshots</name>
+            <url>http://oss.sonatype.org/content/groups/jetty</url>
+        </repository>
+
+    </repositories>
 
     <dependencies>
         <!-- Compile Dependencies -->
@@ -26,5 +58,167 @@
 
         <!-- Managed Dependencies -->
     </dependencies>
-    
+
+    <build>
+        <plugins>
+            <!-- Unpack the IdP war and Jetty distribution to assembly directory. -->
+            <plugin>
+                <artifactId>maven-dependency-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>unpack-dependencies</id>
+                        <phase>generate-resources</phase>
+                        <goals>
+                            <goal>unpack</goal>
+                        </goals>
+                        <configuration>
+                            <artifactItems>
+                                <artifactItem>
+                                    <groupId>net.shibboleth.idp</groupId>
+                                    <artifactId>idp-war</artifactId>
+                                    <version>${project.version}</version>
+                                    <type>war</type>

[... 145 lines stripped ...]


More information about the commits mailing list