问题
I have followed the instructions here for building IS 4.6.0, in summary:
- SVN Checkout from: https://svn.wso2.org/repos/wso2/carbon/platform/tags/turing-chunk06
- Commented out APIMGT in $CARBON_SRC/product-releases/chunk-06/products/pom.xml
- Commented out SS in $CARBON_SRC/product-releases/chunk-06/products/pom.xml
- Run mvn
clean install
on $CARBON_SRC/product-releases/chunk-06/products/pom.xml - Run mvn
eclipse:eclipse
on $CARBON_SRC/product-releases/chunk-06/products/pom.xml
NOTE: I scripted these steps rather than manually run them. The bash script is here.
However, when I try to import the projects into eclipse, I only have the following projects as shown in the picture below.
Question: Does the number of projects imported look right? I was expecting to see a lot more imported projects.

回答1:
You want to import the all the source of the WSO2 Identity Server in to eclipse? I guess it is not much easy. Because WSO2 Identity Server is only an one product in Carbon platform. There are many components that help to build this product.. If you just see the source inside the svn that you tried. You may not find much java source code there. Java source of the actual components that builds the product, can found at under the component here.
Carbon platform consists of many features (set of OSGI component). As an example, XACML (we said it as "entitlement" ) is an one feature of WSO2 Carbon platform and it is shipped with WSO2 Identity Server. Like that there are several feature such as SSO, OAuth, WS-Trust and many more... that are shipped with Identity Server. Therefore; Say, if you are only interesting in XACML feature, you can look in to the XACML feature's source code. XACML feature is a set of four OSGI components as follows...
- org.wso2.carbon.identity.entitlement -> This is the core component.
- org.wso2.carbon.identity.entitlement.ui --> This contains the management console UI that can be seen once you login to the server.
- org.wso2.carbon.identity.entitlement.common --> This contains some common functions of both core and UI
- org.wso2.carbon.identity.entitlement.stub --> This contains auto generated stub class. This helps UI component to call the backend services.
You can search under that "components/identity/" in chuck 06, you would be able to find the source of these components.
Like that, you can find the source of the feature that you are interested. We can not find the WSO2 Identity Sever's product source from one place. However most of the source are under /platform/components/identity.
I guess this would help you to get some understand.
来源:https://stackoverflow.com/questions/21276327/building-identity-server-why-so-few-project-after-mvn-eclipseeclipse