缺少工件org.primefaces.themes:cupertino:jar:1.0.9 [英] Missing artifact org.primefaces.themes:cupertino:jar:1.0.9

查看:116
本文介绍了缺少工件org.primefaces.themes:cupertino:jar:1.0.9的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用liferay 6.1.1和maven进行项目! 我在pom.xml中有此错误消息:

I'm working on a project using liferay 6.1.1 and maven! I have this error message in pom.xml:

缺少工件org.primefaces.themes:cupertino:jar:1.0.9

Missing artifact org.primefaces.themes:cupertino:jar:1.0.9

即使jar文件已经存在! 当我尝试部署该项目时,一切都进行得很好……但是即使该项目运行良好,警告仍然存在. 有什么主意吗?

even if the jar file is already there! When I tried to deploy the project, everything goes well ... but the warning persists even if the project works good. Any idea?

pom.xml

<?xml version="1.0"?>

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<parent>
    <groupId>com.octave.portlet</groupId>
    <artifactId>octave-portlet</artifactId>
    <version>2.0.0</version>
    <relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>com.octave.portlet.presentation</groupId>
<artifactId>octave-presentation-portlet</artifactId>
<packaging>war</packaging>
<name>bridgev2 presentation portlet</name>
<version>2.0.0-SNAPSHOT</version>
<build>
    <plugins>
        <plugin>
            <groupId>com.liferay.maven.plugins</groupId>
            <artifactId>liferay-maven-plugin</artifactId>
            <version>${liferay.maven.plugin.version}</version>
            <executions>
                <execution>
                    <phase>generate-sources</phase>
                    <goals>
                        <goal>build-css</goal>
                    </goals>
                </execution>
            </executions>
        </plugin>
    </plugins>
</build>
<dependencies>
    <dependency>
        <groupId>com.octave.portlet.service.api</groupId>
        <artifactId>octave-service-api</artifactId>
        <version>${pom.version}</version>
    </dependency>
    <dependency>
        <groupId>commons-fileupload</groupId>
        <artifactId>commons-fileupload</artifactId>
        <version>1.2.2</version>
    </dependency>
    <dependency>
        <groupId>commons-io</groupId>
        <artifactId>commons-io</artifactId>
        <version>1.3.2</version>
    </dependency>
    <dependency>
        <groupId>com.liferay.faces</groupId>
        <artifactId>liferay-faces-bridge-impl</artifactId>
        <version>3.1.0-ga1</version>
    </dependency>
    <dependency>
        <groupId>com.liferay.faces</groupId>
        <artifactId>liferay-faces-portal</artifactId>
        <version>3.1.0-ga1</version>
    </dependency>
    <dependency>
        <groupId>com.liferay.portal</groupId>
        <artifactId>portal-service</artifactId>
        <version>${liferay.version}</version>
        <scope>provided</scope>
    </dependency>
    <dependency>
        <groupId>com.liferay.portal</groupId>
        <artifactId>util-java</artifactId>
        <version>${liferay.version}</version>
        <scope>provided</scope>
    </dependency>
    <dependency>
        <groupId>com.sun.faces</groupId>
        <artifactId>jsf-api</artifactId>
        <version>2.1.3</version>
    </dependency>
    <dependency>
        <groupId>com.sun.faces</groupId>
        <artifactId>jsf-impl</artifactId>
        <version>2.1.3</version>
    </dependency>
    <dependency>
        <groupId>javax.el</groupId>
        <artifactId>el-api</artifactId>
        <version>1.0</version>
        <scope>provided</scope>
    </dependency>
    <dependency>
        <groupId>javax.portlet</groupId>
        <artifactId>portlet-api</artifactId>
        <version>2.0</version>
        <scope>provided</scope>
    </dependency>
    <dependency>
        <groupId>org.jboss.seam</groupId>
        <artifactId>jboss-el</artifactId>
        <version>2.0.0.GA</version>
        <exclusions>
            <exclusion>
                <artifactId>el-api</artifactId>
                <groupId>javax.el</groupId>
            </exclusion>
        </exclusions>
    </dependency>
    <dependency>
        <groupId>org.primefaces</groupId>
        <artifactId>primefaces</artifactId>
        <version>4.0</version>
    </dependency>
    <dependency>
        <groupId>org.primefaces.themes</groupId>
        <artifactId>cupertino</artifactId>
        <version>1.0.9</version>
    </dependency>
    <dependency>
        <groupId>javax.mail</groupId>
        <artifactId>mail</artifactId>
        <version>1.4</version>
    </dependency>
    <dependency>
        <groupId>org.apache.poi</groupId>
        <artifactId>poi</artifactId>
        <version>3.6</version>
    </dependency>
    <dependency>
        <groupId>org.apache.commons</groupId>
        <artifactId>commons-collections4</artifactId>
        <version>4.0</version>
    </dependency>

</dependencies>
</project>

推荐答案

将primefaces存储库添加到您的pom.xml,有关详细信息,此帖子:

Add the primefaces repository to your pom.xml, this post for details:

primefaces all-themes v 1.0.10安装?

这篇关于缺少工件org.primefaces.themes:cupertino:jar:1.0.9的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆