[Carbon-dev] svn commit r32252 - in trunk/carbon-components/user-mgt/org.wso2.carbon.user.profile: . src/main/java/org/wso2/carbon/user/profile/mgt

dimuthul at wso2.com dimuthul at wso2.com
Wed Mar 18 21:55:44 PDT 2009


Author: dimuthul
Date: Wed Mar 18 21:55:44 2009
New Revision: 32252
URL: http://wso2.org/svn/browse/wso2?view=rev&revision=32252

Log:
Adding the pom.xml and the UserProfileException to the profile admin.



Added:
   trunk/carbon-components/user-mgt/org.wso2.carbon.user.profile/pom.xml
Modified:
   trunk/carbon-components/user-mgt/org.wso2.carbon.user.profile/src/main/java/org/wso2/carbon/user/profile/mgt/UserProfileAdmin.java

Added: trunk/carbon-components/user-mgt/org.wso2.carbon.user.profile/pom.xml
URL: http://wso2.org/svn/browse/wso2/trunk/carbon-components/user-mgt/org.wso2.carbon.user.profile/pom.xml?pathrev=32252
==============================================================================
--- (empty file)
+++ trunk/carbon-components/user-mgt/org.wso2.carbon.user.profile/pom.xml	Wed Mar 18 21:55:44 2009
@@ -0,0 +1,124 @@
+<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">
+
+    <parent>
+        <groupId>org.wso2.carbon</groupId>
+        <artifactId>usermgt-component</artifactId>
+        <version>SNAPSHOT</version>
+    </parent>
+
+    <modelVersion>4.0.0</modelVersion>
+    <groupId>org.wso2.carbon</groupId>
+    <artifactId>org.wso2.carbon.user.mgt</artifactId>
+    <packaging>bundle</packaging>
+    <version>SNAPSHOT</version>
+    <name>WSO2 Carbon - User Management</name>
+    <description>A custom wso2 product</description>
+    <url>http://www.wso2.com</url>
+    <dependencies>
+
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.user.core</artifactId>
+            <version>${wso2carbon.version}</version>
+        </dependency>
+
+
+	<dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.core</artifactId>
+            <version>${wso2carbon.version}</version>
+        </dependency>
+
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.registry.core</artifactId>
+        </dependency>
+
+        <dependency>
+            <groupId>junit</groupId>
+            <artifactId>junit</artifactId>
+            <version>3.8.1</version>
+            <scope>test</scope>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.felix</groupId>
+            <artifactId>org.apache.felix.framework</artifactId>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.felix</groupId>
+            <artifactId>org.apache.felix.main</artifactId>
+        </dependency>
+
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.derby</artifactId>
+        </dependency>
+
+        <dependency>
+            <groupId>commons-dbcp</groupId>
+            <artifactId>commons-dbcp</artifactId>
+            <version>1.2.2</version>
+        </dependency>
+
+    </dependencies>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-compiler-plugin</artifactId>
+                <version>2.0</version>
+                <configuration>
+                    <source>1.5</source>
+                    <target>1.5</target>
+                </configuration>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.felix</groupId>
+                <artifactId>maven-bundle-plugin</artifactId>
+                <version>1.4.0</version>
+                <extensions>true</extensions>
+                <configuration>
+                    <instructions>
+                        <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
+                        <WSO2-Bundle-StartLevel>50</WSO2-Bundle-StartLevel>
+                        <!--<Bundle-Name>${pom.artifactId}</Bundle-Name>-->
+                        <!--<Bundle-Description>-->
+                            <!--${pom.description}-->
+                        <!--</Bundle-Description>-->
+                        <Bundle-Version>1.0.0</Bundle-Version>
+                        <Bundle-Activator>
+                            org.wso2.carbon.user.mgt.internal.Activator
+                        </Bundle-Activator>
+                        <Private-Package>
+                            org.wso2.carbon.user.profile.mgt.internal
+                        </Private-Package>
+                        <Export-Package>
+                            org.wso2.carbon.user.profile.mgt,
+                        </Export-Package>
+                        <Import-Package>
+			    org.wso2.carbon.utils.*,
+                            org.apache.axiom.*; version="[${axiom.version}, 1.3.0)",
+                            org.wso2.carbon.user.core.*,
+                            org.osgi.util.tracker.*,
+                            org.osgi.framework.*,
+                            org.wso2.carbon.registry.core.*,
+                            javax.xml.namespace.*;version="0.0.0",
+                            javax.xml.stream.*;version="1.0.1",
+                            org.apache.commons.logging.*,
+                            javax.sql.*,
+                            org.apache.commons.dbcp.*,
+                            *;resolution:=optional
+                        </Import-Package>
+                        <DynamicImport-Package>*</DynamicImport-Package>                        
+                    </instructions>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+
+</project>

Modified: trunk/carbon-components/user-mgt/org.wso2.carbon.user.profile/src/main/java/org/wso2/carbon/user/profile/mgt/UserProfileAdmin.java
URL: http://wso2.org/svn/browse/wso2/trunk/carbon-components/user-mgt/org.wso2.carbon.user.profile/src/main/java/org/wso2/carbon/user/profile/mgt/UserProfileAdmin.java?rev=32252&r1=32251&r2=32252&view=diff
==============================================================================
--- trunk/carbon-components/user-mgt/org.wso2.carbon.user.profile/src/main/java/org/wso2/carbon/user/profile/mgt/UserProfileAdmin.java	(original)
+++ trunk/carbon-components/user-mgt/org.wso2.carbon.user.profile/src/main/java/org/wso2/carbon/user/profile/mgt/UserProfileAdmin.java	Wed Mar 18 21:55:44 2009
@@ -1,12 +1,14 @@
 package org.wso2.carbon.user.profile.mgt;
 
+import org.wso2.carbon.user.core.UserProfileException;
+
 public class UserProfileAdmin {
     
-    public String[] getProfileNames(){
+    public String[] getProfileNames() throws UserProfileException{
         return null;
     }
 
-    public ClaimMapping[] getClaimMappingForProfile(String profileName){
+    public ClaimMapping[] getClaimMappingForProfile(String profileName) throws UserProfileException{
         return null;
     }
 }



More information about the Carbon-dev mailing list