Re: Maven 3.0.3 doesn't copy metadata xml *.jdo to target during install
> Thankyou Mathew and Wayne it did copy from resources directory my point was > to have it within the src so that evry package has its corresponding jdo > files in the same place. As I stated before: >> You can also configure things in your pom file so the files are copied >> from under s/m/java but this only complicates things and is I am sure you can find what you are looking for with a little help from Google. What you want is possible but its not the recommended approach. Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Maven 3.0.3 doesn't copy metadata xml *.jdo to target during install
not the maven way... if you don't like the maven way then there is always ant - Stephen --- Sent from my Android phone, so random spelling mistakes, random nonsense words and other nonsense are a direct result of using swype to type on the screen On 7 Jun 2011 07:34, "Vivek Ganesh V.T" wrote:
Re: Maven 3.0.3 doesn't copy metadata xml *.jdo to target during install
Thankyou Mathew and Wayne it did copy from resources directory my point was to have it within the src so that evry package has its corresponding jdo files in the same place. Thanks, -Viv On Tue, Jun 7, 2011 at 3:00 AM, Wayne Fay wrote: > > maven install doesn't copy the metadata xml files to target ?? Do we need > to > > place the *.jdo files in the resources directory ?? > > By default, Maven will compile .java files under src/main/java and put > the compiled class files in the proper directory under target. And > Maven will copy files from src/main/resources directly into those same > directories under target. > > So the easiest fix is to just move those .jdo files to s/m/resources. > You can also configure things in your pom file so the files are copied > from under s/m/java but this only complicates things and is > unnecessary in most situations. > > Wayne > > - > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > >
Re: Maven 3.0.3 doesn't copy metadata xml *.jdo to target during install
> maven install doesn't copy the metadata xml files to target ?? Do we need to > place the *.jdo files in the resources directory ?? By default, Maven will compile .java files under src/main/java and put the compiled class files in the proper directory under target. And Maven will copy files from src/main/resources directly into those same directories under target. So the easiest fix is to just move those .jdo files to s/m/resources. You can also configure things in your pom file so the files are copied from under s/m/java but this only complicates things and is unnecessary in most situations. Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Maven 3.0.3 doesn't copy metadata xml *.jdo to target during install
While this is more a Maven question than a JDO one, I'd say that, yes, placing the *.jdo files in src/main/resources will guarantee that they'll be copied to the target directory properly. -matthew On Sat, Jun 4, 2011 at 2:57 PM, Vivek Ganesh V.T wrote: > Using Maven-datanuclues-plugin > > maven install doesn't copy the metadata xml files to target ?? Do we need to > place the *.jdo files in the resources directory ?? > > Current Directory Structure - > Project - > src-> main-> java-> *.java , *.jdo > > Thanks, > -Viv > -- @matthewadams12 mailto:matt...@matthewadams.me skype:matthewadams12 yahoo:matthewadams aol:matthewadams12 google-talk:matthewadam...@gmail.com msn:matt...@matthewadams.me http://matthewadams.me http://www.linkedin.com/in/matthewadams - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Maven 3.0.3 doesn't copy metadata xml *.jdo to target during install
Using Maven-datanuclues-plugin maven install doesn't copy the metadata xml files to target ?? Do we need to place the *.jdo files in the resources directory ?? Current Directory Structure - Project - > src-> main-> java-> *.java , *.jdo Thanks, -Viv