Hmm i didn't know that it could also map generated-sources as source folders.
This could come in handy.  But that still won't handle all my problems.  I
also have to refer to a couple of projects (on different scm systems) that
aren't maven projects.
Maven would depend on a deployed binary version and in eclipse refer to the
eclipse project. And i know it's a mess but porting it to isn't an option.
Management won't let me cause lots of other teams rely on these projects.
So I would like to spare my team the problem of also mapping these projects
every time dependencies change.  Which is a lot. Since lots of version are
deployed.

So this maven-dependency-plugin seams interesting but i can't get i to work.
It doesn't download any sources.  Anyone have any idea.  I use this 
configuration.

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-dependency-plugin</artifactId>
                <executions>
                        <execution>
                                <goals><goal>sources</goal></goals>
                        </execution>
                </executions>
                <configuration>

                </configuration>
      </plugin>

I tried them with these options but no deal. It doesn't work.

                  <silent>false</silent>
                  <classifier>sources</classifier>
                  <includeGroupIds>com.agfa.hap.bpe.basic</includeGroupIds>

Anyone tried this before ????

> I also try to limit maven knoledge requirement in my development team.
> We only use [svn checkout] + [mvn eclipse:eclipse] + [import existing
> projects into wrokspace].
> This is the only thing required by developpers to get the project configured
> in eclipse.
> They code/test in eclipse and package all using mvn install from the root
> folder.
>
> I don't really understand your requirement. Eclipse plugin handles generated
> source folders as well as they follow maven conventions
> (target/generated-sources/xxx). I'd suggest to align your build with those
> maven conventions and you will get a fully eclipse compliant project.
>
> Nico.
>
> 2007/2/15, gc134728 <[EMAIL PROTECTED]>:
> >
> > I know but it's not all project that are set to interproject dependencies
> > which causes a problem. It's also the mapping of generated foldes as
> > source
> > folder in eclipse.
> >
> > I'm trying to limit the knowledge people need about maven internals just
> > operational knowledge is required.  We split up the work so everybody can
> > handle jobs retaining to their extensive knowledge. Other persons should
> > just
> > do a checkout from the svn repo, refresh there workspace build and bamm
> > everything is setup.
> >
> > > eclipse:eclipse can handle dependencies with other eclipse projects if
> > it is
> > > ran from the top-level project. It will create .classpath & .project
> > files
> > > for all modules and respect inter-projects dependencies
> > > (see
> > *useProjectReferences<
> >
http://maven.apache.org/plugins/maven-eclipse-plugin/eclipse-mojo.html#useProjectReferences
> > >
> > > *)
> > >
> > > Nico.
> > >
> > > 2007/2/15, gc134728 <[EMAIL PROTECTED]>:
> > > >
> > > > Hey dear maven users,
> > > >
> > > > I got a question.  I have one person in our team that updates the
> > pom.xmland
> > > > creates the .classpath files namely MYSELF.  But i attach sources to
> > our
> > > > own
> > > > project artifacts but i want the other members of our team to get the
> > > > attached
> > > > sources when they download dependencies so they can view it in
> > > > eclipse.  The
> > > > problem is they have to execute the "eclipse:eclipse
> > > > -DdownloadSources=true"
> > > > command.  And this fucks up some .classpath files cause some projects
> > have
> > > > special eclipse project dependencies which i have to set manually.
> > > >
> > > > My question is how can i download the sources with the eclipse:eclipse
> > > > plugin
> > > > without the creation of the .project and .classpath file.  Or is there
> > an
> > > > other way to download the sources?
> > > >
> > > > If there are no ideas i'm gonna tweak the eclipse:eclipse plugin.
> > > >
> > > > Thx for any assitance.---
> > > > Scarlet ONE -  Combine ADSL with unlimited fixed phone and save 400
> > euros
> > > > http://www.scarlet.be
> > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > >
> > > >
> > >
> > > ---
> > Scarlet ONE -  Combine ADSL with unlimited fixed phone and save 400 euros
> > http://www.scarlet.be
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> ---
Scarlet ONE -  Combine ADSL with unlimited fixed phone and save 400 euros
http://www.scarlet.be


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

Reply via email to