You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Manoj Khangaonkar <kh...@gmail.com> on 2006/11/16 20:48:36 UTC

build error in rahas - due to WSS4j ?

Hi,

My top down build

maven -Dmaven.test.skip

blows up in rahas.

The first problem I hit was that maven tried to download WSS4j-SNAPSHOT.jar

because the project.properties has the line

wss4j.version=SNAPSHOT

The maven repository only has wss4j-1.5.0.jar.

I tried downloading wss4j v1.5 , v1.1 , v 1.0 and they all lead to
compilation errors - the first of which is

    [javac] Compiling 19 source files to
C:\axis2\modules\rahas\target\classes
    [javac]
C:\axis2\modules\rahas\src\org\apache\rahas\impl\SAMLTokenIssuer.jav
a:36: cannot find symbol
    [javac] symbol  : class WSSecEncryptedKey
    [javac] location: package org.apache.ws.security.message
    [javac] import org.apache.ws.security.message.WSSecEncryptedKey;

I suspect I need a recent build of WSS4J - But do not see any at
http://www.ip97.com/apache.org/ws/wss4j/ - the
last update is the v 1.5 jar date May 2006

Can someone point me to the appropriate wss4j jar that I need to use ?

Mj

Re: build error in rahas - due to WSS4j ?

Posted by Manoj Khangaonkar <kh...@gmail.com>.
Hi,

To successfully build top down I had to

1. extract the wss4j source code from the wss4j svn repository

2. Build it

3. rename the built jar file to wss4j-SNAPSHOT.jar

4. Place it in my local repository.

SHould/Can we put the updated wss4j in the central repository ? - so that
every one does have to repeat this.

I can open a JIRA issue and attach the jar that I built. Perhaps one of the
committers can add it to the repository.

Mj

On 11/16/06, Manoj Khangaonkar <kh...@gmail.com> wrote:
>
> Hi,
>
> My top down build
>
> maven -Dmaven.test.skip
>
> blows up in rahas.
>
> The first problem I hit was that maven tried to download
> WSS4j-SNAPSHOT.jar
>
> because the project.properties has the line
>
> wss4j.version=SNAPSHOT
>
> The maven repository only has wss4j-1.5.0.jar.
>
> I tried downloading wss4j v1.5 , v1.1 , v 1.0 and they all lead to
> compilation errors - the first of which is
>
>     [javac] Compiling 19 source files to
> C:\axis2\modules\rahas\target\classes
>     [javac]
> C:\axis2\modules\rahas\src\org\apache\rahas\impl\SAMLTokenIssuer.jav
> a:36: cannot find symbol
>     [javac] symbol  : class WSSecEncryptedKey
>     [javac] location: package org.apache.ws.security.message
>     [javac] import org.apache.ws.security.message.WSSecEncryptedKey;
>
> I suspect I need a recent build of WSS4J - But do not see any at http://www.ip97.com/apache.org/ws/wss4j/
>  - the
> last update is the v 1.5 jar date May 2006
>
> Can someone point me to the appropriate wss4j jar that I need to use ?
>
> Mj
>
>