directory-fortress mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Lécharny <elecha...@gmail.com>
Subject Re: error when running maven tests in Apache Fortress Core
Date Thu, 16 Apr 2015 08:59:59 GMT
You can also pull the repo, I just pushed the patch.

Thanks !

Le 16/04/15 10:35, Oleksandr Bodriagov (Polystar) a écrit :
> Hi Emmanuel, 
> I have pulled the newest version a few minutes ago, then I changed the
> pom.xml:
>
> diff --git a/pom.xml b/pom.xml
> index 4f9c8a2..e7b5724 100644
> --- a/pom.xml
> +++ b/pom.xml
> @@ -30,7 +30,7 @@
>    <artifactId>fortress-core</artifactId>
>    <packaging>jar</packaging>
>    <name>Apache Fortress Core</name>
> -  <version>1.0-RC41-SNAPSHOT</version>
> +  <version>1.0-RC40-SNAPSHOT</version>
>    <inceptionYear>2007</inceptionYear>
>    <description>
>      Apache Fortress is a standards-based Identity and Access Management
> SDK that implements ANSI RBAC INCITS 359.
> @@ -569,7 +569,7 @@
>          <groupId>org.apache.maven.plugins</groupId>
>          <artifactId>maven-javadoc-plugin</artifactId>
>          <configuration>
> -          <!--<additionalparam>-Xdoclint:none</additionalparam>-->
> +          <additionalparam>-Xdoclint:none</additionalparam>
>            <stylesheet>java</stylesheet>
>
>
> Then I ran “mvn test -Pconsole” and got:
> fortress-console:
>      [echo] ############### Run Fortress Console ###############
>  [startAnt] Working directory ignored when same JVM is used.
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 6.528s
> [INFO] Finished at: Thu Apr 16 10:32:50 CEST 2015
> [INFO] Final Memory: 35M/417M
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-antrun-plugin:1.8:run (default) on project
> fortress-core: An Ant BuildException has occured:
> java.lang.NoClassDefFoundError: org/jgrapht/UndirectedGraph
> [ERROR] around Ant part ...<java fork="false"
> classname="org.apache.directory.fortress.core.FortressConsole"
> taskname="startAnt" failonerror="true"
> dir="/Users/myusername/git/directory-fortress-core" timeout="4000000">...
> @ 5:192 in 
> /Users/myusername/git/directory-fortress-core/target/antrun/build-fortress-
> console.xml: org.jgrapht.UndirectedGraph
>
>
> Best regards,
> Oleksandr
>
>
>
>
>
> On 16/4/2015 10:25 , "Emmanuel Lécharny" <elecharny@gmail.com> wrote:
>
>> Le 16/04/15 10:06, Oleksandr Bodriagov (Polystar) a écrit :
>>> Hi,
>>>
>>> I got the following error when running ³mvn test -Pconsole² on Mac OS X
>>> Yosemite (jdk1.8.0_31.jdk
>>> ):
>> Which version of Fortress-Core are you testing ?
>>
>> We have fixed a duplicate plugin declaration yesterday, I would suggest
>> you pull the code from the repository and retry.
>>
>> Thanks !
>>


Mime
View raw message