Hi Routis, Thanks for the Maven2 project descriptors. They both work great for me!! (tried both on win2k and linux platform)
I agree that we need to upgrade our build tool. For a smooth migration phase, I would like to have both versions co-exist for some period before we take way Maven1 support. I will commit these into the source repository and thanks again for the contribution! Cheers, Rong babisr at yahoo.com wrote: > Since many developers are using Maven2 instead of > Maven1, I would to propose the adoption of Maven2 as > the build tool of the reference kernel implementation > in java. > > I am attaching two basic Maven2 project descriptors > for the kernel and the adl_parser, that can replace > the relevant Maven1 project descriptors and property > files. > > The file "pom-for-libraries.xml" has to be copied into > "libraries" directory and renamed to "pom.xml". > > The file "pom-for-adl_parser.xml" has to be copied > into "components/adl_parser" directory and renamed to > "pom.xml". > > > > > > > > ___________________________________________________________ > ???????????????????????????? Yahoo!; > ???????????????????? ???? ???????????????????? ???????????????? (spam); ???? > Yahoo! Mail > ???????????????? ?????? ???????????????? ???????????? ?????????????????? > ???????? ?????? ?????????????????????? > ?????????????????? http://login.yahoo.com/config/mail?.intl=gr > > ------------------------------------------------------------------------ > > <project xmlns="http://maven.apache.org/POM/4.0.0" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 > http://maven.apache.org/maven-v4_0_0.xsd"> > > <modelVersion>4.0.0</modelVersion> > <groupId>openehr</groupId> > <artifactId>openehr-kernel</artifactId> > <packaging>jar</packaging> > <version>1.2.5-SNAPSHOT</version> > <name>openEHR Java Kernel</name> > <url>http://svn.openehr.org/ref_impl_java/TRUNK/project_page.htm</url> > > <organization> > <name>openEHR</name> > <url>http://www.openehr.org/</url> > </organization> > <inceptionYear>2004</inceptionYear> > > <description>Java implementation of openEHR Kernel</description> > > <developers> > <developer> > <name>Rong Chen</name> > <id>rong</id> > <email>rong at acode.se</email> > <organization>Acode HB</organization> > </developer> > <developer> > <name>Goran Pestana</name> > <id>goran</id> > <email>goran at acode.se</email> > <organization>Acode HB</organization> > </developer> > </developers> > > <build> > <sourceDirectory>src/java</sourceDirectory> > <testSourceDirectory>src/test</testSourceDirectory> > <testResources> > <testResource> > <directory>conf</directory> > </testResource> > </testResources> > <plugins> > <!-- Define JDK 1.5 compatibility --> > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-compiler-plugin</artifactId> > <configuration> > <source>1.5</source> > <target>1.5</target> > </configuration> > </plugin> > </plugins> > </build> > > <dependencies> > <dependency> > <groupId>commons-lang</groupId> > <artifactId>commons-lang</artifactId> > <version>2.0</version> > </dependency> > <dependency> > <groupId>log4j</groupId> > <artifactId>log4j</artifactId> > <version>1.2.8</version> > </dependency> > <dependency> > <groupId>junit</groupId> > <artifactId>junit</artifactId> > <version>[3.7,)</version> > <scope>test</scope> > </dependency> > </dependencies> > </project> > > ------------------------------------------------------------------------ > > <project xmlns="http://maven.apache.org/POM/4.0.0" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 > http://maven.apache.org/maven-v4_0_0.xsd"> > > <modelVersion>4.0.0</modelVersion> > <groupId>acode</groupId> > <artifactId>adl-parser</artifactId> > <packaging>jar</packaging> > <version>1.0.2-SNAPSHOT</version> > <name>java ADL Parser</name> > <url>http://svn.openehr.org/ref_impl_java/TRUNK/project_page.htm</url> > > <organization> > <name>openEHR</name> > <url>http://www.openehr.org/</url> > </organization> > <inceptionYear>2004</inceptionYear> > > <description>java ADL Parser</description> > > <developers> > <developer> > <name>Rong Chen</name> > <id>rong</id> > <email>rong at acode.se</email> > <organization>Acode HB</organization> > </developer> > <developer> > <name>Goran Pestana</name> > <id>goran</id> > <email>goran at acode.se</email> > <organization>Acode HB</organization> > </developer> > </developers> > > <build> > <sourceDirectory>src/java</sourceDirectory> > <testSourceDirectory>src/test</testSourceDirectory> > <testResources> > <testResource> > <directory>conf</directory> > </testResource> > </testResources> > <plugins> > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-compiler-plugin</artifactId> > <configuration> > <source>1.5</source> > <target>1.5</target> > </configuration> > </plugin> > <plugin> > <groupId>org.codehaus.mojo</groupId> > <artifactId>javacc-maven-plugin</artifactId> > <configuration> > <sourceDirectory>src/javacc</sourceDirectory> > <packageName>se.acode.openehr.parser</packageName> > </configuration> > <executions> > <execution> > <goals> > <goal>javacc</goal> > </goals> > </execution> > </executions> > </plugin> > </plugins> > </build> > > <dependencies> > <dependency> > <groupId>openehr</groupId> > <artifactId>openehr-kernel</artifactId> > <version>1.2.5-SNAPSHOT</version> > </dependency> > <dependency> > <groupId>commons-collections</groupId> > <artifactId>commons-collections</artifactId> > <version>2.1</version> > </dependency> > <dependency> > <groupId>junit</groupId> > <artifactId>junit</artifactId> > <version>[3.7,)</version> > <scope>test</scope> > </dependency> > </dependencies> > </project> >

