Hi Dulitha, Thanks for sharing this info. None of us got this error in the build and that is worrying us.
Thanks On Wed, Sep 25, 2013 at 10:53 PM, Dulitha Wijewantha <[email protected]>wrote: > Hi Shelan, > I resolved the compilation issue - there was a problem with the POM - > > Below is the edited POM file of org.wso2.carbon.registry.extensions. I > have made the changes in italics and bold. > > > <?xml version="1.0" encoding="utf-8"?> > <!-- > ~ Copyright (c) 2009-2011, WSO2 Inc. (http://www.wso2.org) All Rights > Reserved. > ~ > ~ Licensed under the Apache License, Version 2.0 (the "License"); > ~ you may not use this file except in compliance with the License. > ~ You may obtain a copy of the License at > ~ > ~ http://www.apache.org/licenses/LICENSE-2.0 > ~ > ~ Unless required by applicable law or agreed to in writing, software > ~ distributed under the License is distributed on an "AS IS" BASIS, > ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. > ~ See the License for the specific language governing permissions and > ~ limitations under the License. > --> > > <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>registry</artifactId> > <version>4.2.0</version> > <relativePath>../../pom.xml</relativePath> > </parent> > > <modelVersion>4.0.0</modelVersion> > <artifactId>org.wso2.carbon.registry.extensions</artifactId> > <version>4.2.0</version> > <packaging>bundle</packaging> > <name>WSO2 Carbon - Registry - Extensions</name> > > <profiles> > <profile> > <id>clover</id> > <activation> > <property> > <name>clover</name> > </property> > </activation> > <build> > <plugins> > <plugin> > <groupId>com.atlassian.maven.plugins</groupId> > <artifactId>maven-clover2-plugin</artifactId> > <configuration> > <licenseLocation><!--TO DO--></licenseLocation> > <targetPercentage>60%</targetPercentage> > <generateHtml>false</generateHtml> > <generatePdf>false</generatePdf> > <generateXml>true</generateXml> > </configuration> > <executions> > <execution> > <phase>verify</phase> > <goals> > <goal>aggregate</goal> > <goal>instrument</goal> > <goal>clover</goal> > </goals> > </execution> > </executions> > </plugin> > </plugins> > </build> > </profile> > </profiles> > > <build> > <plugins> > <plugin> > <groupId>org.apache.felix</groupId> > <artifactId>maven-scr-plugin</artifactId> > </plugin> > <plugin> > <groupId>org.apache.felix</groupId> > <artifactId>maven-bundle-plugin</artifactId> > > <extensions>true</extensions> > <configuration> > <instructions> > > <Fragment-Host>org.wso2.carbon.registry.core</Fragment-Host> > > <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName> > <Bundle-Name>${project.artifactId}</Bundle-Name> > <Export-Package> > org.wso2.carbon.registry.extensions.jmx.*, > org.wso2.carbon.registry.extensions.utils.*, > org.wso2.carbon.registry.extensions.handlers.*, > org.wso2.carbon.registry.extensions.filters.*, > org.wso2.carbon.registry.extensions.aspects.*, > org.wso2.carbon.registry.extensions.beans.* > </Export-Package> > <Private-Package> > common.*, > !org.wso2.carbon.registry.extensions.utils.*, > org.wso2.carbon.registry.extensions.*, > </Private-Package> > <Import-Package> > org.wso2.carbon.registry.core.*, > *org.wso2.carbon.registry.admin.api.*,* > org.apache.maven.scm.*, > org.codehaus.plexus.*, > !javax.xml.namespace, > javax.xml.namespace; version=0.0.0, > org.apache.axiom.*; > version="${axiom.osgi.version.range}", > *;resolution:=optional > </Import-Package> > </instructions> > </configuration> > </plugin> > <plugin> > <artifactId>maven-surefire-plugin</artifactId> > <inherited>true</inherited> > <configuration> > <forkMode>pertest</forkMode> > <argLine>-enableassertions</argLine> > <testFailureIgnore>false</testFailureIgnore> > <excludes> > <exclude>**/APPBasedLifeCycleTest.java</exclude> > <exclude>**/AbstractAPPTest.java</exclude> > <exclude>**/FactoryTest.java</exclude> > <exclude>**/ResourceRenamingTest.java</exclude> > <exclude>**/UserTest.java</exclude> > <exclude>**/BaseTestCase.java</exclude> > <exclude>**/IndexingTest.java</exclude> > </excludes> > </configuration> > </plugin> > </plugins> > </build> > > <dependencies> > <dependency> > <groupId>wsdl4j.wso2</groupId> > <artifactId>wsdl4j</artifactId> > </dependency> > <dependency> > <groupId>org.wso2.carbon</groupId> > <artifactId>org.wso2.carbon.registry.core</artifactId> > </dependency> > <dependency> > <groupId>org.wso2.carbon</groupId> > <artifactId>org.wso2.carbon.user.core</artifactId> > </dependency> > <dependency> > <groupId>org.wso2.carbon</groupId> > <artifactId>org.wso2.carbon.core</artifactId> > </dependency> > <dependency> > <groupId>org.wso2.carbon</groupId> > <artifactId>org.wso2.carbon.utils</artifactId> > </dependency> > <dependency> > <groupId>org.wso2.carbon</groupId> > <artifactId>org.wso2.carbon.user.mgt</artifactId> > </dependency> > > <dependency> > <groupId>org.wso2.carbon</groupId> > <artifactId>org.wso2.carbon.user.api</artifactId> > </dependency> > > *<dependency>* > * <groupId>org.wso2.carbon</groupId>* > * <artifactId>org.wso2.carbon.registry.admin.api</artifactId>* > * </dependency>* > <dependency> > <groupId>org.wso2.carbon</groupId> > <artifactId>org.wso2.carbon.registry.common</artifactId> > <exclusions> > <exclusion> > <groupId>wsdl4j</groupId> > <artifactId>wsdl4j</artifactId> > </exclusion> > </exclusions> > </dependency> > <dependency> > <groupId>org.wso2.carbon</groupId> > <artifactId>org.wso2.carbon.registry.servlet</artifactId> > </dependency> > <dependency> > <groupId>org.wso2.carbon</groupId> > <artifactId>org.wso2.carbon.registry.uddi</artifactId> > </dependency> > <!-- Junit testing environment--> > <dependency> > <groupId>junit</groupId> > <artifactId>junit</artifactId> > <scope>test</scope> > </dependency> > <dependency> > <groupId>com.h2database.wso2</groupId> > <artifactId>h2-database-engine</artifactId> > <scope>test</scope> > </dependency> > <dependency> > <groupId>commons-dbcp</groupId> > <artifactId>commons-dbcp</artifactId> > </dependency> > <dependency> > <groupId>org.wso2.carbon</groupId> > <artifactId>org.wso2.carbon.logging</artifactId> > </dependency> > <dependency> > <groupId>javax.mail</groupId> > <artifactId>mail</artifactId> > </dependency> > <dependency> > <groupId>javax.activation</groupId> > <artifactId>activation</artifactId> > </dependency> > <dependency> > <groupId>commons-fileupload</groupId> > <artifactId>commons-fileupload</artifactId> > </dependency> > <dependency> > <groupId>commons-httpclient</groupId> > <artifactId>commons-httpclient</artifactId> > </dependency> > <dependency> > <groupId>org.apache.ws.commons.axiom</groupId> > <artifactId>axiom-api</artifactId> > </dependency> > <dependency> > <groupId>org.apache.ws.commons.axiom</groupId> > <artifactId>axiom-impl</artifactId> > </dependency> > <dependency> > <groupId>org.apache.geronimo.specs.wso2</groupId> > <artifactId>geronimo-stax-api_1.0_spec</artifactId> > </dependency> > <dependency> > <groupId>org.codehaus.woodstox</groupId> > <artifactId>wstx-asl</artifactId> > <scope>runtime</scope> > </dependency> > <dependency> > <groupId>jaxen</groupId> > <artifactId>jaxen</artifactId> > </dependency> > <dependency> > <groupId>xml-apis</groupId> > <artifactId>xml-apis</artifactId> > </dependency> > <dependency> > <groupId>org.apache.ws.commons.schema</groupId> > <artifactId>XmlSchema</artifactId> > </dependency> > <dependency> > <groupId>org.mortbay.jetty</groupId> > <artifactId>jetty</artifactId> > <scope>test</scope> > </dependency> > <dependency> > <groupId>org.mortbay.jetty</groupId> > <artifactId>jetty-util</artifactId> > <scope>test</scope> > </dependency> > <dependency> > <groupId>org.apache.derby</groupId> > <artifactId>derby</artifactId> > </dependency> > <dependency> > <groupId>eclipse</groupId> > <artifactId>validateutility</artifactId> > </dependency> > <dependency> > <groupId>org.wso2.wsdl.validator.wso2</groupId> > <artifactId>wsdl-validator</artifactId> > <exclusions> > <exclusion> > <groupId>org.wso2.wsdl.validator</groupId> > <artifactId>wsdl-validator</artifactId> > </exclusion> > </exclusions> > </dependency> > <dependency> > <groupId>org.wso2.wadl.core.wso2</groupId> > <artifactId>wadl-core</artifactId> > <version>1.1.3.wso2v2</version> > </dependency> > <dependency> > <groupId>uddi</groupId> > <artifactId>uddi4j</artifactId> > </dependency> > <dependency> > <groupId>xerces</groupId> > <artifactId>xercesImpl</artifactId> > </dependency> > <dependency> > <groupId>org.eclipse.core</groupId> > <artifactId>org.eclipse.core.runtime</artifactId> > <version>3.5.0.v20090429-1800</version> > </dependency> > <dependency> > <groupId>org.wso2.carbon</groupId> > <artifactId>org.wso2.carbon.registry.server</artifactId> > </dependency> > <dependency> > <groupId>org.apache.juddi.wso2</groupId> > <artifactId>juddi</artifactId> > </dependency> > <dependency> > <groupId>org.infinispan.wso2</groupId> > <artifactId>infinispan-core</artifactId> > <version>${orbit.version.infinispan}</version> > <scope>test</scope> > </dependency> > <dependency> > <groupId>org.apache.maven.scm.wso2</groupId> > <artifactId>maven-scm</artifactId> > <version>${orbit.version.maven-scm}</version> > </dependency> > </dependencies> > > </project> > > > -- > Chan (Dulitha Wijewantha) > Software Engineer - Mobile Development > WSO2Mobile > Lean.Enterprise.Mobileware > * ~Email [email protected] <[email protected]>* > * ~Mobile +94712112165* > * ~Website dulithawijewantha.com > * > * ~Blog blog.dulithawijewantha.com<http://dulichan.github.io/chan/> > * > * ~Twitter @dulitharw <https://twitter.com/dulitharw>* > -- *Shelan Perera* Senior Software Engineer ** Integration Technology Group *WSO2, Inc. : wso2.com* lean.enterprise.middleware. *Blog* : blog.shelan.org *Linked-i*n : http://www.linkedin.com/pub/shelan-perera/a/194/465 *Twitter* : https://twitter.com/#!/shelan *Mobile* : +94 772 604 402
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
