Thanks a lot.. Will do that and check.. On Mon, Sep 22, 2014 at 9:41 AM, Gayashan Amarasinghe <[email protected]> wrote:
> Hi LahiruC, > > Try building with maven 3.0.x version. We recommend maven 3.0.x for > building from source [1]. > > [1] https://docs.wso2.com/display/Carbon420/Installation+Prerequisites > > Thanks. > /Gayashan > > On Mon, Sep 22, 2014 at 9:35 AM, Lahiru Cooray <[email protected]> wrote: > >> I'm Im following tutorial[1] to build carbon from the source: >> >> [1]http://java.dzone.com/articles/how-build-wso2-carbon-420 >> >> Running Versions: >> >> >> - java version: "1.6.0_65" >> - Apache Maven: "3.2.2" >> - OS : "mac 10.9" >> >> >> When i run " mvn clean install -Dmaven.test.skip=true" command I get >> the below error. please help... >> >> -- >> >> ********************************* Error Stack >> ******************************************** >> >> [INFO] Scanning for projects... >> >> [ERROR] The build could not read 1 project -> [Help 1] >> >> [ERROR] >> >> [ERROR] The project >> org.apache.tomcat.wso2:jdbc-pool:${jdbc.pool.version}.wso2v1 >> (/Users/lahiruC/Documents/FastTrackerProgram/8-BuildCarbon/carbon/orbit/trunk/jdbc-pool/pom.xml) >> has 1 error >> >> [ERROR] Non-resolvable parent POM: Failure to find >> org.wso2.carbon:carbon-dependents:pom:4.0.0 in >> http://repo.maven.apache.org/maven2 was cached in the local repository, >> resolution will not be reattempted until the update interval of central has >> elapsed or updates are forced and 'parent.relativePath' points at wrong >> local POM @ line 22, column 13 -> [Help 2] >> >> [ERROR] >> >> [ERROR] To see the full stack trace of the errors, re-run Maven with the >> -e switch. >> >> [ERROR] Re-run Maven using the -X switch to enable full debug logging. >> >> [ERROR] >> >> [ERROR] For more information about the errors and possible solutions, >> please read the following articles: >> >> [ERROR] [Help 1] >> http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException >> >> [ERROR] [Help 2] >> http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException >> >> Lahirus-MacBook-Pro:trunk lahiruC$ java -version >> >> java version "1.6.0_65" >> >> Java(TM) SE Runtime Environment (build 1.6.0_65-b14-466.1-11M4716) >> >> Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-466.1, mixed mode) >> >> >> >> >> >> ******************************************************************************************** >> >> >> >> ********************************* orbit POM.XML >> ********************************* >> >> <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> >> >> <groupId>org.wso2.carbon</groupId> >> >> <artifactId>orbit-parent</artifactId> >> >> <version>4.2.0-SNAPSHOT</version> >> >> <packaging>pom</packaging> >> >> <name>WSO2 Carbon Orbit - Parent Maven Project</name> >> >> <description>orbit-parent</description> >> >> <url>http://wso2.org</url> >> >> >> >> >> >> <repositories> >> >> <repository> >> >> <id>wso2-nexus</id> >> >> <name>WSO2 internal Repository</name> >> >> <url>http://maven.wso2.org/nexus/content/groups/wso2-public/ >> </url> >> >> <releases> >> >> <enabled>true</enabled> >> >> <updatePolicy>daily</updatePolicy> >> >> <checksumPolicy>ignore</checksumPolicy> >> >> </releases> >> >> </repository> >> >> >> >> >> >> </repositories> >> >> >> <distributionManagement> >> >> <repository> >> >> <id>wso2-maven2-repository</id> >> >> <name>WSO2 Maven2 Repository</name> >> >> <url>scp://dist.wso2.org/home/httpd/dist.wso2.org/maven2/ >> </url> >> >> </repository> >> >> <snapshotRepository> >> >> <id>wso2-maven2-snapshot-repository</id> >> >> <name>WSO2 Maven2 Snapshot Repository</name> >> >> <url>scp:// >> dist.wso2.org/home/httpd/dist.wso2.org/snapshots/maven2/</url> >> >> </snapshotRepository> >> >> </distributionManagement> >> >> >> <modules> >> >> <module>tribes</module> >> >> <module>js</module> >> >> <module>rabbit-mq</module> >> >> <module>jstl</module> >> >> <module>hazelcast</module> >> >> <module>wadl-core</module> >> >> <module>saxon</module> >> >> <module>cglib</module> >> >> <module>poi</module> >> >> <module>poi-ooxml</module> >> >> <module>poi-scratchpad</module> >> >> <module>java-property-utils</module> >> >> <module>cors-filter</module> >> >> <module>httpcore</module> >> >> <module>spring-framework/3.1.0.wso2v2</module> >> >> <module>cassandra-jdbc</module> >> >> <module>jdbc-pool</module> >> >> </modules> >> >> <build> >> >> <extensions> >> >> <extension> >> >> <groupId>org.apache.maven.wagon</groupId> >> >> <artifactId>wagon-ssh</artifactId> >> >> <version>2.1</version> >> >> </extension> >> >> </extensions> >> >> <pluginManagement> >> >> <plugins> >> >> <plugin> >> >> <groupId>org.apache.felix</groupId> >> >> <artifactId>maven-bundle-plugin</artifactId> >> >> <version>2.3.7</version> >> >> </plugin> >> >> <plugin> >> >> <groupId>org.codehaus.mojo</groupId> >> >> <artifactId>build-helper-maven-plugin</artifactId> >> >> <version>1.7</version> >> >> </plugin> >> >> <plugin> >> >> <groupId>org.apache.maven.plugins</groupId> >> >> <artifactId>maven-compiler-plugin</artifactId> >> >> <version>2.3.2</version> >> >> </plugin> >> >> </plugins> >> >> </pluginManagement> >> >> </build> >> >> >> <properties> >> >> <version.tomcat>7.0.34</version.tomcat> >> >> <version.hazelcast>3.0.1</version.hazelcast> >> >> </properties> >> >> </project> >> >> >> >> >> ************************************************************************************** >> >> >> >> >> >> >> *Lahiru Cooray* >> Software Engineer >> WSO2, Inc.;http://wso2.com/ >> lean.enterprise.middleware >> >> Mobile: +94 715 654154 >> >> _______________________________________________ >> Dev mailing list >> [email protected] >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > *Gayashan Amarasinghe* > Software Engineer | Platform TG > WSO2, Inc. | http://wso2.com > lean. enterprise. middleware > > Mobile : +94718314517 > Blog : gayashan-a.blogspot.com > -- *Lahiru Cooray* Software Engineer WSO2, Inc.;http://wso2.com/ lean.enterprise.middleware Mobile: +94 715 654154
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
