- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
Creating ScalaDocs with the Maven plugin kind of broken
Sat, 2009-01-31, 10:55
Hello, I'm running into problems when I have in my POM:
ANYTHING
ANYTHING
together with:
org.scala-tools
maven-scala-plugin
2.9.1
when I'm running "mvn site" it fails with Fatal Error when trying to
resolve Scala version. Adding the deprecated:
2.7.3
to the plugin configuration solves that problem, but still it (and "mvn
scala:doc") fails with:
Open quote is expected for attribute "{1}" associated with an element
type "href".
This is due to the project/organization/url&name, removing either one of
them will make the goal succeed with both "mvn site" and "mvn
scala:doc". Also this configuration works if I remove the Scala plugin
from the reporting, but then I won't get any ScalaDocs.
-Hannu
Sat, 2009-01-31, 19:17
#2
Re: Creating ScalaDocs with the Maven plugin kind of broken
I fixed the one issue, and I'm looking into the second. I added your issues to our integration test, so hopefully the problem won't occur again. I'll let you know when <organization> tags are supported again.
-Josh
On Sat, Jan 31, 2009 at 7:35 AM, Josh Suereth <joshua.suereth@gmail.com> wrote:
-Josh
On Sat, Jan 31, 2009 at 7:35 AM, Josh Suereth <joshua.suereth@gmail.com> wrote:
Thanks for the write-up.
I'll look into fixing it.
Sent from my iPhone
On Jan 31, 2009, at 4:54 AM, Hannu Leinonen <sopuli@gmx.net> wrote:
Hello, I'm running into problems when I have in my POM:
<organization>
<url>ANYTHING</url>
<name>ANYTHING</name>
</organization>
together with:
<reporting>
<plugins>
<plugin>
<groupId>org.scala-tools</groupId>
<artifactId>maven-scala-plugin</artifactId>
<version>2.9.1</version>
</plugin>
</plugins>
</reporting>
when I'm running "mvn site" it fails with Fatal Error when trying to resolve Scala version. Adding the deprecated:
<scalaVersion>2.7.3</scalaVersion>
to the plugin configuration solves that problem, but still it (and "mvn scala:doc") fails with:
Open quote is expected for attribute "{1}" associated with an element type "href".
This is due to the project/organization/url&name, removing either one of them will make the goal succeed with both "mvn site" and "mvn scala:doc". Also this configuration works if I remove the Scala plugin from the reporting, but then I won't get any ScalaDocs.
-Hannu
Sat, 2009-01-31, 19:37
#3
Re: Creating ScalaDocs with the Maven plugin kind of broken
Ok, I updated our integration test to include your issue in the nightlies. Right now everything is passing, and I can't duplciate the organization bug.
I haven't started testing for java + scala integration with scaladoc, but my initial test was successful
On Sat, Jan 31, 2009 at 1:10 PM, Josh Suereth <joshua.suereth@gmail.com> wrote:
I haven't started testing for java + scala integration with scaladoc, but my initial test was successful
On Sat, Jan 31, 2009 at 1:10 PM, Josh Suereth <joshua.suereth@gmail.com> wrote:
I fixed the one issue, and I'm looking into the second. I added your issues to our integration test, so hopefully the problem won't occur again. I'll let you know when <organization> tags are supported again.
-Josh
On Sat, Jan 31, 2009 at 7:35 AM, Josh Suereth <joshua.suereth@gmail.com> wrote:
Thanks for the write-up.
I'll look into fixing it.
Sent from my iPhone
On Jan 31, 2009, at 4:54 AM, Hannu Leinonen <sopuli@gmx.net> wrote:
Hello, I'm running into problems when I have in my POM:
<organization>
<url>ANYTHING</url>
<name>ANYTHING</name>
</organization>
together with:
<reporting>
<plugins>
<plugin>
<groupId>org.scala-tools</groupId>
<artifactId>maven-scala-plugin</artifactId>
<version>2.9.1</version>
</plugin>
</plugins>
</reporting>
when I'm running "mvn site" it fails with Fatal Error when trying to resolve Scala version. Adding the deprecated:
<scalaVersion>2.7.3</scalaVersion>
to the plugin configuration solves that problem, but still it (and "mvn scala:doc") fails with:
Open quote is expected for attribute "{1}" associated with an element type "href".
This is due to the project/organization/url&name, removing either one of them will make the goal succeed with both "mvn site" and "mvn scala:doc". Also this configuration works if I remove the Scala plugin from the reporting, but then I won't get any ScalaDocs.
-Hannu
Thanks for the write-up.
I'll look into fixing it.
Sent from my iPhone
On Jan 31, 2009, at 4:54 AM, Hannu Leinonen wrote:
> Hello, I'm running into problems when I have in my POM:
>
>
>
> ANYTHING
> ANYTHING
>
>
>
> together with:
>
>
>
>
>
> org.scala-tools
> maven-scala-plugin
> 2.9.1
>
>
>
>
>
> when I'm running "mvn site" it fails with Fatal Error when trying to
> resolve Scala version. Adding the deprecated:
>
>
> 2.7.3
>
>
> to the plugin configuration solves that problem, but still it (and
> "mvn scala:doc") fails with:
>
>
> Open quote is expected for attribute "{1}" associated with an
> element type "href".
>
>
> This is due to the project/organization/url&name, removing either
> one of them will make the goal succeed with both "mvn site" and "mvn
> scala:doc". Also this configuration works if I remove the Scala
> plugin from the reporting, but then I won't get any ScalaDocs.
>
>
>
> -Hannu
>