掲示板

liferay css builder plugin error

6年前 に wely cery によって更新されました。

liferay css builder plugin error

Junior Member 投稿: 38 参加年月日: 17/03/06 最新の投稿
hi there

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?
thumbnail
6年前 に Gregory Amerson によって更新されました。

RE: liferay css builder plugin error

Liferay Legend 投稿: 1123 参加年月日: 10/02/16 最新の投稿
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".
6年前 に wely cery によって更新されました。

RE: liferay css builder plugin error

Junior Member 投稿: 38 参加年月日: 17/03/06 最新の投稿
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>