Foren
liferay css builder plugin error
wely cery, geändert vor 6 Jahren.
liferay css builder plugin error
Junior Member Beiträge: 38 Beitrittsdatum: 06.03.17 Neueste Beiträge
hi there
i am trying to compile a theme contribute for liferay.in my pom file is a plugin like this:
when i try to run package command then i get this error:
i try to add that missing dependency but still get the same error.so how can this be fixed?
i am trying to compile a theme contribute for liferay.in my pom file is a plugin like this:
<plugin>
<groupid>com.liferay</groupid>
<artifactid>com.liferay.css.builder</artifactid>
<version>1.0.23</version>
<executions>
<execution>
<id>default-build-css</id>
<phase>generate-sources</phase>
<goals>
<goal>build-css</goal>
</goals>
</execution>
</executions>
<configuration>
<docrootdirname>src/main/resources</docrootdirname>
</configuration>
</plugin>
when i try to run package command then i get this error:
Failed to execute goal com.liferay:com.liferay.css.builder:1.0.23:build-css (default-build-css) on project contribute: Execution default-build-css of goal com.liferay:com.liferay.css.builder:1.0.23:build-css failed: A required class was missing while executing com.liferay:com.liferay.css.builder:1.0.23:build-css: org/eclipse/aether/artifact/Artifact
i try to add that missing dependency but still get the same error.so how can this be fixed?
Gregory Amerson, geändert vor 6 Jahren.
RE: liferay css builder plugin error
Liferay Legend Beiträge: 1123 Beitrittsdatum: 16.02.10 Neueste Beiträge
Can you switch to the latest css builder plugin version 1.0.26? Also the mojo/goal name needs to be switched from build-css to just "build".
wely cery, geändert vor 6 Jahren.
RE: liferay css builder plugin error
Junior Member Beiträge: 38 Beitrittsdatum: 06.03.17 Neueste Beiträge
this work in my pom file :
<plugin>
<groupid>com.liferay</groupid>
<artifactid>com.liferay.css.builder</artifactid>
<version>1.0.20</version>
<executions>
<execution>
<id>default-build-css</id>
<phase>generate-sources</phase>
<goals>
<goal>build-css</goal>
</goals>
</execution>
</executions>
<configuration>
<docrootdirname>src/main/resources</docrootdirname>
<outputdirname>/</outputdirname>
<portalcommonpath>target/deps/com.liferay.frontend.css.common.jar</portalcommonpath>
</configuration>
</plugin>