Closed GoogleCodeExporter closed 9 years ago
Original comment by daniel.k...@gmail.com
on 19 Apr 2010 at 5:47
As for now:
main pom.xml has 2 modules:
1) betting-oracle
2) market-simulator
Modules are not inheriting configuration from main pom.xml. They are two
separate
projects. Therefore betting-oracle can be easily included (copy & paste) as a
module
in another application, for example - in real trading application.
They have the same pom.xml configuration with one exception: Betting-oracle has
additional repository and dependency for encog-java (neural networks).
Suggestion: Market-simulator will need dependency for betting-oracle in future.
Can
be added now or later. I'm leaving it up to you.
Step by step project configuration:
1. Download sourcecode:
svn checkout https://betting-ai.googlecode.com/svn/trunk/ betting-ai --username
<username>
2. In root directory "betting-ai" execute: "mvn eclipse:eclipse"
3. In eclipse import existing maven projects. Select root directory
"betting-ai".
Select all 3 pom.xml and click finnish.
This will give you 3 projects in projects explorer:
betting-ai: Use to update main pom.xml.
betting-oracle: Use to update this module.
market-simulator: Use to update this module.
Original comment by kamkor@gmail.com
on 20 Apr 2010 at 11:17
I suppose assembly and its maven configuration can be removed from
betting-oracle
module?
Original comment by kamkor@gmail.com
on 20 Apr 2010 at 11:28
Things left to do:
1) Betting-oracle and market-simulator must inherit from parent pom.xml.
2) Common dependencies, plugins, repositories must be placed in parent pom.xml.
Specify version for each dependency and plugin.
3) In modules add common dependencies and plugins that are in parent pom.xml
WITHOUT
specifying their version.
4) Specify betting-ai project version in parent pom.xml. Do not specify a
seperate
version for each module.
5) Remove maven-assembly configuration and package assembly from betting-oracle.
6) Add linux script for maven assembly in market-simulator.
Original comment by kamkor@gmail.com
on 22 Apr 2010 at 12:00
Original comment by daniel.k...@gmail.com
on 17 Jun 2010 at 4:47
All done.
Original comment by kamkor@gmail.com
on 17 Jun 2010 at 5:02
Original issue reported on code.google.com by
daniel.k...@gmail.com
on 19 Apr 2010 at 5:47