Red Piranha Open Source Project
From Kb
Contact Article Author | Blog of Article Author | FirstPartners.net Home | LinkedIn profile of Author
Contents |
Enterprise Web 2 Book
What is this?
This an in progress draft of 'Financial knowledge capture using Rules , Workflow, Search and Enterprise Web 2.0', complimenting the latest version of the Red-Piranha Open Software project.
Chapters
In Progress
Chapter 1 - Introduction - notes
Chapter 2 - Problem Domain - good draft
Chapter 3 - Red - Piranha Framework - good draft
Chapter 4 - Technical Overview - draft
Chapter 5 - Financial Workflow - draft
Chapter 6 - Financial Calculator and Business Rules - draft
Chapter 7 - Adaptive Search - good draft
Chapter 8 - Future Work and Conclusion - notes
Chapter 9 - Appendices - notes
See Also
Project Notes - In Progress
Build Notes
Technical Notes - creating the original project
mvn archetype:create -DgroupId=net.firstpartners.rp -DartifactId=rp-core -DarchetypeArtifactId=maven-archetype-quickstart mvn archetype:create -DgroupId=net.firstpartners.rp -DartifactId=rp-adaptive-search -DarchetypeArtifactId=maven-archetype-webapp mvn archetype:create -DgroupId=net.firstpartners.rp -DartifactId=rp-simple-search -DarchetypeArtifactId=maven-archetype-webapp mvn archetype:create -DgroupId=net.firstpartners.rp -DartifactId=rp-calc -DarchetypeArtifactId=maven-archetype-webapp mvn archetype:create -DgroupId=net.firstpartners.rp -DartifactId=rp-flow -DarchetypeArtifactId=maven-archetype-webapp
Setting to Java version to 5 in the main pom
Under the project tag...
<build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>2.0</version> <configuration> <source>1.5</srce> <target>1.5</target> </configuration> </plugin> </plugins> </build>
Sample of how to get the Enterprise Java API (Spec) via Maven
Problem: Sun does not allow you to redistribute the Enterprise Java API via maven. Solution: Use the equivalent that the nice folks at Apache Geronimo have built instead.
<dependency> <groupId>org.apache.geronimo.specs</groupId> <artifactId>geronimo-j2ee_1.4_spec</artifactId> <version>1.0</version> <scope>provided</Ensuring Maven can locate the most up to date Maven Repositories
Add the following just under the project node of the main (or sub) pom.xml. This is because JBoss tends to publish to their own repository , not the standard Maven ones.
<repositories> <repository> <id>central</id> <url>http://repo1.maven.org/maven2</url> </repository> <repository> <id>appfuse</id> <url>http://static.appfuse.org/repository</url> </repository> <repository> <id>iBiblio</id> <url>http://www.ibiblio.org/maven/</url> </repository> <repository> <id>JBoss</id> <url>http://repository.jboss.com/maven2/</url> </repository> <repository> <id>CodeHaus</id> <url>http://dist.codehaus.org/mule/dependencies/maven2/</url> </repository> </repositories>

