summaryrefslogtreecommitdiffstats
path: root/site/trunk/site-publish/sca-java-development.html
blob: c3df60ac713850ec58d3f56e74f36784cef1990b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML>
    <HEAD>
        <LINK type="text/css" rel="stylesheet" href="http://people.apache.org/~svkrish/tuscanySite/style/default.css">
        <LINK rel="SHORTCUT ICON" href="http://cwiki.apache.org/confluence/display/TUSCANY/$images/favicon.ico">   
        <TITLE>SCA Java Development : Apache Tuscany</TITLE>
    <META http-equiv="Content-Type" content="text/html;charset=UTF-8"></HEAD>
    
    <BODY onload="init()">
        
            <TABLE valign="top" border="0" cellspacing="0" cellpadding="0" width="100%" background="http://people.apache.org/~svkrish/tuscanySite/images/TuscanyLogoNEW_Text_120px_bg.jpg">
        <TR>
            <TD valing="top" align="left">
                <A href="http://cwiki.apache.org/confluence/pages/viewpage.action?spaceKey=TUSCANY&title=$siteroot"><IMG src="http://people.apache.org/~svkrish/tuscanySite/images/TuscanyLogo.jpg" border="0"></A>
            </TD>
            
            <TD width="100%">
                &nbsp;
            </TD>
            <!-- Adds the edit page link to the top banner-->
            <TD valign="bottom">
                <DIV style="padding: 2px 10px; margin: 0px;">
                    <A href="http://cwiki.apache.org/confluence/pages/editpage.action?pageId=47570">
                    <IMG src="http://people.apache.org/~svkrish/tuscanySite/images/notep_16.gif" height="16" width="16" border="0" align="absmiddle" title="Edit Page"></A>
                </DIV>
            </TD>

        </TR>
    </TABLE>

            <TABLE border="0" cellpadding="2" cellspacing="0" width="100%">
        <TR class="topBar">
            <TD align="left" valign="middle" class="topBarDiv" nowrap="true" width="100%">
                &nbsp;<A href="home.html" title="Apache Tuscany">Apache Tuscany</A>&nbsp;&gt;&nbsp;<A href="home.html" title="Home">Home</A>&nbsp;&gt;&nbsp;<A href="java-sca-subproject.html" title="Java SCA Subproject">Java SCA Subproject</A>&nbsp;&gt;&nbsp;<A href="" title="SCA Java Development">SCA Java Development</A>
            </TD>
            
            <TD align="left" valign="middle" class="topBarDiv" nowrap="true">
            <A href="http://mail-archives.apache.org/mod_mbox/ws-tuscany-user">User List</A> | <A href="http://mail-archives.apache.org/mod_mbox/ws-tuscany-dev">Dev List</A> | <A href="http://issues.apache.org/jira/browse/Tuscany">Issue Tracker</A>&nbsp;&nbsp;
            </TD>
        </TR>
    </TABLE>

        <TABLE border="0" cellpadding="0" width="100%" bgcolor="#FFFFFF">
            <TR>
                <TD align="left" valign="top">
                        <DIV id="PageContent">
                
        <DIV class="pagecontent">
            <DIV class="wiki-content">
                <TABLE class="sectionMacro" border="0" cellpadding="5" cellspacing="0" width="100%"><TBODY><TR><TD class="confluenceTd" valign="top" width="15%">
<DIV class="panel" style="border-style: solid; border-color: #C3CDA1; "><DIV class="panelHeader" style="border-bottom-style: solid; border-bottom-color: #C3CDA1; background-color: #C3CDA1; "><B>General</B></DIV><DIV class="panelContent" style="background-color: #ECF4D1; ">
<P><A href="home.html" title="Home">Home</A><BR>
<A href="events.html" title="Events">Events </A><BR>
<SPAN class="nobr"><A href="http://www.apache.org/licenses/LICENSE-2.0.html" title="Visit page outside Confluence" rel="nofollow">License <SUP><IMG class="rendericon" src="http://cwiki.apache.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN><BR>
<SPAN class="nobr"><A href="http://www.apache.org/" title="Visit page outside Confluence" rel="nofollow">ASF <SUP><IMG class="rendericon" src="http://cwiki.apache.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></P>
</DIV></DIV>
<DIV class="panel" style="border-style: solid; border-color: #b4b4b5; "><DIV class="panelHeader" style="border-bottom-style: solid; border-bottom-color: #b4b4b5; background-color: #C3CDA1; "><B>Community</B></DIV><DIV class="panelContent" style="background-color: #ECF4D1; ">
<P><A href="getting-involved.html" title="Getting Involved">Get Involved</A><BR>
<A href="mailing-lists.html" title="Mailing Lists">Mailing Lists</A><BR>
<A href="issue-tracking.html" title="Issue Tracking">Found a Bug?</A><BR>
<SPAN class="nobr"><A href="http://apache-tuscany.blogspot.com/" title="Visit page outside Confluence" rel="nofollow">Blog <SUP><IMG class="rendericon" src="http://cwiki.apache.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></P>
</DIV></DIV>
<DIV class="panel" style="border-style: solid; border-color: #b4b4b5; "><DIV class="panelHeader" style="border-bottom-style: solid; border-bottom-color: #b4b4b5; background-color: #C3CDA1; "><B>Tuscany SCA</B></DIV><DIV class="panelContent" style="background-color: #ECF4D1; ">
<P><A href="sca-overview.html" title="SCA Overview">SCA Overview</A><BR>
<A href="java-sca-subproject.html" title="Java SCA Subproject">SCA Java</A><BR>
<A href="sca-cpp.html" title="SCA CPP">SCA Native</A><BR>
<A href="php-sca.html" title="PHP SCA">PHP SCA</A><BR>
<A href="sca-downloads.html" title="SCA Downloads">Downloads</A></P>
</DIV></DIV>


<DIV class="panel" style="border-style: solid; border-color: #b4b4b5; "><DIV class="panelHeader" style="border-bottom-style: solid; border-bottom-color: #b4b4b5; background-color: #C3CDA1; "><B>Tuscany SDO</B></DIV><DIV class="panelContent" style="background-color: #ECF4D1; ">
<P><A href="sdo-overview.html" title="SDO Overview">SDO Overview</A><BR>
<A href="sdo-java.html" title="SDO Java">SDO Java</A><BR>
<A href="sdo-cpp.html" title="SDO CPP">SDO C+&#43;</A><BR>
<A href="sdo-downloads.html" title="SDO Downloads">Downloads</A></P>
</DIV></DIV>
<DIV class="panel" style="border-style: solid; border-color: #b4b4b5; "><DIV class="panelHeader" style="border-bottom-style: solid; border-bottom-color: #b4b4b5; background-color: #C3CDA1; "><B>Tuscany DAS</B></DIV><DIV class="panelContent" style="background-color: #ECF4D1; ">
<P><A href="das-overview.html" title="DAS Overview">DAS Overview</A><BR>
<A href="das-overview.html" title="DAS Overview">DAS types</A><BR>
<A href="das-downloads.html" title="DAS Downloads">Downloads</A></P>
</DIV></DIV></TD><TD class="confluenceTd" valign="top" width="85%">

<DIV class="panel" style="border-style: solid; border-color: #6699ff; "><DIV class="panelHeader" style="border-bottom-style: solid; border-bottom-color: #6699ff; background-color: #D5EFFF; "><B>How to get involved in development of Java SCA?</B></DIV><DIV class="panelContent" style="background-color: #ffffff; ">
<P>This document is the development guideline for SCA Java project. </P>

<UL>
	<LI><A href="#SCAJavaDevelopment-GeneralGuide" title="General Guide on SCA Java Development">General Guide</A></LI>
	<LI><A href="#SCAJavaDevelopment-GettingSource" title="Getting Source on SCA Java Development">Getting Source</A></LI>
	<LI><A href="#SCAJavaDevelopment-GettingSetup" title="Getting Setup on SCA Java Development">Getting Setup For Development</A>
	<UL>
		<LI>Prerequisite</LI>
		<LI>Building</LI>
	</UL>
	</LI>
	<LI><A href="#SCAJavaDevelopment-CodingGuidelines" title="Coding Guidelines on SCA Java Development">Coding Guidelines</A></LI>
	<LI><A href="#SCAJavaDevelopment-Testing" title="Testing on SCA Java Development">Testing</A></LI>
	<LI><A href="#SCAJavaDevelopment-MavenBuildStructure" title="Maven Build Structure on SCA Java Development">Maven Build Structure</A></LI>
</UL>



<P><BR clear="all">
&nbsp;</P>
</DIV></DIV>

<H3><A name="SCAJavaDevelopment-"></A><A name="SCAJavaDevelopment-GeneralGuide"></A><FONT color="#0099cc">General Guide</FONT></H3>

<P>Welcome to the Tuscany SCA Java subproject project. We look forward to your participation and try to help you get on board. Feel free to ask your questions on the mailing list.</P>

<P>Here are some general guidelines we use in this project.</P>
<UL>
	<LI>Java SCA sub-project aims to provide enterprise-grade service infrastructure based on SCA.</LI>
	<LI>Tuscany SCA is not just a reference implementation. We encourage innovation based on the tenets of SCA. A lot of work we do provides feedback to the specifications.</LI>
	<LI>The Java SCA infrastructure should provide flexibility and choice. It should not dictate programming models but support many.</LI>
	<LI>The Java SCA infrastructure is very modularized and is designed to be highly extensible so users can customize it to fit their needs.</LI>
</UL>


<H3><A name="SCAJavaDevelopment-"></A><A name="SCAJavaDevelopment-GettingSource"></A><FONT color="#0099cc">Getting Source</FONT></H3>

<P>The Java SCA project Subversion repository is located at <SPAN class="nobr"><A href="https://svn.apache.org/repos/asf/incubator/tuscany/java/sca" title="Visit page outside Confluence" rel="nofollow">https://svn.apache.org/repos/asf/incubator/tuscany/java/sca<SUP><IMG class="rendericon" src="http://cwiki.apache.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN>.<BR>
The repository can also be viewed online at <SPAN class="nobr"><A href="http://svn.apache.org/viewvc/incubator/tuscany/java/" title="Visit page outside Confluence" rel="nofollow">http://svn.apache.org/viewvc/incubator/tuscany/java/<SUP><IMG class="rendericon" src="http://cwiki.apache.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></P>

<P>Anyone can check code out of Subversion. You only need to specify a username and password in order to update the Subversion repository, and only Tuscany committers have the permissions to do so.</P>

<H4><A name="SCAJavaDevelopment-CheckingoutcodefromSubversion"></A>Checking out code from Subversion</H4>

<P>Use the command as follows (note that it uses http scheme so if you're a committer change it to https):</P>
<DIV class="code"><DIV class="codeContent">
<PRE class="code-java">svn checkout http:<SPAN class="code-comment">//svn.apache.org/repos/asf/incubator/tuscany/java/sca</SPAN></PRE>
</DIV></DIV>

<H4><A name="SCAJavaDevelopment-CommittingChangestoSubversion"></A>Committing Changes to Subversion</H4>

<P>Any Tuscany committer should have a shell account on svn.apache.org. Before you can commit, you'll need to set a Subversion password for yourself. To do that, log in to svn.apache.org and run the command svnpasswd.</P>

<P>Once your password is set, you can use a command like this to commit:</P>
<DIV class="code"><DIV class="codeContent">
<PRE class="code-java">svn commit</PRE>
</DIV></DIV>
<P>If Subversion can't figure out your username, you can tell it explicitly:</P>
<DIV class="code"><DIV class="codeContent">
<PRE class="code-java">svn --username &lt;name&gt; commit</PRE>
</DIV></DIV>
<P>Subversion will prompt you for a password, and once you've entered it, it will remember it for you. Note this is the password you configured with svnpasswd not your shell or other password.</P>

<H3><A name="SCAJavaDevelopment-"></A><A name="SCAJavaDevelopment-GettingSetup"></A><FONT color="#0099cc">Getting Setup For Development</FONT></H3>


<H4><A name="SCAJavaDevelopment-Prerequisites"></A>Prerequisites</H4>

<P>Java SCA requires the following:</P>
<UL>
	<LI><SPAN class="nobr"><A href="http://java.sun.com/j2se/1.5.0" title="Visit page outside Confluence" rel="nofollow">JDK 5.0&#43; (J2SE 1.5.0+)<SUP><IMG class="rendericon" src="http://cwiki.apache.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
	<LI><SPAN class="nobr"><A href="http://maven.apache.org/" title="Visit page outside Confluence" rel="nofollow">Apache Maven (2.0.4+)<SUP><IMG class="rendericon" src="http://cwiki.apache.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
	<LI><SPAN class="nobr"><A href="http://subversion.tigris.org/" title="Visit page outside Confluence" rel="nofollow">Subversion (1.2+)<SUP><IMG class="rendericon" src="http://cwiki.apache.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
</UL>


<H4><A name="SCAJavaDevelopment-Buildtreestructure"></A>Build tree structure</H4>

<P>The build tree is designed to facilitate modular development and releases. Maven modules are grouped by how they are released under an hierarchy. For example, all kernel-related modules are grouped under the 'kernel' module.</P>

<P>The individual modules can be built separately or build with top-down build.</P>

<H4><A name="SCAJavaDevelopment-topdownbuild"></A>top-down build</H4>
<P><B>recommended approach</B></P>

<P>Check out all of the java source code.</P>
<DIV class="code"><DIV class="codeContent">
<PRE class="code-java">svn checkout https:<SPAN class="code-comment">//svn.apache.org/repos/asf/incubator/tuscany/java</SPAN></PRE>
</DIV></DIV>
<P>Building the SCA source code is simple</P>
<DIV class="code"><DIV class="codeContent">
<PRE class="code-java">cd java/sca
mvn</PRE>
</DIV></DIV>
<P>It should work even if you start with an empty Maven local repository, and it should always work. This assumes that maven is able to retrieve a SNAPSHOT version of SDO (and of course the rest of software that SCA depends on) as we haven't built anything other than SCA here.</P>

<P><IMG class="emoticon" src="http://cwiki.apache.org/confluence/images/icons/emoticons/lightbulb_on.gif" height="16" width="16" align="absmiddle" alt="" border="0"> There can be occasional problems downloading artifacts from remote Maven repositories so if mvn fails with network related sounding messages sometimes just trying again can fix the problem.</P>

<H4><A name="SCAJavaDevelopment-Buildingindividualmodules"></A>Building individual modules</H4>

<P><IMG class="emoticon" src="http://cwiki.apache.org/confluence/images/icons/emoticons/help_16.gif" height="16" width="16" align="absmiddle" alt="" border="0"> This section needs to be updated. We still have the ability to build modules.</P>

<P>To build individual modules, please see the specific instructions for each top-level module.</P>

<P>The build tree contains the following 'top-level' modules:</P>

<P><B>kernel</B><BR>
Contains the modules that make up the Java SCA foundation, including:</P>
<UL>
	<LI><EM>api</EM> &#45; Contains the Java SCA proprietary programming model APIs</LI>
	<LI><EM>host_api</EM> &#45; Contains APIs for interacting with the kernel</LI>
	<LI><EM>spi</EM> &#45; Defines kernel extension points. Includes interfaces and abstract extension classes.</LI>
	<LI><EM>core</EM> &#45; The kernel implementation</LI>
</UL>


<P>Kernel may be checked out and built independently from the other modules such as extensions.</P>

<P>To checkout kernel, do:</P>
<DIV class="code"><DIV class="codeContent">
<PRE class="code-java">svn checkout https:<SPAN class="code-comment">//svn.apache.org/repos/asf/incubator/tuscany/java/sca/kernel</SPAN></PRE>
</DIV></DIV>
<P>To build kernel, do:</P>
<DIV class="code"><DIV class="codeContent">
<PRE class="code-java">mvn</PRE>
</DIV></DIV>
<P>Note that <TT>mvn &#45;o</TT> may be used once all kernel dependencies have been downloaded</P>

<P><B>runtime</B><BR>
Contains modules for deploying Java SCA to various runtimes, e.g. in a Servlet Container or as a standalone runtime:</P>
<UL>
	<LI><EM>itest</EM> &#45; modules for embedding Java SCA in Maven as an iTest Plugin. Used for integration testing.</LI>
	<LI><EM>standalone</EM> &#45; modules for deploying Java SCA as a standalone container</LI>
	<LI><EM>services</EM> &#45; various runtime services such as JMX</LI>
	<LI><EM>webapp</EM> &#45; modules for embedding Java SCA in a Servlet container</LI>
</UL>


<P>To checkout runtime, do:</P>
<DIV class="code"><DIV class="codeContent">
<PRE class="code-java">svn checkout https:<SPAN class="code-comment">//svn.apache.org/repos/asf/incubator/tuscany/java/sca/runtime</SPAN></PRE>
</DIV></DIV>
<P>The runtime modules may be built together or independently as sub-modules using the <TT>mvn</TT> command.</P>

<P><B>extensions</B><BR>
Contains kernel extensions such as bindings for transport protocols, component implementation types to enable the use of alternative programming models, etc. Each extension sub-module builds independently.</P>

<P><B>services</B><BR>
Contains kernel extensions that provide specific services such as persistence for core runtime operations. Each sub-module builds independently.</P>

<H3><A name="SCAJavaDevelopment-"></A><A name="SCAJavaDevelopment-CodingGuidelines"></A><FONT color="#0099cc">Coding Guidelines</FONT></H3>

<P>There are a few simple guidelines when developing for JAVA SCA:</P>
<UL>
	<LI>Formatting standards are defined by the .checkstyle and .pmd configurations in the source repository. Please be sure to check code is formatted properly before doing a checkin (see below). If you are unfamiliar with Checkstyle or PMD, please see <SPAN class="nobr"><A href="http://checkstyle.sourceforge.net/" title="Visit page outside Confluence" rel="nofollow">http://checkstyle.sourceforge.net/<SUP><IMG class="rendericon" src="http://cwiki.apache.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN> and <SPAN class="nobr"><A href="http://pmd.sourceforge.net/" title="Visit page outside Confluence" rel="nofollow">http://pmd.sourceforge.net/<SUP><IMG class="rendericon" src="http://cwiki.apache.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN>. Consistent formatting makes it easier for others to follow and allows diffs to work properly.</LI>
</UL>


<UL>
	<LI>Always include the Apache License Headers on all files and the following version tag:</LI>
</UL>


<DIV class="code"><DIV class="codeContent">
<PRE class="code-java">@version $Rev$ $Date$</PRE>
</DIV></DIV>
<UL>
	<LI>Please attempt to accompanied code with at least unit tests or verify it by existing tests before submitting a patch or checking in.</LI>
</UL>


<UL>
	<LI>Do not checkin IDE-specific resources such as project files.</LI>
</UL>


<UL>
	<LI>Prior to check-in, perform a clean build and run the complete battery of unit tests for the current module <B>from the command line</B> with Checkstyle enabled, as in:</LI>
</UL>


<DIV class="code"><DIV class="codeContent">
<PRE class="code-java">mvn clean
mvn -o -Psourcecheck</PRE>
</DIV></DIV>
<UL>
	<LI>Please do not perform a checkin using an IDE as doing so is frequently problematic.</LI>
</UL>


<UL>
	<LI>Include a descriptive log message for checkins, for example &quot;fixed such and such problem&quot;.</LI>
</UL>


<H4><A name="SCAJavaDevelopment-Namingconventionstoincreaseconsistency"></A>Naming conventions to increase consistency</H4>

<P><B>Folder Names:</B> Please use all lowercases and dashes in folder names (like in the jar names)</P>
<UL class="alternate" type="square">
	<LI>Maven artifact id = tuscany-&lt;folder name&gt;</LI>
</UL>


<P><B>Package names:</B> Package names within modules should include the module name so that source code can be located in the source tree easily. So, for example, java/sca/module/implementation-java would be in package structure org.apache.tuscany.implementation.java.&#42;</P>

<H3><A name="SCAJavaDevelopment-"></A><A name="SCAJavaDevelopment-Testing"></A><FONT color="#0099cc">Testing</FONT></H3>

<P><IMG class="emoticon" src="http://cwiki.apache.org/confluence/images/icons/emoticons/help_16.gif" height="16" width="16" align="absmiddle" alt="" border="0"> This section seems to be outdated since integration tests can also be done without maven integration test plugin</P>

<P>It is expected checkins always be accompanied by unit test and integration tests when appropriate. Unit tests should verify specific behavior relating to a single class or small set of related classes; integration tests verify code paths across subsystems. Testcases should be documented and clearly indicate what they verify. Also, avoid things that may cause side-effects when possible such as access of external resources.</P>

<P>We encourage and follow <EM>continuous integration</EM>. Martin Fowler has a concise write-up <SPAN class="nobr"><A href="http://www.martinfowler.com/articles/continuousIntegration.html" title="Visit page outside Confluence" rel="nofollow">here<SUP><IMG class="rendericon" src="http://cwiki.apache.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></P>

<P>We have found <SPAN class="nobr"><A href="http://www.easymock.org/" title="Visit page outside Confluence" rel="nofollow">EasyMock<SUP><IMG class="rendericon" src="http://cwiki.apache.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN> extremely useful for unit testing and have standardized on it.</P>

<P>When writing integration tests, use the <A href="maven-plugins.html" title="Maven Plugins">Maven Integration Test Plugin</A></P>

<H3><A name="SCAJavaDevelopment-"></A><A name="SCAJavaDevelopment-MavenBuildStructure"></A><FONT color="#0099cc">Maven Build Structure</FONT></H3>

<P><EM>We use the term Module to refer to the leaf of maven tree.</EM></P>
<UL>
	<LI>sca/pom.xml's parent will be pom/parent/pom.xml</LI>
	<LI>Other poms will use the pom from the parent folder as parent pom</LI>
	<LI>Group ids:<BR>
 org.apache.tuscany.sca<BR>
 org.apache.tuscany.sca.samples,<BR>
 org.apache.tuscan.sca.itest</LI>
	<LI>Version of our modules will be specified once in java/sca/pom.xml, child poms don't need specify a version as they get it from their parent</LI>
	<LI>pom names begin Apache Tuscany SCA</LI>
	<LI>Eclipse projects are generated for all built modules using mvn &#45;Peclipse eclipse:eclipse</LI>
</UL>


<H4><A name="SCAJavaDevelopment-Addinganewmoduleandnotreadytointegrate%3F"></A>Adding a new module and not ready to integrate?</H4>

<P>'work-in-progress' modules can be worked on in the same source tree and yet not break the top-down build. You can do this by not listing your module(s) in java/sca/modules/pom.xml.</P>

<P></P>
</TD></TR></TBODY></TABLE>
            </DIV>
        </DIV>
    </DIV>
                </TD>
            </TR>
        </TABLE>

            <DIV class="footer">
        Copyright &copy; 2003-2007, The Apache Software Foundation&nbsp;&nbsp;
    </DIV>

    </BODY>
</HTML>