Hello again...
I have changed my pom.xml file according to your instructions.
Today my pom.xml looks like the following (below):
<?xml version="1.0" encoding="ISO-8859-1"?>
<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<artifactId>metria-base</artifactId>
<groupId>com.metria</groupId>
<version>1.13</version>
</parent>
<groupId>com.metria.test</groupId>
<artifactId>JAXX</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>JAXX prototyp projekt</name>
<dependencies>
<dependency>
<groupId>org.mongodb</groupId>
<artifactId>mongo-java-driver</artifactId>
<version>2.1</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>net.sf.opencsv</groupId>
<artifactId>opencsv</artifactId>
<version>2.1</version>
</dependency>
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
<version>1.1.1</version>
</dependency>
<dependency>
<groupId>org.nuiton.jaxx</groupId>
<artifactId>maven-jaxx-plugin</artifactId>
<version>2.2.3</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.nuiton.jaxx</groupId>
<artifactId>maven-jaxx-plugin</artifactId>
<version>2.2.3</version>
<configuration>
<generateHelp>true</generateHelp>
<locales>en</locales>
</configuration>
<executions>
<execution>
<goals>
<goal>generate</goal>
</goals>
</execution>
</executions>
</
plugin>
</plugins>
</build>
</
project>
........I get the following error message when running "mvn clean install" inside Eclipse IDE.
"Aborting due to errors reported by jaxxc"
"Internal error in the plugin manager executing goal 'org.nuiton.jaxx:maven-jaxx-plugin:2.2.3:generate': Mojo execution failed."
Is there something wrong here, should I have configured differently, or is there a specific order in which you must
run the program.....(ps. I have attached the project structure in Eclipse so you
maybe can take a look at it and tell me if I should do something differently..). But if you need additional
information just inform me and I will make it as detailed as possible ofcourse...
..Once again thanks for you effort and suggestions...
> Date: Mon, 15 Nov 2010 14:59:24 +0100
> From: chatellier@codelutin.com
> To: jaxx-users@list.nuiton.org
> Subject: Re: [Jaxx-users] JAXX beginner - help !
>
> Le 11/11/2010 12:53, Daone a écrit :
> > Hi !
> >
> > The thing is that in my current situation I have no
> > idea on how to use/write goals in Maven inside
> > Eclipse to make my JAXX-files to be compiled..because
> > I cannot find anywhere some manual on how to do that...Ledsen
> > Is there something wrong with my pom.xml file perhaps
> > or something else...if you need additional information I
> > can say that I have jaxx-maven-2.2.2 plugin...for my
> > pom.xml file in Maven project....if you need I could send
> > you the file if this would help to gain better understanding
> > on my issue......
> >
> > any help is truly appreciated...
>
> Hi,
>
> You need to add this in your pom build section :
> <plugin>
> <groupId>org.nuiton.jaxx</groupId>
> <artifactId>maven-jaxx-plugin</artifactId>
> <version>2.2.3</version>
> <configuration>
> <generateHelp>active</generateHelp>
> <locales>en</locales>
> </configuration>
> <executions>
> <execution>
> <goals>
> <goal>generate</goal>
> </goals>
> </execution>
> </executions>
> </plugin>
>
> This should generate java files simply running command
> "mvn clean install"
>
> If it is working, but eclipee don't undertand files in
> target/generated/java directory, just add it to eclipse
> classpath using context menu :
> "Build path > Use as source folder"
>
> --
> Éric <chatellier@codelutin.com>
> Tel: 02 40 50 29 28
> http://www.codelutin.com
>
> _______________________________________________
> Jaxx-users mailing list
> Jaxx-users@list.nuiton.org
> http://list.nuiton.org/cgi-bin/mailman/listinfo/jaxx-users