Re: maven2 pom help

2008-04-08 Thread Martin Höller
On Monday 07 April 2008 Wayne Fay wrote:
 Start over from scratch. Put all Java source files in main/src/java.
 You do not need to configure the jar plugin.

Sorry to correct you Wayne, but it's not main/src/java but src/main/java.

hth,
- martin


signature.asc
Description: This is a digitally signed message part.


Re: maven2 pom help

2008-04-08 Thread Wayne Fay
Thanks for that Martin, and no need to say sorry! I am human just like
anyone and certainly make my share of mistakes.

Wayne

On 4/8/08, Martin Höller [EMAIL PROTECTED] wrote:
 On Monday 07 April 2008 Wayne Fay wrote:
  Start over from scratch. Put all Java source files in main/src/java.
  You do not need to configure the jar plugin.

 Sorry to correct you Wayne, but it's not main/src/java but src/main/java.

 hth,
 - martin



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



maven2 pom help

2008-04-07 Thread Urooj Khan
hi guys

i'm very very new at this and i am having a bit of a problem getting things
off the ground..

i'm just trying to create jar using maven2 and this is what i have in the
build section

  build
plugins
  plugin
artifactIdmaven-jar-plugin/artifactId
configuration
includes
include**/src/*/include
/includes
/configuration
  /plugin
/plugins
  sourceDirectory${basedir}/src/*.*/sourceDirectory
  /build


unfortunately..this is not including all the classes that it should in the
jar...
i have a .java file in the directory /src and then i have a whole bunch
under /src/ca/java

i would really appreciate some guidance here...

thanks
-- 
Urooj Khan


Re: maven2 pom help

2008-04-07 Thread Wayne Fay
Start over from scratch. Put all Java source files in main/src/java.
You do not need to configure the jar plugin.

If you cannot restructure your project, you will make things WAY
harder than they need to be. So from my perspective, this is not an
option for a new user. Restructure your project, make it work, then
worry about changing the source directory layout if it is absolutely
necessary.

Wayne

On 4/7/08, Urooj Khan [EMAIL PROTECTED] wrote:
 hi guys

 i'm very very new at this and i am having a bit of a problem getting things
 off the ground..

 i'm just trying to create jar using maven2 and this is what i have in the
 build section

   build
 plugins
   plugin
 artifactIdmaven-jar-plugin/artifactId
 configuration
 includes
 include**/src/*/include
 /includes
 /configuration
   /plugin
 /plugins
   sourceDirectory${basedir}/src/*.*/sourceDirectory
   /build


 unfortunately..this is not including all the classes that it should in the
 jar...
 i have a .java file in the directory /src and then i have a whole bunch
 under /src/ca/java

 i would really appreciate some guidance here...

 thanks
 --
 Urooj Khan


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]