Okay. Then you can jar up the classes as told by Simon and
install/deploy(look for command mvn install:install-file... or mvn
deploy:deploy-file...) them to your repository. There are few jar files
which are not outcome of maven projects but yet we are using at out place.
This seems to be the simplest of the options.

On Tue, Mar 4, 2008 at 4:58 PM, <[EMAIL PROTECTED]> wrote:

> Oh sorry,
>
> I meant to include some .class files from some other projects
> which are not maven projects and they can not be easily installed
> as maven packages. I think it would be possible to use ant plugin but it
> should
> be something much simpler I guess?
>
> Thanks
>
>
> Quoting amit kumar <[EMAIL PROTECTED]>:
>
> > I had concept/misconception that target/classes gets added to the
> classpath
> > by maven as default?
> >
> > Are you dealing with generated sources?
> >
> > Regards,
> > Amit
> >
> > On Tue, Mar 4, 2008 at 4:34 PM, <[EMAIL PROTECTED]> wrote:
> >
> > >
> > > Hi everybody,
> > >
> > > I'm new to maven. I have a simple question that I can't find an answer
> > > anywhere:
> > > I want to include additional classes in the classpath while compiling
> my
> > > project
> > > but I can't find any
> > > obvious solution for this.
> > >
> > > - The classes I want to include can not be installed in a maven
> repository
> > > - I tried the compiler plugin by adding
> > >           <fork>true</fork>
> > >                <compilerArguments>
> > >                        <classpath>myDic/classes</classpath>
> > >                </compilerArguments>
> > > but this doesn't seem to work.
> > >
> > > Any suggestions?
> > > Thanks
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to