geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sppa...@apache.org
Subject svn commit: r527925 - in /geronimo/sandbox/j2g: ./ plugins/org.apache.geronimo.j2g.sources.dependence/ plugins/org.apache.geronimo.j2g.sources.dependence/META-INF/ plugins/org.apache.geronimo.j2g.sources.dependence/src/org/apache/geronimo/j2g/sources/d...
Date Thu, 12 Apr 2007 13:09:25 GMT
Author: sppatel
Date: Thu Apr 12 06:09:24 2007
New Revision: 527925

URL: http://svn.apache.org/viewvc?view=rev&rev=527925
Log:
more mavenization

Modified:
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.sources.dependence/.classpath
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.sources.dependence/META-INF/MANIFEST.MF
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.sources.dependence/build.properties
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.sources.dependence/pom.xml
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.sources.dependence/src/org/apache/geronimo/j2g/sources/dependence/compatibility/GeronimoLoginModule.java
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.sources.dependence/src/org/apache/geronimo/j2g/sources/dependence/compatibility/GeronimoSimpleGroup.java
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.sources.dependence/src/org/apache/geronimo/j2g/sources/dependence/compatibility/PasswordHasher.java
    geronimo/sandbox/j2g/pom.xml

Modified: geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.sources.dependence/.classpath
URL: http://svn.apache.org/viewvc/geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.sources.dependence/.classpath?view=diff&rev=527925&r1=527924&r2=527925
==============================================================================
--- geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.sources.dependence/.classpath (original)
+++ geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.sources.dependence/.classpath Thu
Apr 12 06:09:24 2007
@@ -1,7 +1,9 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
-	<classpathentry kind="src" path="src"/>
-	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
-	<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
-	<classpathentry kind="output" path="bin"/>
-</classpath>
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+	<classpathentry kind="src" path="src"/>
+	<classpathentry exported="true" kind="lib" path="lib/geronimo-util-1.1.jar"/>
+	<classpathentry exported="true" kind="lib" path="lib/geronimo-security-1.1.jar"/>
+	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+	<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+	<classpathentry kind="output" path="bin"/>
+</classpath>

Modified: geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.sources.dependence/META-INF/MANIFEST.MF
URL: http://svn.apache.org/viewvc/geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.sources.dependence/META-INF/MANIFEST.MF?view=diff&rev=527925&r1=527924&r2=527925
==============================================================================
--- geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.sources.dependence/META-INF/MANIFEST.MF
(original)
+++ geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.sources.dependence/META-INF/MANIFEST.MF
Thu Apr 12 06:09:24 2007
@@ -12,6 +12,8 @@
  org.eclipse.core.runtime,
  org.eclipse.jdt,
  org.eclipse.jface.text
-Bundle-ClassPath: .
+Bundle-ClassPath: .,
+ lib/geronimo-security-1.1.jar,
+ lib/geronimo-util-1.1.jar
 Export-Package: org.apache.geronimo.j2g.sources.dependence,
  org.apache.geronimo.j2g.sources.dependence.compatibility

Modified: geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.sources.dependence/build.properties
URL: http://svn.apache.org/viewvc/geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.sources.dependence/build.properties?view=diff&rev=527925&r1=527924&r2=527925
==============================================================================
--- geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.sources.dependence/build.properties
(original)
+++ geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.sources.dependence/build.properties
Thu Apr 12 06:09:24 2007
@@ -18,4 +18,7 @@
 output.. = bin/
 bin.includes = META-INF/,\
                .,\
-               plugin.xml
\ No newline at end of file
+               plugin.xml,\
+               lib/geronimo-security-1.1.jar,\
+               lib/geronimo-util-1.1.jar
+

Modified: geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.sources.dependence/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.sources.dependence/pom.xml?view=diff&rev=527925&r1=527924&r2=527925
==============================================================================
--- geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.sources.dependence/pom.xml (original)
+++ geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.sources.dependence/pom.xml Thu Apr
12 06:09:24 2007
@@ -29,5 +29,62 @@
         <version>1.0-SNAPSHOT</version>
         <relativePath>../pom.xml</relativePath>
     </parent>
-    <dependencies></dependencies>
-</project>
+    <build>
+        <resources>
+            <resource>
+                <directory>.</directory>
+                <includes>
+                    <include>plugin.xml</include>
+                </includes>
+            </resource>
+            <resource>
+                <directory>lib</directory>
+                <targetPath>lib</targetPath>
+                <includes>
+                    <include>*.jar</include>
+                </includes>
+            </resource>
+        </resources>
+        <plugins>
+            <plugin>
+                <artifactId>maven-antrun-plugin</artifactId>
+            </plugin>
+            <plugin>
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>dependency-maven-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>copy</id>
+                        <phase>generate-resources</phase>
+                        <goals>
+                            <goal>copy</goal>
+                        </goals>
+                        <configuration>
+                            <artifactItems>
+                                <artifactItem>
+                                	<groupId>geronimo</groupId>
+            						<artifactId>geronimo-security</artifactId>
+                                </artifactItem>
+                                <artifactItem>
+                                	<groupId>geronimo</groupId>
+            						<artifactId>geronimo-util</artifactId>
+                                </artifactItem>
+                            </artifactItems>
+                            <outputDirectory>lib</outputDirectory>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
+    <dependencies>
+		<dependency>
+        	<groupId>geronimo</groupId>
+            <artifactId>geronimo-security</artifactId>
+        </dependency>
+		<dependency>
+        	<groupId>geronimo</groupId>
+            <artifactId>geronimo-util</artifactId>
+        </dependency>
+    </dependencies>
+</project>
\ No newline at end of file

Modified: geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.sources.dependence/src/org/apache/geronimo/j2g/sources/dependence/compatibility/GeronimoLoginModule.java
URL: http://svn.apache.org/viewvc/geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.sources.dependence/src/org/apache/geronimo/j2g/sources/dependence/compatibility/GeronimoLoginModule.java?view=diff&rev=527925&r1=527924&r2=527925
==============================================================================
--- geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.sources.dependence/src/org/apache/geronimo/j2g/sources/dependence/compatibility/GeronimoLoginModule.java
(original)
+++ geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.sources.dependence/src/org/apache/geronimo/j2g/sources/dependence/compatibility/GeronimoLoginModule.java
Thu Apr 12 06:09:24 2007
@@ -39,6 +39,9 @@
 import javax.security.auth.login.LoginException;
 import javax.security.auth.spi.LoginModule;
 
+import org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal;
+import org.apache.geronimo.security.realm.providers.GeronimoUserPrincipal;
+
 public abstract class GeronimoLoginModule implements LoginModule {
 
 	protected Subject subject;

Modified: geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.sources.dependence/src/org/apache/geronimo/j2g/sources/dependence/compatibility/GeronimoSimpleGroup.java
URL: http://svn.apache.org/viewvc/geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.sources.dependence/src/org/apache/geronimo/j2g/sources/dependence/compatibility/GeronimoSimpleGroup.java?view=diff&rev=527925&r1=527924&r2=527925
==============================================================================
--- geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.sources.dependence/src/org/apache/geronimo/j2g/sources/dependence/compatibility/GeronimoSimpleGroup.java
(original)
+++ geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.sources.dependence/src/org/apache/geronimo/j2g/sources/dependence/compatibility/GeronimoSimpleGroup.java
Thu Apr 12 06:09:24 2007
@@ -27,6 +27,8 @@
 import java.util.HashMap;
 import java.util.Iterator;
 
+import org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal;
+
 public class GeronimoSimpleGroup extends GeronimoGroupPrincipal implements Group {
 
 	/**

Modified: geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.sources.dependence/src/org/apache/geronimo/j2g/sources/dependence/compatibility/PasswordHasher.java
URL: http://svn.apache.org/viewvc/geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.sources.dependence/src/org/apache/geronimo/j2g/sources/dependence/compatibility/PasswordHasher.java?view=diff&rev=527925&r1=527924&r2=527925
==============================================================================
--- geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.sources.dependence/src/org/apache/geronimo/j2g/sources/dependence/compatibility/PasswordHasher.java
(original)
+++ geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.sources.dependence/src/org/apache/geronimo/j2g/sources/dependence/compatibility/PasswordHasher.java
Thu Apr 12 06:09:24 2007
@@ -24,6 +24,8 @@
 import java.io.UnsupportedEncodingException;
 import java.security.MessageDigest;
 
+import org.apache.geronimo.util.encoders.Base64Encoder;
+
 public class PasswordHasher {
 	
 	private final static String HEX_ENC = "HEX";

Modified: geronimo/sandbox/j2g/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/sandbox/j2g/pom.xml?view=diff&rev=527925&r1=527924&r2=527925
==============================================================================
--- geronimo/sandbox/j2g/pom.xml (original)
+++ geronimo/sandbox/j2g/pom.xml Thu Apr 12 06:09:24 2007
@@ -61,6 +61,16 @@
                 <version>1.1.1</version>
             </dependency>
             <dependency>
+                <groupId>geronimo</groupId>
+                <artifactId>geronimo-security</artifactId>
+                <version>1.1</version>
+            </dependency>
+            <dependency>
+                <groupId>geronimo</groupId>
+                <artifactId>geronimo-util</artifactId>
+                <version>1.1</version>
+            </dependency>
+            <dependency>
                 <groupId>dom4j</groupId>
                 <artifactId>dom4j</artifactId>
                 <version>1.6.1</version>



Mime
View raw message