Hi Prasad,
The clover plugin part is having some deletions prasad.
Can you explain why?
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clover-plugin</artifactId>
<configuration>
<jdk>1.5</jdk>
<excludes>
<exclude>**/package-info.java</exclude>
</excludes>
</configuration>
<executions>
<execution>
<id>site</id>
<phase>pre-site</phase>
<goals>
<goal>instrument</goal>
<goal>aggregate</goal>
<goal>save-history</goal>
</goals>
</execution>
</executions>
</plugin>
Everything after artefactid has been removed in your patch. Is this
not required for generating clover reports any more?
Regards
Manu
On 3/20/07, Prasad Kashyap <[EMAIL PROTECTED]> wrote:
Hi Manu,
Here is the JIRA
https://issues.apache.org/jira/browse/OPENEJB-547
Cheers
Prasad
On 3/19/07, Manu George <[EMAIL PROTECTED]> wrote:
> Hi,
> Is anyone applying this? If not I will do it. This will be the first
> patch I commit to OPENEJB
>
> Regards
> Manu
>
> On 3/19/07, Prasad Kashyap <[EMAIL PROTECTED]> wrote:
> > No.. The patch is attached to the email. I wonder why it gets stripped
> > out here. David Blevins made a similar observation the other day.
> >
> > Hmm.. I am able to send patches to the geronimo dev list.
> >
> > Here it is in plain text -----
> >
> >
> > Index: pom.xml
> > ===================================================================
> > --- pom.xml (revision 519970)
> > +++ pom.xml (working copy)
> > @@ -157,23 +157,7 @@
> > <plugin>
> > <groupId>org.apache.maven.plugins</groupId>
> > <artifactId>maven-clover-plugin</artifactId>
> > - <configuration>
> > - <jdk>1.5</jdk>
> > - <excludes>
> > - <exclude>**/package-info.java</exclude>
> > - </excludes>
> > - </configuration>
> > - <executions>
> > - <execution>
> > - <id>site</id>
> > - <phase>pre-site</phase>
> > - <goals>
> > - <goal>instrument</goal>
> > - <goal>aggregate</goal>
> > - <goal>save-history</goal>
> > - </goals>
> > - </execution>
> > - </executions>
> > + <version>2.3</version>
> > </plugin>
> > </plugins>
> > </build>
> > @@ -952,21 +936,73 @@
> > </site>
> > </distributionManagement>
> > <reporting>
> > - <plugins>
> > - <plugin>
> > - <groupId>org.apache.maven.plugins</groupId>
> > - <artifactId>maven-javadoc-plugin</artifactId>
> > - <version>2.1</version>
> > - <configuration>
> > - <aggregate>true</aggregate>
> > - </configuration>
> > - </plugin>
> > - <plugin>
> > - <artifactId>maven-clover-plugin</artifactId>
> > - <configuration>
> > - <generateHistorical>true</generateHistorical>
> > - </configuration>
> > - </plugin>
> > - </plugins>
> > - </reporting>
> > + <plugins>
> > + <plugin>
> > + <groupId>org.apache.maven.plugins</groupId>
> > + <artifactId>maven-surefire-report-plugin</artifactId>
> > + <version>2.0</version>
> > + </plugin>
> > +
> > + <plugin>
> > + <groupId>org.apache.maven.plugins</groupId>
> > + <artifactId>maven-javadoc-plugin</artifactId>
> > + <version>2.1</version>
> > + <configuration>
> > + <minmemory>128m</minmemory>
> > + <maxmemory>512</maxmemory>
> > + <breakiterator>true</breakiterator>
> > + <quiet>true</quiet>
> > + <verbose>false</verbose>
> > + <source>1.5</source>
> > + <!--
> > + FIXME: This worked in m1, but m2 complains about
> > it being an invalid flag
> > +
> > +
> > <additionalparam>-J-Djava.awt.headless=true</additionalparam>
> > + -->
> > + <linksource>true</linksource>
> > + <links>
> > + <!-- J2SE -->
> > +
<link>http://java.sun.com/j2se/1.5.0/docs/api/</link>
> > +
<link>http://java.sun.com/j2se/1.4.2/docs/api/</link>
> > + <link>http://java.sun.com/j2se/1.3/docs/api/</link>
> > +
> > + <!-- JavaEE -->
> > + <link>http://java.sun.com/javaee/5/docs/api/</link>
> > + <link>http://java.sun.com/j2ee/1.4/docs/api/</link>
> > +
> > <link>http://java.sun.com/j2ee/sdk_1.3/techdocs/api/</link>
> > +
> > + <!-- Libraries -->
> > +
> > <link>http://jakarta.apache.org/commons/collections/apidocs</link>
> > +
> > <link>http://jakarta.apache.org/commons/logging/apidocs/</link>
> > + <link>http://www.junit.org/junit/javadoc/</link>
> > +
<link>http://logging.apache.org/log4j/docs/api/</link>
> > +
<link>http://jakarta.apache.org/regexp/apidocs/</link>
> > +
<link>http://jakarta.apache.org/velocity/api/</link>
> > + </links>
> > + </configuration>
> > + </plugin>
> > +
> > + <plugin>
> > + <groupId>org.apache.maven.plugins</groupId>
> > + <artifactId>maven-jxr-plugin</artifactId>
> > + <version>2.0</version>
> > + </plugin>
> > +
> > + <plugin>
> > + <groupId>org.apache.maven.plugins</groupId>
> > + <artifactId>maven-pmd-plugin</artifactId>
> > + <version>2.1</version>
> > + <configuration>
> > + <targetJdk>1.5</targetJdk>
> > + </configuration>
> > + </plugin>
> > +
> > + <plugin>
> > + <groupId>org.apache.maven.plugins</groupId>
> > + <artifactId>maven-project-info-reports-plugin</artifactId>
> > + <version>2.0.1</version>
> > + </plugin>
> > +
> > + </plugins>
> > + </reporting>
> > </project>
> >
> >
> > ------------ end of patch
> >
> >
> > Cheers
> > Prasad
> >
> >
> >
> > On 3/19/07, Mohammad Nour El-Din <[EMAIL PROTECTED]> wrote:
> > > Hi Prasad...
> > >
> > > Which patch to apply :) ??? Did you forget to attach the patch ???
> > >
> > > On 3/19/07, Prasad Kashyap <[EMAIL PROTECTED]> wrote:
> > > >
> > > > Apply this patch and you can get 'mvn site' to work.
> > > >
> > > > You can also see surefire plsu many other reports.,
> > > >
> > > > Cheers
> > > > Prasad
> > > >
> > > > On 3/18/07, lingling teng <[EMAIL PROTECTED]> wrote:
> > > > > Then how do we generate the documentation and the test report? I
haven't
> > > > > seen any instruction on the Apache website of this project. Thanks!
> > > > >
> > > > > PS: I am a new comer and pls excuse my ingnorance.
> > > > >
> > > > > //Steven
> > > > >
> > > > > 2007/3/17, David Blevins <[EMAIL PROTECTED]>:
> > > > > >
> > > > > >
> > > > > > On Mar 16, 2007, at 2:00 AM, lingling teng wrote:
> > > > > >
> > > > > > > Hi, all
> > > > > > >
> > > > > > > I have just checked out the latest revision of the openEJB and
> > > > > > > tried to
> > > > > > > build it using the command: mvn intall -Dassemble and the result
> > > > > > > was build
> > > > > > > successful.
> > > > > > > But when I tried to generate the report using the command: mvn
> > > > > > > site, I got
> > > > > > > the a fatal error which may be a license problem. The log is
> > > > > > > attached below.
> > > > > > > BTW, my OS is windows XP.
> > > > > > >
> > > > > > > Any hints? Thanks!
> > > > > > >
> > > > > >
> > > > > > We don't use maven to generate our site, so I've never tried that
> > > > goal.
> > > > > >
> > > > > > -David
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > //Stevens Teng
> > > > >
> > > >
> > >
> > >
> > >
> > > --
> > > Thanks
> > > - Mohammad Nour
> > >
> >
>