Hello,
I think it is working, maybe I forget a parameter last time. Could you give it a try like this:
<profile>
<id>docbkx.dependency</id>
<build>
<plugins>
<plugin>
<groupId>com.agilejava.docbkx</groupId>
<artifactId>docbkx-maven-plugin</artifactId>
<version>${project.version}</version>
<dependencies>
<dependency>
<groupId>net.sf.docbook</groupId>
<artifactId>docbook-xml</artifactId>
<version>5.0-all</version>
<classifier>resources</classifier>
<type>zip</type>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>net.sf.docbook</groupId>
<artifactId>docbook-xsl</artifactId>
<version>1.76.1</version>
<classifier>ns-resources</classifier>
<type>zip</type>
</dependency>
</dependencies>
<executions>
<execution>
<goals>
<goal>generate-html</goal>
</goals>
</execution>
</executions>
<configuration>
<includes>article.xml</includes>
</configuration>
</plugin>
</plugins>
</build>
</profile>
At least the html generation is changed according to the dependency version. Concerning your stylesheet in 1.72, you will have to make it the same content layout as the artifact 1.78.x