0 Replies Latest reply on Apr 11, 2016 2:38 AM by mofarn

    No css included in result of built html by jdocbook-plugin

    mofarn

      I've created a DocBook by publican and moved it to my maven project. in building html, no css file is generated and i have only some html file. How can i solve this problem?

      Note: publican generates some css files in Common_Content directory besides the output html files, and have no problem.


      Here is my plugin configuration in pom.xml:

      <build>
        <pluginManagement>
          <plugins>
            <plugin>
              <groupId>org.jboss.maven.plugins</groupId>
              <artifactId>maven-jdocbook-plugin</artifactId>
              <version>2.3.9</version>
              <extensions>true</extensions>
              <executions>
                <execution>
                  <phase>pre-site</phase>
                  <goals>
                    <goal>generate</goal>
                  </goals>
                </execution>
              </executions>
              <dependencies>
                <dependency>
                  <groupId>org.jboss.pressgang</groupId>
                  <artifactId>pressgang-xslt-ns</artifactId>
                  <version>3.1.3</version>
                </dependency>
                <dependency>
                  <groupId>org.jboss.pressgang</groupId>
                  <artifactId>pressgang-jdocbook-style</artifactId>
                  <type>jdocbook-style</type>
                  <version>3.1.3</version>
                </dependency>
              </dependencies>
              <configuration>
                <sourceDirectory>${project.basedir}/doc/zrm</sourceDirectory>
                <sourceDocumentName>${docname}.xml</sourceDocumentName>
                <masterTranslation>fa</masterTranslation>
                <imageResource>
                  <directory>${project.basedir}/doc/zrm/fa</directory>
                  <includes>
                    <include>images/**</include>
                  </includes>
                </imageResource>
                <formats>
                  <format>
                    <formatName>pdf</formatName>
                    <stylesheetResource>classpath:/xslt/org/jboss/pressgang/pdf.xsl</stylesheetResource>
                    <finalName>${docname}.pdf</finalName>
                  </format>
                  <format>
                    <formatName>html</formatName>
                    <stylesheetResource>classpath:/xslt/org/jboss/pressgang/xhtml.xsl</stylesheetResource>
                    <finalName>index.html</finalName>
                  </format>
                </formats>
                <options>
                  <xmlTransformerType>saxon</xmlTransformerType>
                  <xincludeSupported>true</xincludeSupported>
                  <docbookVersion>1.76.1</docbookVersion>
                  <useRelativeImageUris>true</useRelativeImageUris>
                </options>
              </configuration>
            </plugin>
          </plugins>
        </pluginManagement>
        <plugins>
          <plugin>
            <groupId>org.jboss.maven.plugins</groupId>
            <artifactId>maven-jdocbook-plugin</artifactId>
          </plugin>
        </plugins>
      </build>