Hello, I have found out how to create jars and javadocs on their own. But my initial problem isn't solved. I would like to have the sources included in the "normal" jar, not in a seperate one. Anybody knows how to do this?
Thanks for your help! Regards, Thomas On Jan 23, 2008 10:44 AM, Thomas Tardy <[EMAIL PROTECTED]> wrote: > The -DperformRelease=true flag is installing and deploying the source and > the javadoc jars. > > I'm looking for the possibility to create and install the source jar > during normal builds and create and install javadoc jars just in a specific > profile. How can I do that? > > Thanks for your help! > > > > On Jan 22, 2008 7:26 PM, Thomas Tardy <[EMAIL PROTECTED]> wrote: > > > I'm using the m2eclipse plugin. How can I install and deploy the > > generated source jars? > > > > I added the following plugin configuration to my project. > > <build> > > <plugins> > > <plugin> > > <groupId>org.apache.maven.plugins</groupId> > > <artifactId>maven-source-plugin</artifactId> > > <executions> > > <execution> > > <id>attach-sources</id> > > <phase>verify</phase> > > <goals> > > <goal>jar</goal> > > </goals> > > </execution> > > </executions> > > </plugin> > > </plugins> > > </build> > > > > This generates the source jar into the target folder. > > > > How to install and deploy it? > > > > > > On Jan 22, 2008 7:02 PM, Nick Stolwijk <[EMAIL PROTECTED] > wrote: > > > > > If it is only for eclipse that you want to bundle them, try: > > > > > > mvn eclipse:eclipse -DdownloadSources=true -DdownloadJavadocs=true [1] > > > > > > Hth, > > > > > > Nick Stolwijk > > > > > > [1] > > > http://maven.apache.org/plugins/maven-eclipse-plugin/eclipse-mojo.html > > > > > > Thomas Tardy wrote: > > > > Hello, > > > > > > > > I'm looking for a solution to provide the sources to the developers. > > > When > > > > they have to debug their application it's realy helpful if they have > > > access > > > > to the sources of e.g. our framework. > > > > > > > > I know the source plugin, which is creating a 2nd jar containing the > > > > sources. But the problem with this solution is, that the developers > > > have to > > > > add these additional jars into the source path in eclipse to have > > > access to > > > > the source when they debug their application. Isn't it possible to > > > attach > > > > the sources to the generated jar, that they have to handle only one > > > jar? Is > > > > this possible at all? With the source plugin? How to configure it? > > > > > > > > Thanks for your help! > > > > > > > > Regards, > > > > Thomas > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > >
