You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Aleksei Valikov <va...@gmx.net> on 2006/10/12 10:42:50 UTC

JPOX and Maven2

Hi folks,

Does anyone use JPOX with Maven2?
Which enhancer plugin do you use?

Bye.
/lexi

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: JPOX and Maven2

Posted by Aleksei Valikov <va...@gmx.net>.
Hi.

> What do you need to put in your pom.xml to allow for Automated 
> Enhancement ?

I've attached my pom.xml.

The whole example could be found here:

https://hyperjaxb3.dev.java.net/source/browse/hyperjaxb3/jdo/sample-hotel/

Bye.
/lexi

Re: JPOX and Maven2

Posted by Stephen More <st...@gmail.com>.
What do you need to put in your pom.xml to allow for Automated Enhancement ?

-Thanks
Steve More

On 10/12/06, Aleksei Valikov <va...@gmx.net> wrote:
> Hi.
>
> > As I can see (1) , the last maven plugin is using jpox 1.1.1 .
> >
> > Stéphane.
> >
> > (1) *http://mojo.codehaus.org/jpox-maven-plugin/dependencies.html
>
> Thanks, I've also found it.
> I was a bit discouraged by "JPOX supports Maven1, Maven2 is not supported"
> statement on the JPOX site.
>
> I've now the "hotel" sample running on Maven2.
> Pretty nice. ;)
>
> Thanks again.
>
> Bye.
> /lexi
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: JPOX and Maven2

Posted by Aleksei Valikov <va...@gmx.net>.
Hi.

> As I can see (1) , the last maven plugin is using jpox 1.1.1 .
> 
> Stéphane.
> 
> (1) *http://mojo.codehaus.org/jpox-maven-plugin/dependencies.html

Thanks, I've also found it.
I was a bit discouraged by "JPOX supports Maven1, Maven2 is not supported" 
statement on the JPOX site.

I've now the "hotel" sample running on Maven2.
Pretty nice. ;)

Thanks again.

Bye.
/lexi

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: JPOX and Maven2

Posted by Stéphane Bouchet <st...@knowesia.fr>.
As I can see (1) , the last maven plugin is using jpox 1.1.1 .

Stéphane.

(1) *http://mojo.codehaus.org/jpox-maven-plugin/dependencies.html

*

Aleksei Valikov a écrit :
> Hi folks,
>
> Does anyone use JPOX with Maven2?
> Which enhancer plugin do you use?
>
> Bye.
> /lexi
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: JPOX and Maven2

Posted by Aleksei Valikov <va...@gmx.net>.
Hi.

> You can look at Continuum for an example:
> 
> http://svn.apache.org/repos/asf/maven/continuum/trunk/continuum-model/pom.xml 

Thanks, I've also found that plugin.
Works pretty neat.

Bye.
/lexi



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: JPOX and Maven2

Posted by Aleksei Valikov <va...@gmx.net>.
Hi.

> It is currently placed in src/main/resources.
> 
> It will get copied over only once. If I make a change, then I am
> forcing it by running mvn clean, then a mvn test.
> 
> I would prefer to just edit package.jdo then mvn test.

Sorry, can't reproduce.
In my case mvn test copies the new package.jdo. I have maven 2.0.4 and all the 
plugin are up-to-date.

Bye.
/lexi

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: JPOX and Maven2

Posted by Stephen More <st...@gmail.com>.
It is currently placed in src/main/resources.

It will get copied over only once. If I make a change, then I am
forcing it by running mvn clean, then a mvn test.

I would prefer to just edit package.jdo then mvn test.

-Steve More

On 10/12/06, Aleksei Valikov <va...@gmx.net> wrote:
> Hi.
>
> >    It seems that when I make changes to package.jdo in the src
> > directory, it is not being copied over to the target directory. Is
> > there a way I can force it to copy over ?
>
> Is package.jdo placed in src/main/java or src/main/resources? Should be placed
> in latter.
>
> Bye.
> /lexi
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: JPOX and Maven2

Posted by Aleksei Valikov <va...@gmx.net>.
Hi.

>    It seems that when I make changes to package.jdo in the src
> directory, it is not being copied over to the target directory. Is
> there a way I can force it to copy over ?

Is package.jdo placed in src/main/java or src/main/resources? Should be placed 
in latter.

Bye.
/lexi

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: JPOX and Maven2

Posted by Stephen More <st...@gmail.com>.
Thanks.
    It seems that when I make changes to package.jdo in the src
directory, it is not being copied over to the target directory. Is
there a way I can force it to copy over ?

-Steve More


On 10/12/06, Jason van Zyl <ja...@maven.org> wrote:
> You can look at Continuum for an example:
>
> http://svn.apache.org/repos/asf/maven/continuum/trunk/continuum-model/
> pom.xml

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: JPOX and Maven2

Posted by Jason van Zyl <ja...@maven.org>.
You can look at Continuum for an example:

http://svn.apache.org/repos/asf/maven/continuum/trunk/continuum-model/ 
pom.xml

Thanks,

Jason.


On 12 Oct 06, at 3:42 AM 12 Oct 06, Aleksei Valikov wrote:

> Hi folks,
>
> Does anyone use JPOX with Maven2?
> Which enhancer plugin do you use?
>
> Bye.
> /lexi
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org