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>
>         <artifactId>maven-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]

Reply via email to