[Resolved] ant + ivy dependecies problem

UI Components for JSF
Post Reply
aguiarle
Posts: 7
Joined: 12 Jul 2012, 00:00

14 Oct 2014, 01:10

Good afternon

I using ivy for dependecies control and I get erro for this.


My ivysetting.xml

Code: Select all

<ivysettings>
    <settings defaultResolver="default" circularDependencyStrategy="warn"/>
    <property name="ivy.local.default.root"             value="${ivy.default.ivy.user.dir}/local" override="false"/>
    <property name="ivy.local.default.ivy.pattern"      value="[organisation]/[module]/[revision]/[type]s/[artifact].[ext]" override="false"/>
    <property name="ivy.local.default.artifact.pattern" value="[organisation]/[module]/[revision]/[type]s/[artifact].[ext]" override="false"/>

    <resolvers>
        <ibiblio name="r0" m2compatible="true" root="http://uk.maven.org/maven2"/>
        <ibiblio name="r0.1" m2compatible="true" root="http://mirrors.ibiblio.org/pub/mirrors/maven2/"/>
        <ibiblio name="r0.2" m2compatible="true" root="http://mirror.squ.edu.om/"/>
        <ibiblio name="r0.3" m2compatible="true" root="http://repo.maven.apache.org/maven2/"/>
        <ibiblio name="r1" m2compatible="true" root="http://repo1.maven.org/maven2/"/>
        <ibiblio name="r2" m2compatible="true" root="http://repo2.maven.org/maven2/"/>
        <ibiblio name="r3" m2compatible="true" root="http://download.java.net/maven/2/"/>
        <ibiblio name="r4" m2compatible="true" root="http://jqwicket.googlecode.com/svn/m2-repo/releases/"/>
        <ibiblio name="r5" m2compatible="true" root="http://www.orientechnologies.com/listing/m2"/>
        <ibiblio name="r6" m2compatible="true" root="http://maven.restlet.org/"/>
        <ibiblio name="r7" m2compatible="true" root="http://maven.glassfish.org/content/groups/glassfish/"/>
        <ibiblio name="r8" m2compatible="true" root="http://jasperreports.sourceforge.net/maven2/"/>
        <ibiblio name="r9" m2compatible="true" root="http://www.mvnsearch.org/maven2/"/>
        <ibiblio name="r9.1" m2compatible="true" root="http://www.jemos.eu/nexus/content/repositories/jboss-repository/"/>
        <ibiblio name="r9.2" m2compatible="true" root="http://test.okdigital.com/artifactory/remote-repos/"/>
        <ibiblio name="r9.3" m2compatible="true" root="http://gazelle.ihe.net/nexus/content/repositories/thirdparty/"/>
        <ibiblio name="r9.4" m2compatible="true" root="http://mavenrepo.openmrs.org/nexus/content/repositories/central/"/>
        <ibiblio name="r10" m2compatible="true" root="http://repository.primefaces.org/"/>
        

        <filesystem name="local">
            <ivy pattern="${ivy.local.default.root}/${ivy.local.default.ivy.pattern}" />
            <artifact pattern="${ivy.local.default.root}/${ivy.local.default.artifact.pattern}" />
        </filesystem>

        <chain name="default" returnFirst="true">
            <resolver ref="local"/>
            <resolver ref="r0"/>
            <resolver ref="r0.1"/>
            <resolver ref="r0.2"/>
            <resolver ref="r0.3"/>
            <resolver ref="r1"/>
            <resolver ref="r2"/>
            <resolver ref="r3"/>
            <resolver ref="r4"/>
            <resolver ref="r5"/>
            <resolver ref="r6"/>
            <resolver ref="r8"/>
            <resolver ref="r9"/>
            <resolver ref="r9.1"/>
            <resolver ref="r9.2"/>
            <resolver ref="r9.3"/>
            <resolver ref="r9.4"/>
            <resolver ref="r10"/>
           
        </chain>
    </resolvers>
    
</ivysettings>
My ivy.xml

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<ivy-module version="2.0" 
            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
            xsi:noNamespaceSchemaLocation=
                   "http://ant.apache.org/ivy/schemas/ivy.xsd">
    <info organisation="br.com.aguiarle"
          module="gerente"
    />
  
    <dependencies>
        <dependency org="org.apache.shiro" name="shiro-core" rev="1.2.3" ></dependency>
        <dependency org="org.apache.shiro" name="shiro-web" rev="1.2.3" ></dependency>
        
        <!-- <dependency  org="org.primefaces" name="primefaces" rev="4.0"> </dependency> -->
       
        <dependency
            org="org.hibernate"
            name="hibernate-core"
            rev="4.3.5.Final">
        </dependency>

        <!-- for JPA, use hibernate-entitymanager instead of hibernate-core -->
        <dependency
            org="org.hibernate"
            name="hibernate-entitymanager"
            rev="4.3.5.Final">
        </dependency>
        
        <!-- optional -->
        <dependency
            org="org.hibernate"
            name="hibernate-c3p0"
            rev="4.3.5.Final">
        </dependency>
<!--
        <dependency
            org="org.hibernate"
            name="hibernate-osgi"
            rev="4.3.5.Final">
        </dependency>
        <dependency
            org="org.hibernate"
            name="hibernate-envers"
            rev="4.3.5.Final">
        </dependency>
        
        <dependency
            org="org.hibernate"
            name="hibernate-proxool"
            rev="4.3.5.Final">
        </dependency>
        <dependency
            org="org.hibernate"
            name="hibernate-infinispan"
            rev="4.3.5.Final">
        </dependency>
        <dependency
            org="org.hibernate"
            name="hibernate-ehcache"
            rev="4.3.5.Final">
        </dependency>
        
         Hibernate JpaModelgen 
        <dependency
            org="org.hibernate"
            name="hibernate-jpamodelgen"
            rev="4.3.5.Final">
        </dependency>
        -->
       
        <dependency org="commons-fileupload" name="commons-fileupload" rev="1.3"/>
    
        <dependency org="commons-io" name="commons-io" rev="2.4"/>
        
        <dependency org="mysql" name="mysql-connector-java" rev="5.1.28"/>
        
    
        <dependency org="org.slf4j" name="slf4j-api" rev="1.7.7"/>
        <dependency org="org.slf4j" name="slf4j-simple" rev="1.7.7"/>
        <dependency org="org.slf4j" name="slf4j-log4j12" rev="1.7.7"/>
    
        
        
        
        <dependency org="org.apache.poi" name="poi" rev="3.9"/>
        
        <dependency org="net.sf.jasperreports" name="jasperreports" rev="5.5.0"/>
        
        
        <dependency org="org.primefaces.themes" name="all-themes" rev="1.0.10"/>
        
        
        <dependency org="junit" name="junit" rev="4.11"/>
        
        
        

        
    </dependencies>
    
    
   
  
</ivy-module>
My strack erro

Code: Select all

found org.apache.geronimo.specs#geronimo-stax-api_1.0_spec;1.0 in default
	found org.primefaces.themes#all-themes;1.0.10 in r10
	found org.primefaces.themes#afterdark;1.0.10 in r10
	found org.primefaces.themes#afternoon;1.0.10 in r10
	found org.primefaces.themes#afterwork;1.0.10 in r10
	found org.primefaces.themes#black-tie;1.0.10 in r10
	found org.primefaces.themes#blitzer;1.0.10 in r10
	found org.primefaces.themes#bluesky;1.0.10 in r10
	found org.primefaces.themes#bootstrap;1.0.10 in r10
	found org.primefaces.themes#casablanca;1.0.10 in r10
	found org.primefaces.themes#cruze;1.0.10 in r10
	found org.primefaces.themes#cupertino;1.0.10 in r10
	found org.primefaces.themes#dark-hive;1.0.10 in r10
	found org.primefaces.themes#delta;1.0.10 in r10
	found org.primefaces.themes#dot-luv;1.0.10 in r10
	found org.primefaces.themes#eggplant;1.0.10 in r10
	found org.primefaces.themes#excite-bike;1.0.10 in r10
	found org.primefaces.themes#flick;1.0.10 in r10
	found org.primefaces.themes#glass-x;1.0.10 in r10
	found org.primefaces.themes#hot-sneaks;1.0.10 in r10
	found org.primefaces.themes#humanity;1.0.10 in r10
	found org.primefaces.themes#le-frog;1.0.10 in r10
	found org.primefaces.themes#midnight;1.0.10 in r10
	found org.primefaces.themes#mint-choc;1.0.10 in r10
	found org.primefaces.themes#overcast;1.0.10 in r10
	found org.primefaces.themes#pepper-grinder;1.0.10 in r10
	found org.primefaces.themes#redmond;1.0.10 in r10
	found org.primefaces.themes#rocket;1.0.10 in r10
	found org.primefaces.themes#sam;1.0.10 in r10
	found org.primefaces.themes#smoothness;1.0.10 in r10
	found org.primefaces.themes#south-street;1.0.10 in r10
	found org.primefaces.themes#start;1.0.10 in r10
	found org.primefaces.themes#sunny;1.0.10 in r10
	found org.primefaces.themes#swanky-purse;1.0.10 in r10
	found org.primefaces.themes#trontastic;1.0.10 in r10
	found org.primefaces.themes#ui-darkness;1.0.10 in r10
	found org.primefaces.themes#ui-lightness;1.0.10 in r10
	found org.primefaces.themes#vader;1.0.10 in r10
	found org.primefaces.themes#home;1.0.10 in r10
	found junit#junit;4.11 in default
	found org.hamcrest#hamcrest-core;1.3 in default
:: resolution report :: resolve 3933ms :: artifacts dl 1160ms
	:: evicted modules:
	org.slf4j#slf4j-api;1.6.4 by [org.slf4j#slf4j-api;1.7.7] in [default]
	xml-apis#xml-apis;1.0.b2 by [xml-apis#xml-apis;1.3.02] in [default]
	commons-io#commons-io;2.2 by [commons-io#commons-io;2.4] in [default]
	javax.servlet#servlet-api;2.4 by [javax.servlet#servlet-api;2.5] in [default]
	commons-logging#commons-logging;1.1 by [commons-logging#commons-logging;1.1.1] in [default]
	log4j#log4j;1.2.12 by [log4j#log4j;1.2.17] in [default]
	logkit#logkit;1.0.1 transitively in [default]
	avalon-framework#avalon-framework;4.1.3 transitively in [default]
	javax.servlet#servlet-api;2.3 by [javax.servlet#servlet-api;2.5] in [default]
	log4j#log4j;1.2.13 by [log4j#log4j;1.2.17] in [default]
	commons-beanutils#commons-beanutils;1.8.0 by [commons-beanutils#commons-beanutils;1.8.3] in [default]
	commons-logging#commons-logging;1.0.4 by [commons-logging#commons-logging;1.1.1] in [default]
	commons-collections#commons-collections;2.1.1 by [commons-collections#commons-collections;2.1] in [default]
	dom4j#dom4j;1.6 by [dom4j#dom4j;1.6.1] in [default]
	org.apache.poi#poi;3.7 by [org.apache.poi#poi;3.9] in [default]
	xml-apis#xml-apis;1.3.04 by [xml-apis#xml-apis;1.3.02] in [default]
	log4j#log4j;1.2.14 by [log4j#log4j;1.2.17] in [default]
	commons-pool#commons-pool;1.2 by [commons-pool#commons-pool;1.3] in [default]
	xml-apis#xml-apis;2.0.2 by [xml-apis#xml-apis;1.3.02] in [default]
	xerces#xercesImpl;2.0.2 by [xerces#xercesImpl;2.6.2] in [default]
	commons-logging#commons-logging;1.0.3 by [commons-logging#commons-logging;1.0.4] in [default]
	antlr#antlr;2.7.5 by [antlr#antlr;2.7.7] in [default]
	xalan#xalan;2.6.0 by [xalan#xalan;2.7.1] in [default]
	commons-logging#commons-logging;1.0 by [commons-logging#commons-logging;1.1.1] in [default]
	commons-lang#commons-lang;1.0 by [commons-lang#commons-lang;2.4] in [default]
	junit#junit;3.7 by [junit#junit;4.11] in [default]
	commons-collections#commons-collections;3.2.1 by [commons-collections#commons-collections;2.1] in [default]
	---------------------------------------------------------------------
	|                  |            modules            ||   artifacts   |
	|       conf       | number| search|dwnlded|evicted|| number|dwnlded|
	---------------------------------------------------------------------
	|      default     |  182  |   0   |   0   |   27  ||  176  |   0   |
	---------------------------------------------------------------------

:: problems summary ::
:::: WARNINGS
	circular dependency found: org.apache.xmlgraphics#batik-anim;1.7->org.apache.xmlgraphics#batik-svg-dom;1.7->...
	circular dependency found: org.apache.xmlgraphics#batik-svg-dom;1.7->org.apache.xmlgraphics#batik-anim;1.7->...
	circular dependency found: org.apache.xmlgraphics#batik-bridge;1.7->org.apache.xmlgraphics#batik-gvt;1.7->...
	circular dependency found: org.apache.xmlgraphics#batik-gvt;1.7->org.apache.xmlgraphics#batik-bridge;1.7->...
	circular dependency found: org.apache.xmlgraphics#batik-bridge;1.7->org.apache.xmlgraphics#batik-script;1.7->...
	circular dependency found: org.apache.xmlgraphics#batik-bridge;1.7->org.apache.xmlgraphics#batik-script;1.7->...
	circular dependency found: org.apache.xmlgraphics#batik-script;1.7->org.apache.xmlgraphics#batik-bridge;1.7->...
		[NOT FOUND  ] org.primefaces.themes#all-themes;1.0.10!all-themes.jar(source) (629ms)
	==== r10: tried
	  http://repository.primefaces.org/org/primefaces/themes/all-themes/1.0.10/all-themes-1.0.10-sources.jar
		[NOT FOUND  ] org.primefaces.themes#all-themes;1.0.10!all-themes.jar(javadoc) (297ms)
	==== r10: tried
	  http://repository.primefaces.org/org/primefaces/themes/all-themes/1.0.10/all-themes-1.0.10-javadoc.jar
		::::::::::::::::::::::::::::::::::::::::::::::
		::              FAILED DOWNLOADS            ::
		:: ^ see resolution messages for details  ^ ::
		::::::::::::::::::::::::::::::::::::::::::::::
		:: org.primefaces.themes#all-themes;1.0.10!all-themes.jar(source)
		:: org.primefaces.themes#all-themes;1.0.10!all-themes.jar(javadoc)
		::::::::::::::::::::::::::::::::::::::::::::::

Help please.
Last edited by aguiarle on 16 Oct 2014, 00:48, edited 1 time in total.

kukeltje
Expert Member
Posts: 9605
Joined: 17 Jun 2010, 13:34
Location: Netherlands

14 Oct 2014, 10:56

There is no source nor javadoc for the themes. Just see if you can disable that in ivy for the themes dependency. Not a primefaces problem imo. ivy should just give a warning, not an error

aguiarle
Posts: 7
Joined: 12 Jul 2012, 00:00

16 Oct 2014, 00:47

Resolved

Code: Select all

<dependency org="org.primefaces.themes" name="all-themes" rev="1.0.10">
            <artifact name="all-themes" type="jar"/>
            
        </dependency>

Olinelooo
Posts: 1
Joined: 22 Apr 2016, 10:05

22 Apr 2016, 11:55

Just see if you can disable that in ivy for the themes dependency. Not a primefaces problem imo. ivy should just give a warning,????

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 13 guests