Hi Danushka,

Here I have attached the pom.xml and code snipest.

@GET
@Path("/users")
@Produces(MediaType.APPLICATION_JSON)
    public Response getUsers() {
      CustomerproducttracDefault100Stub productTrackerStub = null;
    try {
        productTrackerStub = new CustomerproducttracDefault100Stub();
    } catch (AxisFault axisFault) {
       }
    GetUsers getUsersRequest = new GetUsers();
    Users usersResponse = null;
    try {
        usersResponse =
productTrackerStub.getUsers(getUsersRequest).getUsers();
        if(usersResponse!=null){
            return Response.ok(usersResponse.getUser()).build();
        }else{
            return Response.ok(new User[0]).build();
        }
    } catch (RemoteException e) {
     //log.fatal(e.getMessage());
        return
Response.status(Response.Status.INTERNAL_SERVER_ERROR).build();
    } catch (DataServiceFaultException e) {
     //log.fatal(e.getFaultMessage());
        return
Response.status(Response.Status.INTERNAL_SERVER_ERROR).build();
    }
}



On Fri, Oct 10, 2014 at 6:22 AM, Danushka Fernando <[email protected]>
wrote:

> This is because we have java security enabled. Can you post the following
> line with your pom file of the application.
>
> com.wso2.cpt.service.UserServices.getUsers(UserServices.java:33)
>
>
> Thanks & Regards
> Danushka Fernando
> Software Engineer
> WSO2 inc. http://wso2.com/
> Mobile : +94716332729
>
> On Fri, Oct 10, 2014 at 1:02 AM, Tharindu Dharmarathna <[email protected]
> > wrote:
>
>> Hi all,
>>
>> I have developed jax-rs app with wso2 app cloud. when I call it services
>> using rest client it shows me following error.
>>
>> How can I Solve this issue
>> error Log
>>
>> *type* Exception report
>>
>> *message* *org.apache.cxf.interceptor.Fault: access denied
>> ("java.lang.RuntimePermission" "modifyThreadGroup")*
>>
>> *description* *The server encountered an internal error that prevented
>> it from fulfilling this request.*
>>
>> *exception*
>>
>> java.lang.RuntimeException: org.apache.cxf.interceptor.Fault: access denied 
>> ("java.lang.RuntimePermission" "modifyThreadGroup")
>>      
>> org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessage(AbstractFaultChainInitiatorObserver.java:116)
>>      
>> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:371)
>>      
>> org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
>>      
>> org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:243)
>>      
>> org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:223)
>>      
>> org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:197)
>>      
>> org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:149)
>>      
>> org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:171)
>>      
>> org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:286)
>>      
>> org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTPServlet.java:211)
>>      javax.servlet.http.HttpServlet.service(HttpServlet.java:735)
>>      
>> org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:262)
>>      sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>      
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>>      
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>      java.lang.reflect.Method.invoke(Method.java:606)
>>      org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:274)
>>      org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:271)
>>      java.security.AccessController.doPrivileged(Native Method)
>>      javax.security.auth.Subject.doAsPrivileged(Subject.java:536)
>>      org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:306)
>>      
>> org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:166)
>>
>> *root cause*
>>
>> org.apache.cxf.interceptor.Fault: access denied 
>> ("java.lang.RuntimePermission" "modifyThreadGroup")
>>      
>> org.apache.cxf.service.invoker.AbstractInvoker.createFault(AbstractInvoker.java:163)
>>      
>> org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:129)
>>      org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:211)
>>      org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:99)
>>      
>> org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:59)
>>      
>> org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:96)
>>      
>> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:307)
>>      
>> org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
>>      
>> org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:243)
>>      
>> org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:223)
>>      
>> org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:197)
>>      
>> org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:149)
>>      
>> org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:171)
>>      
>> org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:286)
>>      
>> org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTPServlet.java:211)
>>      javax.servlet.http.HttpServlet.service(HttpServlet.java:735)
>>      
>> org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:262)
>>      sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>      
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>>      
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>      java.lang.reflect.Method.invoke(Method.java:606)
>>      org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:274)
>>      org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:271)
>>      java.security.AccessController.doPrivileged(Native Method)
>>      javax.security.auth.Subject.doAsPrivileged(Subject.java:536)
>>      org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:306)
>>      
>> org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:166)
>>
>> *root cause*
>>
>> java.security.AccessControlException: access denied 
>> ("java.lang.RuntimePermission" "modifyThreadGroup")
>>      
>> java.security.AccessControlContext.checkPermission(AccessControlContext.java:372)
>>      
>> java.security.AccessController.checkPermission(AccessController.java:559)
>>      java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
>>      
>> org.wso2.carbon.bootstrap.CarbonSecurityManager.checkAccess(CarbonSecurityManager.java:89)
>>      java.lang.ThreadGroup.checkAccess(ThreadGroup.java:315)
>>      java.lang.Thread.init(Thread.java:389)
>>      java.lang.Thread.init(Thread.java:349)
>>      java.lang.Thread.<init>(Thread.java:444)
>>      
>> org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$ReferenceQueueThread.<init>(MultiThreadedHttpConnectionManager.java:1080)
>>      
>> org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.storeReferenceToConnection(MultiThreadedHttpConnectionManager.java:173)
>>      
>> org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.access$900(MultiThreadedHttpConnectionManager.java:65)
>>      
>> org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$ConnectionPool.createConnection(MultiThreadedHttpConnectionManager.java:771)
>>      
>> org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.doGetConnection(MultiThreadedHttpConnectionManager.java:476)
>>      
>> org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.getConnectionWithTimeout(MultiThreadedHttpConnectionManager.java:416)
>>      
>> org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:153)
>>      
>> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
>>      
>> org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:622)
>>      
>> org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:193)
>>      org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:75)
>>      
>> org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:451)
>>      
>> org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:278)
>>      org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442)
>>      
>> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:398)
>>      
>> org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:224)
>>      
>> org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
>>      
>> org.wso2.cpt.db.CustomerproducttracDefault100Stub.getUsers(CustomerproducttracDefault100Stub.java:4910)
>>      com.wso2.cpt.service.UserServices.getUsers(UserServices.java:33)
>>      sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>      
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>>      
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>      java.lang.reflect.Method.invoke(Method.java:606)
>>      
>> org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:181)
>>      
>> org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:97)
>>      org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:211)
>>      org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:99)
>>      
>> org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:59)
>>      
>> org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:96)
>>      
>> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:307)
>>      
>> org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
>>      
>> org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:243)
>>      
>> org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:223)
>>      
>> org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:197)
>>      
>> org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:149)
>>      
>> org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:171)
>>      
>> org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:286)
>>      
>> org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTPServlet.java:211)
>>      javax.servlet.http.HttpServlet.service(HttpServlet.java:735)
>>      
>> org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:262)
>>      sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>      
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>>      
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>      java.lang.reflect.Method.invoke(Method.java:606)
>>      org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:274)
>>      org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:271)
>>      java.security.AccessController.doPrivileged(Native Method)
>>      javax.security.auth.Subject.doAsPrivileged(Subject.java:536)
>>      org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:306)
>>      
>> org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:166)
>>
>>
>> JAX-RS services URL is follows.
>>
>> https://appserver.dev.cloud.wso2.com/t/wso2bootcamp/webapps/customerservices-default-SNAPSHOT/services/
>>
>> Thanks
>> --
>>
>> *Tharindu Dharmarathna*Associate Software Engineer
>> WSO2 Inc.; http://wso2.com
>> lean.enterprise.middleware
>>
>> mobile: *+94779109091 <%2B94779109091>*
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>


-- 

*Tharindu Dharmarathna*Associate Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: *+94779109091 <%2B94779109091>*
<?xml version="1.0"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"; xmlns="http://maven.apache.org/POM/4.0.0";
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
  <modelVersion>4.0.0</modelVersion>
  <groupId>org.wso2.af</groupId>
  <artifactId>customerservices</artifactId>
  <version>default-SNAPSHOT</version>
  <packaging>war</packaging>
  <name>customerservices</name>
  <description>customerservices</description>
   <properties>
    <carbon.platform.version>4.2.0</carbon.platform.version>
    <junit.version>4.8.2</junit.version>
    <cxf.version>3.0.0</cxf.version>
<spring.version>3.2.8.RELEASE</spring.version>
<jackson-version>2.0.2</jackson-version>
  </properties>
  <dependencies>
<!---Spring -->
  <dependency>
    	<groupId>org.springframework</groupId>
        <artifactId>spring-context</artifactId>
        <version>${spring.version}</version>
    </dependency>
    <dependency>
    	<groupId>org.springframework</groupId>
        <artifactId>spring-webmvc</artifactId>
        <version>${spring.version}</version>
    </dependency>
    <dependency>
      <groupId>org.apache.cxf</groupId>
      <artifactId>cxf-rt-rs-service-description</artifactId>
      <version>${cxf.version}</version>
    </dependency>
    <dependency>
      <groupId>org.apache.cxf</groupId>
      <artifactId>cxf-rt-frontend-jaxrs</artifactId>
      <version>${cxf.version}</version>
    </dependency>

    <dependency>
      <groupId>commons-httpclient</groupId>
      <artifactId>commons-httpclient</artifactId>
      <version>3.1</version>
    </dependency>
    <dependency>
      <groupId>javax.ws.rs</groupId>
      <artifactId>jsr311-api</artifactId>
      <version>1.1.1</version>
    </dependency>
    <dependency>
      <groupId>org.wso2.carbon</groupId>
      <artifactId>org.wso2.carbon.registry.api</artifactId>
      <version>${carbon.platform.version}</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.wso2.carbon</groupId>
      <artifactId>org.wso2.carbon.user.api</artifactId>
      <version>${carbon.platform.version}</version>
      <scope>provided</scope>
      <exclusions>
        <exclusion>
          <artifactId>org.wso2.carbon.base</artifactId>
          <groupId>org.wso2.carbon</groupId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>org.wso2.carbon</groupId>
      <artifactId>org.wso2.carbon.utils</artifactId>
      <version>${carbon.platform.version}</version>
      <scope>provided</scope>
      <exclusions>
        <exclusion>
          <artifactId>org.wso2.carbon.user.api</artifactId>
          <groupId>org.wso2.carbon</groupId>
        </exclusion>
        <exclusion>
          <artifactId>org.wso2.carbon.logging</artifactId>
          <groupId>org.wso2.carbon</groupId>
        </exclusion>
        <exclusion>
          <artifactId>org.wso2.carbon.queuing</artifactId>
          <groupId>org.wso2.carbon</groupId>
        </exclusion>
        <exclusion>
          <artifactId>org.wso2.carbon.base</artifactId>
          <groupId>org.wso2.carbon</groupId>
        </exclusion>
        <exclusion>
          <artifactId>org.eclipse.osgi</artifactId>
          <groupId>org.eclipse.osgi</groupId>
        </exclusion>
        <exclusion>
          <artifactId>axis2</artifactId>
          <groupId>org.apache.axis2.wso2</groupId>
        </exclusion>
        <exclusion>
          <artifactId>smack</artifactId>
          <groupId>org.igniterealtime.smack.wso2</groupId>
        </exclusion>
        <exclusion>
          <artifactId>smackx</artifactId>
          <groupId>org.igniterealtime.smack.wso2</groupId>
        </exclusion>
        <exclusion>
          <artifactId>jaxen</artifactId>
          <groupId>jaxen</groupId>
        </exclusion>
        <exclusion>
          <artifactId>commons-fileupload</artifactId>
          <groupId>commons-fileupload.wso2</groupId>
        </exclusion>
        <exclusion>
          <artifactId>ant</artifactId>
          <groupId>org.apache.ant.wso2</groupId>
        </exclusion>
        <exclusion>
          <artifactId>javax.servlet</artifactId>
          <groupId>org.eclipse.equinox</groupId>
        </exclusion>
        <exclusion>
          <artifactId>commons-httpclient</artifactId>
          <groupId>commons-httpclient.wso2</groupId>
        </exclusion>
        <exclusion>
          <artifactId>org.wso2.carbon.registry.api</artifactId>
          <groupId>org.wso2.carbon</groupId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>org.wso2.carbon</groupId>
      <artifactId>org.wso2.carbon.registry.core</artifactId>
      <version>${carbon.platform.version}</version>
      <scope>provided</scope>
      <exclusions>
        <exclusion>
          <artifactId>commons-io</artifactId>
          <groupId>commons-io.wso2</groupId>
        </exclusion>
        <exclusion>
          <artifactId>annotations</artifactId>
          <groupId>net.sourceforge.findbugs</groupId>
        </exclusion>
        <exclusion>
          <artifactId>org.eclipse.osgi.services</artifactId>
          <groupId>org.eclipse.osgi</groupId>
        </exclusion>
        <exclusion>
          <artifactId>junit</artifactId>
          <groupId>junit</groupId>
        </exclusion>
        <exclusion>
          <artifactId>h2-database-engine</artifactId>
          <groupId>com.h2database.wso2</groupId>
        </exclusion>
        <exclusion>
          <artifactId>axiom</artifactId>
          <groupId>org.apache.ws.commons.axiom.wso2</groupId>
        </exclusion>
        <exclusion>
          <artifactId>XmlSchema</artifactId>
          <groupId>org.apache.ws.commons.schema.wso2</groupId>
        </exclusion>
        <exclusion>
          <artifactId>org.wso2.carbon.registry.api</artifactId>
          <groupId>org.wso2.carbon</groupId>
        </exclusion>
        <exclusion>
          <artifactId>org.wso2.carbon.utils</artifactId>
          <groupId>org.wso2.carbon</groupId>
        </exclusion>
        <exclusion>
          <artifactId>javax.cache.wso2</artifactId>
          <groupId>org.wso2.carbon</groupId>
        </exclusion>
        <exclusion>
          <artifactId>org.wso2.carbon.registry.xboot</artifactId>
          <groupId>org.wso2.carbon</groupId>
        </exclusion>
        <exclusion>
          <artifactId>org.wso2.securevault</artifactId>
          <groupId>org.wso2.securevault</groupId>
        </exclusion>
        <exclusion>
          <artifactId>org.wso2.carbon.user.core</artifactId>
          <groupId>org.wso2.carbon</groupId>
        </exclusion>
        <exclusion>
          <artifactId>compass</artifactId>
          <groupId>org.compass-project.wso2</groupId>
        </exclusion>
        <exclusion>
          <artifactId>abdera</artifactId>
          <groupId>org.apache.abdera.wso2</groupId>
        </exclusion>
        <exclusion>
          <artifactId>org.wso2.carbon.logging</artifactId>
          <groupId>org.wso2.carbon</groupId>
        </exclusion>
        <exclusion>
          <artifactId>org.wso2.carbon.ndatasource.rdbms</artifactId>
          <groupId>org.wso2.carbon</groupId>
        </exclusion>
        <exclusion>
          <artifactId>poi-scratchpad</artifactId>
          <groupId>org.apache.poi.wso2</groupId>
        </exclusion>
        <exclusion>
          <artifactId>commons-httpclient</artifactId>
          <groupId>commons-httpclient.wso2</groupId>
        </exclusion>
        <exclusion>
          <artifactId>commons-pool</artifactId>
          <groupId>commons-pool.wso2</groupId>
        </exclusion>
        <exclusion>
          <artifactId>infinispan-core</artifactId>
          <groupId>org.infinispan.wso2</groupId>
        </exclusion>
        <exclusion>
          <artifactId>ehcache</artifactId>
          <groupId>net.sf.ehcache.wso2</groupId>
        </exclusion>
        <exclusion>
          <artifactId>backport-util-concurrent</artifactId>
          <groupId>backport-util-concurrent.wso2</groupId>
        </exclusion>
      </exclusions>
    </dependency>
     <!-- JSON Provider -->
        <dependency>
            <groupId>com.fasterxml.jackson.jaxrs</groupId>
            <artifactId>jackson-jaxrs-json-provider</artifactId>
            <version>${jackson-version}</version>
        </dependency>
 <dependency>
          <groupId>org.wso2.cpt.db</groupId>
          <artifactId>CustomerProductTracker</artifactId>
          <version>1.0.0</version>
          <scope>system</scope>
          <systemPath>${project.basedir}/src/main/webapp/WEB-INF/lib/CustomerProductTracker-1.0.0.jar</systemPath>
      </dependency>
      <dependency>
          <groupId>log4j</groupId>
          <artifactId>log4j</artifactId>
          <version>1.2.17</version>
      </dependency>
      <dependency>
          <groupId>org.apache.axis2.wso2</groupId>
          <artifactId>axis2</artifactId>
          <version>1.6.1.wso2v10</version>
      </dependency>
      <dependency>
          <groupId>org.apache.ws.commons.axiom.wso2</groupId>
          <artifactId>axiom</artifactId>
          <version>1.2.11.wso2v4</version>
      </dependency>
      <dependency>
          <groupId>org.apache.axis2.wso2</groupId>
          <artifactId>axis2-client</artifactId>
          <version>1.6.1.wso2v10</version>
      </dependency>
      <dependency>
          <groupId>wsdl4j.wso2</groupId>
          <artifactId>wsdl4j</artifactId>
          <version>1.6.2.wso2v2</version>
      </dependency>
  </dependencies>
  <repositories>
    <repository>
      <releases>
        <updatePolicy>never</updatePolicy>
        <checksumPolicy>ignore</checksumPolicy>
      </releases>
      <id>wso2-nexus</id>
      <url>http://maven.wso2.org/nexus/content/groups/wso2-public/</url>
    </repository>
    <repository>
      <releases>
        <updatePolicy>never</updatePolicy>
        <checksumPolicy>ignore</checksumPolicy>
      </releases>
      <id>java.net2</id>
      <name>Repository hosting the jee6 artifacts</name>
      <url>http://download.java.net/maven/2</url>
    </repository>
  </repositories>
  <pluginRepositories>
    <pluginRepository>
      <releases>
        <updatePolicy>never</updatePolicy>
        <checksumPolicy>ignore</checksumPolicy>
      </releases>
      <id>wso2-nexus</id>
      <url>http://maven.wso2.org/nexus/content/groups/wso2-public/</url>
    </pluginRepository>
  </pluginRepositories>
  <build>
    <plugins>

      <plugin>
        <artifactId>maven-compiler-plugin</artifactId>
        <version>2.3.2</version>
        <configuration>
          <source>1.5</source>
          <target>1.5</target>
        </configuration>
      </plugin>
      <!--plugin>
        <artifactId>maven-war-plugin</artifactId>
        <version>2.2</version>
        <configuration>
           <warName>${project.artifactId}</warName>

        </configuration>
      </plugin-->
    </plugins>
  </build>
</project>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to