This was due to dependency error between Broker Core module and Broker Manager Core module. This dependency of the Broker to the Broker manager could be removed by introducing new BrokerConfiguration Class to Broker.
Now the correct build order is 1. broker 2. broker-manager On Tue, Jan 4, 2011 at 6:08 PM, WSO2 Builder <[email protected]> wrote: > [INFO] > ------------------------------------------------------------------------ > [INFO] [clean:clean] > [INFO] [site:attach-descriptor] > [INFO] [install:install] > [INFO] Installing > /home/carbon/stratos/carbon/components/broker/target/pom-transformed.xml to > /home/carbon/.m2/repository/org/wso2/carbon/broker/3.1.0-alpha/broker-3.1.0-alpha.pom > [INFO] > ------------------------------------------------------------------------ > [INFO] Building WSO2 Carbon - Broker Core Module > [INFO] task-segment: [clean, install] > [INFO] > ------------------------------------------------------------------------ > [INFO] [clean:clean] > [INFO] [resources:resources] > [INFO] Using 'UTF-8' encoding to copy filtered resources. > [INFO] Copying 1 resource > Downloading: > http://dist.wso2.org/maven2/org/wso2/carbon/org.wso2.carbon.brokermanager.core/3.1.0/org.wso2.carbon.brokermanager.core-3.1.0.pom > [INFO] Unable to find resource > 'org.wso2.carbon:org.wso2.carbon.brokermanager.core:pom:3.1.0' in repository > wso2-maven2-repository (http://dist.wso2.org/maven2) > Downloading: > http://repository.springsource.com/maven/bundles/release/org/wso2/carbon/org.wso2.carbon.brokermanager.core/3.1.0/org.wso2.carbon.brokermanager.core-3.1.0.pom > [INFO] Unable to find resource > 'org.wso2.carbon:org.wso2.carbon.brokermanager.core:pom:3.1.0' in repository > com.springsource.repository.bundles.release ( > http://repository.springsource.com/maven/bundles/release) > Downloading: > http://repository.springsource.com/maven/bundles/external/org/wso2/carbon/org.wso2.carbon.brokermanager.core/3.1.0/org.wso2.carbon.brokermanager.core-3.1.0.pom > [INFO] Unable to find resource > 'org.wso2.carbon:org.wso2.carbon.brokermanager.core:pom:3.1.0' in repository > com.springsource.repository.bundles.external ( > http://repository.springsource.com/maven/bundles/external) > Downloading: > http://repo1.maven.org/maven2/org/wso2/carbon/org.wso2.carbon.brokermanager.core/3.1.0/org.wso2.carbon.brokermanager.core-3.1.0.pom > [INFO] Unable to find resource > 'org.wso2.carbon:org.wso2.carbon.brokermanager.core:pom:3.1.0' in repository > central (http://repo1.maven.org/maven2) > Downloading: > http://dist.wso2.org/maven2/org/wso2/carbon/org.wso2.carbon.brokermanager.core/3.1.0/org.wso2.carbon.brokermanager.core-3.1.0.jar > [INFO] Unable to find resource > 'org.wso2.carbon:org.wso2.carbon.brokermanager.core:jar:3.1.0' in repository > wso2-maven2-repository (http://dist.wso2.org/maven2) > Downloading: > http://repository.springsource.com/maven/bundles/release/org/wso2/carbon/org.wso2.carbon.brokermanager.core/3.1.0/org.wso2.carbon.brokermanager.core-3.1.0.jar > [INFO] Unable to find resource > 'org.wso2.carbon:org.wso2.carbon.brokermanager.core:jar:3.1.0' in repository > com.springsource.repository.bundles.release ( > http://repository.springsource.com/maven/bundles/release) > Downloading: > http://repository.springsource.com/maven/bundles/external/org/wso2/carbon/org.wso2.carbon.brokermanager.core/3.1.0/org.wso2.carbon.brokermanager.core-3.1.0.jar > [INFO] Unable to find resource > 'org.wso2.carbon:org.wso2.carbon.brokermanager.core:jar:3.1.0' in repository > com.springsource.repository.bundles.external ( > http://repository.springsource.com/maven/bundles/external) > Downloading: > http://repo1.maven.org/maven2/org/wso2/carbon/org.wso2.carbon.brokermanager.core/3.1.0/org.wso2.carbon.brokermanager.core-3.1.0.jar > [INFO] Unable to find resource > 'org.wso2.carbon:org.wso2.carbon.brokermanager.core:jar:3.1.0' in repository > central (http://repo1.maven.org/maven2) > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] Failed to resolve artifact. > > Missing: > ---------- > 1) org.wso2.carbon:org.wso2.carbon.brokermanager.core:jar:3.1.0 > > Try downloading the file manually from the project website. > > Then, install it using the command: > mvn install:install-file -DgroupId=org.wso2.carbon > -DartifactId=org.wso2.carbon.brokermanager.core -Dversion=3.1.0 > -Dpackaging=jar -Dfile=/path/to/file > > Alternatively, if you host your own repository you can deploy the file > there: > mvn deploy:deploy-file -DgroupId=org.wso2.carbon > -DartifactId=org.wso2.carbon.brokermanager.core -Dversion=3.1.0 > -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] > > Path to dependency: > 1) org.wso2.carbon:org.wso2.carbon.broker.core:bundle:3.1.0-alpha > 2) org.wso2.carbon:org.wso2.carbon.brokermanager.core:jar:3.1.0 > > ---------- > 1 required artifact is missing. > > for artifact: > org.wso2.carbon:org.wso2.carbon.broker.core:bundle:3.1.0-alpha > > from the specified remote repositories: > com.springsource.repository.bundles.release ( > http://repository.springsource.com/maven/bundles/release), > com.springsource.repository.bundles.external ( > http://repository.springsource.com/maven/bundles/external), > wso2-maven2-snapshot-repository (http://dist.wso2.org/snapshots/maven2), > central (http://repo1.maven.org/maven2), > wso2-maven2-repository (http://dist.wso2.org/maven2) > > > > [INFO] > ------------------------------------------------------------------------ > [INFO] For more information, run Maven with the -e switch > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 358 minutes 6 seconds > [INFO] Finished at: Tue Jan 04 18:08:44 IST 2011 > [INFO] Final Memory: 1261M/1766M > _______________________________________________ > Carbon-dev mailing list > [email protected] > https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev > Thanks -- Best Regards,* Shammi Jayasinghe* Senior Software Engineer; WSO2, Inc.; http://wso2.com, mobile: +94 71 4493085
_______________________________________________ Carbon-dev mailing list [email protected] https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
