You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rampart-dev@ws.apache.org by Jaime Hablutzel Egoavil <ha...@gmail.com> on 2009/11/06 18:17:16 UTC

Pro

Hi, i´m trying to build a jar with dependencies included for a swing
application with an axis2 client and rampart 1.4 for Username Token
authentication, and, I´m getting the following error when trying. I think it
is related to the jar-with-dependencies maven descriptor.

> mvn install


[INFO] Failed to create assembly: Error adding file-set for
'org.apache.axis2:ad
dressing:mar:1.4' to archive: Error adding archived file-set.
PlexusIoResourceCo
llection not found for:
C:\m2\repo\org\apache\axis2\addressing\1.4\addressing-1.
4.mar

No such archiver: 'mar'.

By the way, my pom is:


<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">
    <modelVersion>4.0.0</modelVersion>
    <groupId>pe.gob.hndac</groupId>
    <artifactId>epicrisis</artifactId>
    <packaging>jar</packaging>
    <version>1.0-SNAPSHOT</version>
    <name>ModuloEpicrisis</name>
    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>2.0.2</version>
                <configuration>
                    <source>1.6</source>
                    <target>1.6</target>
                    <encoding>UTF-8</encoding>
                </configuration>
            </plugin>


            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-source-plugin</artifactId>
                <executions>
                    <execution>
                        <phase>package</phase>
                        <goals>
                            <goal>jar</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>


            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-jar-plugin</artifactId>
                <configuration>
                    <archive>
                        <manifest>
                            <addClasspath>true</addClasspath>

<mainClass>Epicrisis.FrameInicioSesion</mainClass>
                        </manifest>
                    </archive>
                </configuration>
            </plugin>



            <plugin>
                <artifactId>maven-assembly-plugin</artifactId>
                <configuration>
                    <descriptorRefs>
                        <descriptorRef>jar-with-dependencies</descriptorRef>
                    </descriptorRefs>
                    <archive>
                        <manifest>

<mainClass>Epicrisis.FrameInicioSesion</mainClass>
                        </manifest>
                    </archive>
                </configuration>
                <executions>
                    <execution>
                        <id>make-assembly</id>
                        <phase>package</phase>
                        <goals>
                            <goal>attached</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>

            <plugin>
                <groupId>org.apache.axis2</groupId>
                <artifactId>axis2-mar-maven-plugin</artifactId>
                <version>1.4</version>
            </plugin>

        </plugins>


    </build>

    <repositories>
        <repository>
            <id>netbeans</id>
            <name>Netbeans</name>
            <url>http://bits.nbextras.org/maven2</url>
        </repository>
        <repository>
            <id>52north</id>
<!--            <name>Netbeans</name> -->
            <url>http://incubator.52north.org/maven/maven-repo/releases
</url>
        </repository>
        <repository>
            <id>eviware</id>
            <url>http://www.eviware.com/repository/maven2</url>
        </repository>
        <repository>
            <id>jboss</id>
            <url>http://repository.jboss.org/maven2</url>
        </repository>


    </repositories>

    <dependencies>

        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>4.7</version>
            <scope>test</scope>
        </dependency>

        <dependency>
            <groupId>org.easymock</groupId>
            <artifactId>easymock</artifactId>
            <version>2.5.2</version>
            <scope>test</scope>
        </dependency>

        <dependency>
            <groupId>org.netbeans</groupId>
            <artifactId>jemmy</artifactId>
            <version>2.2.7.5</version>
            <scope>test</scope>
        </dependency>

        <dependency>
            <groupId>org.swinglabs</groupId>
            <artifactId>swing-worker</artifactId>
            <version>1.1</version>
        </dependency>
        <dependency>
            <groupId>org.swinglabs</groupId>
            <artifactId>swing-layout</artifactId>
            <version>1.0.3</version>
        </dependency>
        <dependency>
            <groupId>jfree</groupId>
            <artifactId>jcommon</artifactId>
            <version>1.0.15</version>
        </dependency>
        <dependency>
            <groupId>jfree</groupId>
            <artifactId>jfreechart</artifactId>
            <version>1.0.13</version>
        </dependency>
        <dependency>
            <groupId>mysql</groupId>
            <artifactId>mysql-connector-java</artifactId>
            <version>5.1.10</version>
        </dependency>
        <dependency>
            <groupId>log4j</groupId>
            <artifactId>log4j</artifactId>
            <version>1.2.15</version>
        </dependency>
        <dependency>
            <groupId>com.toedter</groupId>
            <artifactId>jcalendar</artifactId>
            <version>1.3.2</version>
        </dependency>
        <dependency>
            <groupId>com.jgoodies</groupId>
            <artifactId>looks</artifactId>
            <version>2.2.2</version>
        </dependency>
        <dependency>
            <groupId>org.apache.rampart</groupId>
            <artifactId>rampart-core</artifactId>
            <version>1.4</version>
        <!--    <exclusions>
                <exclusion>
                    <artifactId>addressing</artifactId>
                    <groupId>org.apache.axis2</groupId>
                </exclusion>
            </exclusions>-->
        </dependency>
        <dependency>
            <groupId>org.apache.axis2</groupId>
            <artifactId>axis2-kernel</artifactId>
            <version>1.4.1</version>
        </dependency>
        <dependency>
            <groupId>jasperreports</groupId>
            <artifactId>jasperreports</artifactId>
            <version>3.5.3</version>
        </dependency>
        <dependency>
            <groupId>commons-digester</groupId>
            <artifactId>commons-digester</artifactId>
            <version>2.0</version>
        </dependency>
        <dependency>
            <groupId>jexcelapi</groupId>
            <artifactId>jxl</artifactId>
            <version>2.4.2</version>
        </dependency>
        <dependency>
            <groupId>org.tango-project</groupId>
            <artifactId>tango-icon-theme</artifactId>
            <version>0.8.0</version>
        </dependency>

        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring</artifactId>
            <version>2.5.6.SEC01</version>
        </dependency>

        <dependency>
            <groupId>org.netbeans.external</groupId>
            <artifactId>AbsoluteLayout</artifactId>
            <version>RELEASE67</version>
        </dependency>
    </dependencies>

    <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    </properties>
</project>

Thank you.



-- 
Jaime Hablutzel

(tildes omitidas intencionalmente) 9 8964 0369

Re: Pro

Posted by Jaime Hablutzel Egoavil <ha...@gmail.com>.
Like this:

  <plugin>
                <groupId>org.apache.axis2</groupId>
                <artifactId>axis2-mar-maven-plugin</artifactId>
                <version>1.4</version>
                <executions>
                    <execution>
                        <id>make-assembly</id>
                        <phase>package</phase>
                        <goals>
                            <goal>mar</goal>
                        </goals>
                    </execution>
                </executions>
                <extensions>true</extensions>
                <!--
                <configuration>
                    <includeDependencies>false</includeDependencies>
                    <moduleXmlFile>module.xml</moduleXmlFile>
                </configuration>
                -->
            </plugin>


Thank you

On Fri, Nov 6, 2009 at 2:27 PM, Andreas Veithen
<an...@gmail.com>wrote:

> Jaime,
>
> Can you try with adding <extensions>true</extensions> to the
> declaration of the axis2-mar-maven-plugin?
>
> Andreas
>
> On Fri, Nov 6, 2009 at 18:17, Jaime Hablutzel Egoavil
> <ha...@gmail.com> wrote:
> > Hi, i´m trying to build a jar with dependencies included for a swing
> > application with an axis2 client and rampart 1.4 for Username Token
> > authentication, and, I´m getting the following error when trying. I think
> it
> > is related to the jar-with-dependencies maven descriptor.
> >
> >> mvn install
> >
> >
> > [INFO] Failed to create assembly: Error adding file-set for
> > 'org.apache.axis2:ad
> > dressing:mar:1.4' to archive: Error adding archived file-set.
> > PlexusIoResourceCo
> > llection not found for:
> > C:\m2\repo\org\apache\axis2\addressing\1.4\addressing-1.
> > 4.mar
> >
> > No such archiver: 'mar'.
> >
> > By the way, my pom is:
> >
> >
> > <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">
> >    <modelVersion>4.0.0</modelVersion>
> >    <groupId>pe.gob.hndac</groupId>
> >    <artifactId>epicrisis</artifactId>
> >    <packaging>jar</packaging>
> >    <version>1.0-SNAPSHOT</version>
> >    <name>ModuloEpicrisis</name>
> >    <build>
> >        <plugins>
> >            <plugin>
> >                <groupId>org.apache.maven.plugins</groupId>
> >                <artifactId>maven-compiler-plugin</artifactId>
> >                <version>2.0.2</version>
> >                <configuration>
> >                    <source>1.6</source>
> >                    <target>1.6</target>
> >                    <encoding>UTF-8</encoding>
> >                </configuration>
> >            </plugin>
> >
> >
> >            <plugin>
> >                <groupId>org.apache.maven.plugins</groupId>
> >                <artifactId>maven-source-plugin</artifactId>
> >                <executions>
> >                    <execution>
> >                        <phase>package</phase>
> >                        <goals>
> >                            <goal>jar</goal>
> >                        </goals>
> >                    </execution>
> >                </executions>
> >            </plugin>
> >
> >
> >            <plugin>
> >                <groupId>org.apache.maven.plugins</groupId>
> >                <artifactId>maven-jar-plugin</artifactId>
> >                <configuration>
> >                    <archive>
> >                        <manifest>
> >                            <addClasspath>true</addClasspath>
> >
> > <mainClass>Epicrisis.FrameInicioSesion</mainClass>
> >                        </manifest>
> >                    </archive>
> >                </configuration>
> >            </plugin>
> >
> >
> >
> >            <plugin>
> >                <artifactId>maven-assembly-plugin</artifactId>
> >                <configuration>
> >                    <descriptorRefs>
> >
>  <descriptorRef>jar-with-dependencies</descriptorRef>
> >                    </descriptorRefs>
> >                    <archive>
> >                        <manifest>
> >
> > <mainClass>Epicrisis.FrameInicioSesion</mainClass>
> >                        </manifest>
> >                    </archive>
> >                </configuration>
> >                <executions>
> >                    <execution>
> >                        <id>make-assembly</id>
> >                        <phase>package</phase>
> >                        <goals>
> >                            <goal>attached</goal>
> >                        </goals>
> >                    </execution>
> >                </executions>
> >            </plugin>
> >
> >            <plugin>
> >                <groupId>org.apache.axis2</groupId>
> >                <artifactId>axis2-mar-maven-plugin</artifactId>
> >                <version>1.4</version>
> >            </plugin>
> >
> >        </plugins>
> >
> >
> >    </build>
> >
> >    <repositories>
> >        <repository>
> >            <id>netbeans</id>
> >            <name>Netbeans</name>
> >            <url>http://bits.nbextras.org/maven2</url>
> >        </repository>
> >        <repository>
> >            <id>52north</id>
> > <!--            <name>Netbeans</name> -->
> >            <url>http://incubator.52north.org/maven/maven-repo/releases
> > </url>
> >        </repository>
> >        <repository>
> >            <id>eviware</id>
> >            <url>http://www.eviware.com/repository/maven2</url>
> >        </repository>
> >        <repository>
> >            <id>jboss</id>
> >            <url>http://repository.jboss.org/maven2</url>
> >        </repository>
> >
> >
> >    </repositories>
> >
> >    <dependencies>
> >
> >        <dependency>
> >            <groupId>junit</groupId>
> >            <artifactId>junit</artifactId>
> >            <version>4.7</version>
> >            <scope>test</scope>
> >        </dependency>
> >
> >        <dependency>
> >            <groupId>org.easymock</groupId>
> >            <artifactId>easymock</artifactId>
> >            <version>2.5.2</version>
> >            <scope>test</scope>
> >        </dependency>
> >
> >        <dependency>
> >            <groupId>org.netbeans</groupId>
> >            <artifactId>jemmy</artifactId>
> >            <version>2.2.7.5</version>
> >            <scope>test</scope>
> >        </dependency>
> >
> >        <dependency>
> >            <groupId>org.swinglabs</groupId>
> >            <artifactId>swing-worker</artifactId>
> >            <version>1.1</version>
> >        </dependency>
> >        <dependency>
> >            <groupId>org.swinglabs</groupId>
> >            <artifactId>swing-layout</artifactId>
> >            <version>1.0.3</version>
> >        </dependency>
> >        <dependency>
> >            <groupId>jfree</groupId>
> >            <artifactId>jcommon</artifactId>
> >            <version>1.0.15</version>
> >        </dependency>
> >        <dependency>
> >            <groupId>jfree</groupId>
> >            <artifactId>jfreechart</artifactId>
> >            <version>1.0.13</version>
> >        </dependency>
> >        <dependency>
> >            <groupId>mysql</groupId>
> >            <artifactId>mysql-connector-java</artifactId>
> >            <version>5.1.10</version>
> >        </dependency>
> >        <dependency>
> >            <groupId>log4j</groupId>
> >            <artifactId>log4j</artifactId>
> >            <version>1.2.15</version>
> >        </dependency>
> >        <dependency>
> >            <groupId>com.toedter</groupId>
> >            <artifactId>jcalendar</artifactId>
> >            <version>1.3.2</version>
> >        </dependency>
> >        <dependency>
> >            <groupId>com.jgoodies</groupId>
> >            <artifactId>looks</artifactId>
> >            <version>2.2.2</version>
> >        </dependency>
> >        <dependency>
> >            <groupId>org.apache.rampart</groupId>
> >            <artifactId>rampart-core</artifactId>
> >            <version>1.4</version>
> >        <!--    <exclusions>
> >                <exclusion>
> >                    <artifactId>addressing</artifactId>
> >                    <groupId>org.apache.axis2</groupId>
> >                </exclusion>
> >            </exclusions>-->
> >        </dependency>
> >        <dependency>
> >            <groupId>org.apache.axis2</groupId>
> >            <artifactId>axis2-kernel</artifactId>
> >            <version>1.4.1</version>
> >        </dependency>
> >        <dependency>
> >            <groupId>jasperreports</groupId>
> >            <artifactId>jasperreports</artifactId>
> >            <version>3.5.3</version>
> >        </dependency>
> >        <dependency>
> >            <groupId>commons-digester</groupId>
> >            <artifactId>commons-digester</artifactId>
> >            <version>2.0</version>
> >        </dependency>
> >        <dependency>
> >            <groupId>jexcelapi</groupId>
> >            <artifactId>jxl</artifactId>
> >            <version>2.4.2</version>
> >        </dependency>
> >        <dependency>
> >            <groupId>org.tango-project</groupId>
> >            <artifactId>tango-icon-theme</artifactId>
> >            <version>0.8.0</version>
> >        </dependency>
> >
> >        <dependency>
> >            <groupId>org.springframework</groupId>
> >            <artifactId>spring</artifactId>
> >            <version>2.5.6.SEC01</version>
> >        </dependency>
> >
> >        <dependency>
> >            <groupId>org.netbeans.external</groupId>
> >            <artifactId>AbsoluteLayout</artifactId>
> >            <version>RELEASE67</version>
> >        </dependency>
> >    </dependencies>
> >
> >    <properties>
> >        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
> >    </properties>
> > </project>
> >
> > Thank you.
> >
> >
> >
> > --
> > Jaime Hablutzel
> >
> > (tildes omitidas intencionalmente) 9 8964 0369
> >
>



-- 
Jaime Hablutzel

(tildes omitidas intencionalmente) 9 8964 0369

Re: Pro

Posted by Andreas Veithen <an...@gmail.com>.
Jaime,

Can you try with adding <extensions>true</extensions> to the
declaration of the axis2-mar-maven-plugin?

Andreas

On Fri, Nov 6, 2009 at 18:17, Jaime Hablutzel Egoavil
<ha...@gmail.com> wrote:
> Hi, i´m trying to build a jar with dependencies included for a swing
> application with an axis2 client and rampart 1.4 for Username Token
> authentication, and, I´m getting the following error when trying. I think it
> is related to the jar-with-dependencies maven descriptor.
>
>> mvn install
>
>
> [INFO] Failed to create assembly: Error adding file-set for
> 'org.apache.axis2:ad
> dressing:mar:1.4' to archive: Error adding archived file-set.
> PlexusIoResourceCo
> llection not found for:
> C:\m2\repo\org\apache\axis2\addressing\1.4\addressing-1.
> 4.mar
>
> No such archiver: 'mar'.
>
> By the way, my pom is:
>
>
> <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">
>    <modelVersion>4.0.0</modelVersion>
>    <groupId>pe.gob.hndac</groupId>
>    <artifactId>epicrisis</artifactId>
>    <packaging>jar</packaging>
>    <version>1.0-SNAPSHOT</version>
>    <name>ModuloEpicrisis</name>
>    <build>
>        <plugins>
>            <plugin>
>                <groupId>org.apache.maven.plugins</groupId>
>                <artifactId>maven-compiler-plugin</artifactId>
>                <version>2.0.2</version>
>                <configuration>
>                    <source>1.6</source>
>                    <target>1.6</target>
>                    <encoding>UTF-8</encoding>
>                </configuration>
>            </plugin>
>
>
>            <plugin>
>                <groupId>org.apache.maven.plugins</groupId>
>                <artifactId>maven-source-plugin</artifactId>
>                <executions>
>                    <execution>
>                        <phase>package</phase>
>                        <goals>
>                            <goal>jar</goal>
>                        </goals>
>                    </execution>
>                </executions>
>            </plugin>
>
>
>            <plugin>
>                <groupId>org.apache.maven.plugins</groupId>
>                <artifactId>maven-jar-plugin</artifactId>
>                <configuration>
>                    <archive>
>                        <manifest>
>                            <addClasspath>true</addClasspath>
>
> <mainClass>Epicrisis.FrameInicioSesion</mainClass>
>                        </manifest>
>                    </archive>
>                </configuration>
>            </plugin>
>
>
>
>            <plugin>
>                <artifactId>maven-assembly-plugin</artifactId>
>                <configuration>
>                    <descriptorRefs>
>                        <descriptorRef>jar-with-dependencies</descriptorRef>
>                    </descriptorRefs>
>                    <archive>
>                        <manifest>
>
> <mainClass>Epicrisis.FrameInicioSesion</mainClass>
>                        </manifest>
>                    </archive>
>                </configuration>
>                <executions>
>                    <execution>
>                        <id>make-assembly</id>
>                        <phase>package</phase>
>                        <goals>
>                            <goal>attached</goal>
>                        </goals>
>                    </execution>
>                </executions>
>            </plugin>
>
>            <plugin>
>                <groupId>org.apache.axis2</groupId>
>                <artifactId>axis2-mar-maven-plugin</artifactId>
>                <version>1.4</version>
>            </plugin>
>
>        </plugins>
>
>
>    </build>
>
>    <repositories>
>        <repository>
>            <id>netbeans</id>
>            <name>Netbeans</name>
>            <url>http://bits.nbextras.org/maven2</url>
>        </repository>
>        <repository>
>            <id>52north</id>
> <!--            <name>Netbeans</name> -->
>            <url>http://incubator.52north.org/maven/maven-repo/releases
> </url>
>        </repository>
>        <repository>
>            <id>eviware</id>
>            <url>http://www.eviware.com/repository/maven2</url>
>        </repository>
>        <repository>
>            <id>jboss</id>
>            <url>http://repository.jboss.org/maven2</url>
>        </repository>
>
>
>    </repositories>
>
>    <dependencies>
>
>        <dependency>
>            <groupId>junit</groupId>
>            <artifactId>junit</artifactId>
>            <version>4.7</version>
>            <scope>test</scope>
>        </dependency>
>
>        <dependency>
>            <groupId>org.easymock</groupId>
>            <artifactId>easymock</artifactId>
>            <version>2.5.2</version>
>            <scope>test</scope>
>        </dependency>
>
>        <dependency>
>            <groupId>org.netbeans</groupId>
>            <artifactId>jemmy</artifactId>
>            <version>2.2.7.5</version>
>            <scope>test</scope>
>        </dependency>
>
>        <dependency>
>            <groupId>org.swinglabs</groupId>
>            <artifactId>swing-worker</artifactId>
>            <version>1.1</version>
>        </dependency>
>        <dependency>
>            <groupId>org.swinglabs</groupId>
>            <artifactId>swing-layout</artifactId>
>            <version>1.0.3</version>
>        </dependency>
>        <dependency>
>            <groupId>jfree</groupId>
>            <artifactId>jcommon</artifactId>
>            <version>1.0.15</version>
>        </dependency>
>        <dependency>
>            <groupId>jfree</groupId>
>            <artifactId>jfreechart</artifactId>
>            <version>1.0.13</version>
>        </dependency>
>        <dependency>
>            <groupId>mysql</groupId>
>            <artifactId>mysql-connector-java</artifactId>
>            <version>5.1.10</version>
>        </dependency>
>        <dependency>
>            <groupId>log4j</groupId>
>            <artifactId>log4j</artifactId>
>            <version>1.2.15</version>
>        </dependency>
>        <dependency>
>            <groupId>com.toedter</groupId>
>            <artifactId>jcalendar</artifactId>
>            <version>1.3.2</version>
>        </dependency>
>        <dependency>
>            <groupId>com.jgoodies</groupId>
>            <artifactId>looks</artifactId>
>            <version>2.2.2</version>
>        </dependency>
>        <dependency>
>            <groupId>org.apache.rampart</groupId>
>            <artifactId>rampart-core</artifactId>
>            <version>1.4</version>
>        <!--    <exclusions>
>                <exclusion>
>                    <artifactId>addressing</artifactId>
>                    <groupId>org.apache.axis2</groupId>
>                </exclusion>
>            </exclusions>-->
>        </dependency>
>        <dependency>
>            <groupId>org.apache.axis2</groupId>
>            <artifactId>axis2-kernel</artifactId>
>            <version>1.4.1</version>
>        </dependency>
>        <dependency>
>            <groupId>jasperreports</groupId>
>            <artifactId>jasperreports</artifactId>
>            <version>3.5.3</version>
>        </dependency>
>        <dependency>
>            <groupId>commons-digester</groupId>
>            <artifactId>commons-digester</artifactId>
>            <version>2.0</version>
>        </dependency>
>        <dependency>
>            <groupId>jexcelapi</groupId>
>            <artifactId>jxl</artifactId>
>            <version>2.4.2</version>
>        </dependency>
>        <dependency>
>            <groupId>org.tango-project</groupId>
>            <artifactId>tango-icon-theme</artifactId>
>            <version>0.8.0</version>
>        </dependency>
>
>        <dependency>
>            <groupId>org.springframework</groupId>
>            <artifactId>spring</artifactId>
>            <version>2.5.6.SEC01</version>
>        </dependency>
>
>        <dependency>
>            <groupId>org.netbeans.external</groupId>
>            <artifactId>AbsoluteLayout</artifactId>
>            <version>RELEASE67</version>
>        </dependency>
>    </dependencies>
>
>    <properties>
>        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
>    </properties>
> </project>
>
> Thank you.
>
>
>
> --
> Jaime Hablutzel
>
> (tildes omitidas intencionalmente) 9 8964 0369
>

Re: Pro

Posted by Jaime Hablutzel Egoavil <ha...@gmail.com>.
hola, me gustaria saber por que debo cambiar el repositorio al repositorio
por defecto:

${user.home}/.m2/repository/
>
> org/apache/axis2/addressing


Pero, como decia, mi problema realmente tiene que ver con el empaquetado,
pues recibo aquel error cuando hago:

mvn install

Y al parecer, el plugin, maven-assembly no sabe por defecto como reaccionar
ante dependencias .mar.

Gracias.




On Fri, Nov 6, 2009 at 12:57 PM, Martin Gainty <mg...@hotmail.com> wrote:

>
> necesita cambia a .m2 depósito por ejemplo
> necesita cmabia a carpeta del depósito por ejemplo
>
> ${user.home}/.m2/repository/org/apache/axis2/addressing
>
> 01/01/2002  12:12    <DIR>          .
> 01/01/2002  12:12    <DIR>          ..
> 01/01/2002  12:12    <DIR>          1.3
> 01/01/2002  12:12    <DIR>          1.4-SNAPSHOT
> 01/01/2002  08:00    <DIR>          1.5
> 28/09/2009  15:12               300 maven-metadata-local.xml
> 01/01/2002  12:12    <DIR>          SNAPSHOT
>               1 File(s)            300 bytes
>
> entonces  cambia a 1.4* carpeta y mira en el contenido
>
> 01/01/2002  12:12    <DIR>          .
> 01/01/2002  12:12    <DIR>          ..
> 22/04/2000  17:02            34.149 addressing-1.4-20080421.161536-24.mar
> 22/04/2000  17:02                40
> addressing-1.4-20080421.161536-24.mar.sha1
> 22/04/2008  15:38             3.454 addressing-1.4-20080421.161536-24.pom
> 22/04/2008  15:38                40
> addressing-1.4-20080421.161536-24.pom.sha1
> 22/04/2008  15:38                40
> addressing-1.4-20080421.161536-24.pom.tmp.sh
> a1.tmp
> 22/04/2000  17:02            34.149 addressing-1.4-SNAPSHOT.mar
> 22/04/2008  15:38             3.454 addressing-1.4-SNAPSHOT.pom
> 22/04/2000  17:00               359 maven-metadata-apache.snapshots.xml
> 22/04/2008  15:38                40
> maven-metadata-apache.snapshots.xml.sha1
> 22/04/2008  15:38                40
> maven-metadata-apache.snapshots.xml.tmp.sha1
> .tmp
> 22/04/2000  17:00               170 maven-metadata-wso2-m2.xml
>
> entonces exhiba los detalles del archivo pom.xml
>
> <?xml version="1.0" encoding="UTF-8"?>
> <!--
>  ~ Licensed to the Apache Software Foundation (ASF) under one
>  ~ or more contributor license agreements. See the NOTICE file
>  ~ distributed with this work for additional information
>  ~ regarding copyright ownership. The ASF licenses this file
>  ~ to you under the Apache License, Version 2.0 (the
>  ~ "License"); you may not use this file except in compliance
>  ~ with the License. You may obtain a copy of the License at
>  ~
>  ~ http://www.apache.org/licenses/LICENSE-2.0
>  ~
>  ~ Unless required by applicable law or agreed to in writing,
>  ~ software distributed under the License is distributed on an
>  ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
>  ~ KIND, either express or implied. See the License for the
>  ~ specific language governing permissions and limitations
>  ~ under the License.
>  -->
>
> <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">
>    <modelVersion>4.0.0</modelVersion>
>     <parent>
>         <groupId>org.apache.axis2</groupId>
>         <artifactId>axis2-parent</artifactId>
>        <version>1.4-SNAPSHOT</version>
>        <relativePath>../parent/pom.xml</relativePath>
>    </parent>
>    <artifactId>addressing</artifactId>
>    <packaging>mar</packaging>
>    <name>Apache Axis2 - Addressing</name>
>    <description>WS-Addressing implementation</description>
>    <dependencies>
>         <dependency>
>            <groupId>org.apache.axis2</groupId>
>            <artifactId>axis2-kernel</artifactId>
>             <version>${version}</version>
>        </dependency>
>    </dependencies>
>    <build>
>        <sourceDirectory>src</sourceDirectory>
>        <testSourceDirectory>test</testSourceDirectory>
>        <resources>
>            <resource>
>                <directory>conf</directory>
>                <excludes>
>                    <exclude>**/*.properties</exclude>
>                </excludes>
>                <filtering>false</filtering>
>            </resource>
>            <resource>
>                <directory>src</directory>
>                <excludes>
>                    <exclude>**/*.java</exclude>
>                </excludes>
>            </resource>
>        </resources>
>        <testResources>
>            <testResource>
>                <targetPath>../test-resources</targetPath>
>                <directory>test-resources</directory>
>                <includes>
>                    <include>**/**</include>
>                </includes>
>            </testResource>
>        </testResources>
>        <plugins>
>            <plugin>
>                <artifactId>maven-surefire-plugin</artifactId>
>                <inherited>true</inherited>
>                <configuration>
>                    <skip>false</skip>
>                    <excludes>
>                        <exclude>**/*Util.java</exclude>
>                    </excludes>
>                </configuration>
>            </plugin>
>            <plugin>
>                 <groupId>org.apache.axis2</groupId>
>                <artifactId>axis2-mar-maven-plugin</artifactId>
>                 <version>${version}</version>
>                <extensions>true</extensions>
>                <configuration>
>                    <includeDependencies>false</includeDependencies>
>                </configuration>
>            </plugin>
>        </plugins>
>    </build>
> </project>
>
> Saludos Cordiales desde EEUU
> Martin Gainty
> Qué estamos haciendo de hecho es de recuperación y de progreso y de
> mantenimiento de la recuperación de nuestra democracia. - A Fujimori
> ______________________________________________
> No altere/modifique o interrumpa esta transmisión-Gracias
>
>
>
>
> > From: hablutzel1@gmail.com
> > Date: Fri, 6 Nov 2009 12:17:16 -0500
> > Subject: Pro
> > To: rampart-dev@ws.apache.org
> >
> > Hi, i´m trying to build a jar with dependencies included for a swing
> > application with an axis2 client and rampart 1.4 for Username Token
> > authentication, and, I´m getting the following error when trying. I think
> it
> > is related to the jar-with-dependencies maven descriptor.
> >
> > > mvn install
> >
> >
> > [INFO] Failed to create assembly: Error adding file-set for
> > 'org.apache.axis2:ad
> > dressing:mar:1.4' to archive: Error adding archived file-set.
> > PlexusIoResourceCo
> > llection not found for:
> > C:\m2\repo\org\apache\axis2\addressing\1.4\addressing-1.
> > 4.mar
> >
> > No such archiver: 'mar'.
> >
> > By the way, my pom is:
> >
> >
> > <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">
> >     <modelVersion>4.0.0</modelVersion>
> >     <groupId>pe.gob.hndac</groupId>
> >     <artifactId>epicrisis</artifactId>
> >     <packaging>jar</packaging>
> >     <version>1.0-SNAPSHOT</version>
> >     <name>ModuloEpicrisis</name>
> >     <build>
> >         <plugins>
> >             <plugin>
> >                 <groupId>org.apache.maven.plugins</groupId>
> >                 <artifactId>maven-compiler-plugin</artifactId>
> >                 <version>2.0.2</version>
> >                 <configuration>
> >                     <source>1.6</source>
> >                     <target>1.6</target>
> >                     <encoding>UTF-8</encoding>
> >                 </configuration>
> >             </plugin>
> >
> >
> >             <plugin>
> >                 <groupId>org.apache.maven.plugins</groupId>
> >                 <artifactId>maven-source-plugin</artifactId>
> >                 <executions>
> >                     <execution>
> >                         <phase>package</phase>
> >                         <goals>
> >                             <goal>jar</goal>
> >                         </goals>
> >                     </execution>
> >                 </executions>
> >             </plugin>
> >
> >
> >             <plugin>
> >                 <groupId>org.apache.maven.plugins</groupId>
> >                 <artifactId>maven-jar-plugin</artifactId>
> >                 <configuration>
> >                     <archive>
> >                         <manifest>
> >                             <addClasspath>true</addClasspath>
> >
> > <mainClass>Epicrisis.FrameInicioSesion</mainClass>
> >                         </manifest>
> >                     </archive>
> >                 </configuration>
> >             </plugin>
> >
> >
> >
> >             <plugin>
> >                 <artifactId>maven-assembly-plugin</artifactId>
> >                 <configuration>
> >                     <descriptorRefs>
> >
> <descriptorRef>jar-with-dependencies</descriptorRef>
> >                     </descriptorRefs>
> >                     <archive>
> >                         <manifest>
> >
> > <mainClass>Epicrisis.FrameInicioSesion</mainClass>
> >                         </manifest>
> >                     </archive>
> >                 </configuration>
> >                 <executions>
> >                     <execution>
> >                         <id>make-assembly</id>
> >                         <phase>package</phase>
> >                         <goals>
> >                             <goal>attached</goal>
> >                         </goals>
> >                     </execution>
> >                 </executions>
> >             </plugin>
> >
> >             <plugin>
> >                 <groupId>org.apache.axis2</groupId>
> >                 <artifactId>axis2-mar-maven-plugin</artifactId>
> >                 <version>1.4</version>
> >             </plugin>
> >
> >         </plugins>
> >
> >
> >     </build>
> >
> >     <repositories>
> >         <repository>
> >             <id>netbeans</id>
> >             <name>Netbeans</name>
> >             <url>http://bits.nbextras.org/maven2</url>
> >         </repository>
> >         <repository>
> >             <id>52north</id>
> > <!--            <name>Netbeans</name> -->
> >             <url>http://incubator.52north.org/maven/maven-repo/releases
> > </url>
> >         </repository>
> >         <repository>
> >             <id>eviware</id>
> >             <url>http://www.eviware.com/repository/maven2</url>
> >         </repository>
> >         <repository>
> >             <id>jboss</id>
> >             <url>http://repository.jboss.org/maven2</url>
> >         </repository>
> >
> >
> >     </repositories>
> >
> >     <dependencies>
> >
> >         <dependency>
> >             <groupId>junit</groupId>
> >             <artifactId>junit</artifactId>
> >             <version>4.7</version>
> >             <scope>test</scope>
> >         </dependency>
> >
> >         <dependency>
> >             <groupId>org.easymock</groupId>
> >             <artifactId>easymock</artifactId>
> >             <version>2.5.2</version>
> >             <scope>test</scope>
> >         </dependency>
> >
> >         <dependency>
> >             <groupId>org.netbeans</groupId>
> >             <artifactId>jemmy</artifactId>
> >             <version>2.2.7.5</version>
> >             <scope>test</scope>
> >         </dependency>
> >
> >         <dependency>
> >             <groupId>org.swinglabs</groupId>
> >             <artifactId>swing-worker</artifactId>
> >             <version>1.1</version>
> >         </dependency>
> >         <dependency>
> >             <groupId>org.swinglabs</groupId>
> >             <artifactId>swing-layout</artifactId>
> >             <version>1.0.3</version>
> >         </dependency>
> >         <dependency>
> >             <groupId>jfree</groupId>
> >             <artifactId>jcommon</artifactId>
> >             <version>1.0.15</version>
> >         </dependency>
> >         <dependency>
> >             <groupId>jfree</groupId>
> >             <artifactId>jfreechart</artifactId>
> >             <version>1.0.13</version>
> >         </dependency>
> >         <dependency>
> >             <groupId>mysql</groupId>
> >             <artifactId>mysql-connector-java</artifactId>
> >             <version>5.1.10</version>
> >         </dependency>
> >         <dependency>
> >             <groupId>log4j</groupId>
> >             <artifactId>log4j</artifactId>
> >             <version>1.2.15</version>
> >         </dependency>
> >         <dependency>
> >             <groupId>com.toedter</groupId>
> >             <artifactId>jcalendar</artifactId>
> >             <version>1.3.2</version>
> >         </dependency>
> >         <dependency>
> >             <groupId>com.jgoodies</groupId>
> >             <artifactId>looks</artifactId>
> >             <version>2.2.2</version>
> >         </dependency>
> >         <dependency>
> >             <groupId>org.apache.rampart</groupId>
> >             <artifactId>rampart-core</artifactId>
> >             <version>1.4</version>
> >         <!--    <exclusions>
> >                 <exclusion>
> >                     <artifactId>addressing</artifactId>
> >                     <groupId>org.apache.axis2</groupId>
> >                 </exclusion>
> >             </exclusions>-->
> >         </dependency>
> >         <dependency>
> >             <groupId>org.apache.axis2</groupId>
> >             <artifactId>axis2-kernel</artifactId>
> >             <version>1.4.1</version>
> >         </dependency>
> >         <dependency>
> >             <groupId>jasperreports</groupId>
> >             <artifactId>jasperreports</artifactId>
> >             <version>3.5.3</version>
> >         </dependency>
> >         <dependency>
> >             <groupId>commons-digester</groupId>
> >             <artifactId>commons-digester</artifactId>
> >             <version>2.0</version>
> >         </dependency>
> >         <dependency>
> >             <groupId>jexcelapi</groupId>
> >             <artifactId>jxl</artifactId>
> >             <version>2.4.2</version>
> >         </dependency>
> >         <dependency>
> >             <groupId>org.tango-project</groupId>
> >             <artifactId>tango-icon-theme</artifactId>
> >             <version>0.8.0</version>
> >         </dependency>
> >
> >         <dependency>
> >             <groupId>org.springframework</groupId>
> >             <artifactId>spring</artifactId>
> >             <version>2.5.6.SEC01</version>
> >         </dependency>
> >
> >         <dependency>
> >             <groupId>org.netbeans.external</groupId>
> >             <artifactId>AbsoluteLayout</artifactId>
> >             <version>RELEASE67</version>
> >         </dependency>
> >     </dependencies>
> >
> >     <properties>
> >
> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
> >     </properties>
> > </project>
> >
> > Thank you.
> >
> >
> >
> > --
> > Jaime Hablutzel
> >
> > (tildes omitidas intencionalmente) 9 8964 0369
>
> _________________________________________________________________
> Hotmail: Trusted email with Microsoft's powerful SPAM protection.
> http://clk.atdmt.com/GBL/go/177141664/direct/01/
> http://clk.atdmt.com/GBL/go/177141664/direct/01/
>



-- 
Jaime Hablutzel

(tildes omitidas intencionalmente) 9 8964 0369

Retrieving Nonce and Created from UsernameToken

Posted by "Doughty, Michael" <Mi...@bmc.com>.
It's my impression that when using the new per-service method of establishing security policies, it is not currently possible to set up a requirement for a UsernameToken in PasswordText encoding that requires Nonce and Created values.  However, is there a way to do that myself through my own adapter?  Is it possible to retrieve the Nonce and Created values from a UsernameToken from within an adapter that is executed on each incoming request?  If so, how?

Re: Pro

Posted by Andreas Veithen <an...@gmail.com>.
Martin,

May I kindly remind you that this is an English speaking mailing list?

Thanks,

Andreas

On Fri, Nov 6, 2009 at 18:57, Martin Gainty <mg...@hotmail.com> wrote:
>
> necesita cambia a .m2 depósito por ejemplo
> necesita cmabia a carpeta del depósito por ejemplo
>
> ${user.home}/.m2/repository/org/apache/axis2/addressing
>
> 01/01/2002  12:12    <DIR>          .
> 01/01/2002  12:12    <DIR>          ..
> 01/01/2002  12:12    <DIR>          1.3
> 01/01/2002  12:12    <DIR>          1.4-SNAPSHOT
> 01/01/2002  08:00    <DIR>          1.5
> 28/09/2009  15:12               300 maven-metadata-local.xml
> 01/01/2002  12:12    <DIR>          SNAPSHOT
>               1 File(s)            300 bytes
>
> entonces  cambia a 1.4* carpeta y mira en el contenido
>
> 01/01/2002  12:12    <DIR>          .
> 01/01/2002  12:12    <DIR>          ..
> 22/04/2000  17:02            34.149 addressing-1.4-20080421.161536-24.mar
> 22/04/2000  17:02                40 addressing-1.4-20080421.161536-24.mar.sha1
> 22/04/2008  15:38             3.454 addressing-1.4-20080421.161536-24.pom
> 22/04/2008  15:38                40 addressing-1.4-20080421.161536-24.pom.sha1
> 22/04/2008  15:38                40 addressing-1.4-20080421.161536-24.pom.tmp.sh
> a1.tmp
> 22/04/2000  17:02            34.149 addressing-1.4-SNAPSHOT.mar
> 22/04/2008  15:38             3.454 addressing-1.4-SNAPSHOT.pom
> 22/04/2000  17:00               359 maven-metadata-apache.snapshots.xml
> 22/04/2008  15:38                40 maven-metadata-apache.snapshots.xml.sha1
> 22/04/2008  15:38                40 maven-metadata-apache.snapshots.xml.tmp.sha1
> .tmp
> 22/04/2000  17:00               170 maven-metadata-wso2-m2.xml
>
> entonces exhiba los detalles del archivo pom.xml
>
> <?xml version="1.0" encoding="UTF-8"?>
> <!--
>  ~ Licensed to the Apache Software Foundation (ASF) under one
>  ~ or more contributor license agreements. See the NOTICE file
>  ~ distributed with this work for additional information
>  ~ regarding copyright ownership. The ASF licenses this file
>  ~ to you under the Apache License, Version 2.0 (the
>  ~ "License"); you may not use this file except in compliance
>  ~ with the License. You may obtain a copy of the License at
>  ~
>  ~ http://www.apache.org/licenses/LICENSE-2.0
>  ~
>  ~ Unless required by applicable law or agreed to in writing,
>  ~ software distributed under the License is distributed on an
>  ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
>  ~ KIND, either express or implied. See the License for the
>  ~ specific language governing permissions and limitations
>  ~ under the License.
>  -->
>
> <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">
>    <modelVersion>4.0.0</modelVersion>
>    <parent>
>        <groupId>org.apache.axis2</groupId>
>        <artifactId>axis2-parent</artifactId>
>        <version>1.4-SNAPSHOT</version>
>        <relativePath>../parent/pom.xml</relativePath>
>    </parent>
>    <artifactId>addressing</artifactId>
>    <packaging>mar</packaging>
>    <name>Apache Axis2 - Addressing</name>
>    <description>WS-Addressing implementation</description>
>    <dependencies>
>        <dependency>
>            <groupId>org.apache.axis2</groupId>
>            <artifactId>axis2-kernel</artifactId>
>            <version>${version}</version>
>        </dependency>
>    </dependencies>
>    <build>
>        <sourceDirectory>src</sourceDirectory>
>        <testSourceDirectory>test</testSourceDirectory>
>        <resources>
>            <resource>
>                <directory>conf</directory>
>                <excludes>
>                    <exclude>**/*.properties</exclude>
>                </excludes>
>                <filtering>false</filtering>
>            </resource>
>            <resource>
>                <directory>src</directory>
>                <excludes>
>                    <exclude>**/*.java</exclude>
>                </excludes>
>            </resource>
>        </resources>
>        <testResources>
>            <testResource>
>                <targetPath>../test-resources</targetPath>
>                <directory>test-resources</directory>
>                <includes>
>                    <include>**/**</include>
>                </includes>
>            </testResource>
>        </testResources>
>        <plugins>
>            <plugin>
>                <artifactId>maven-surefire-plugin</artifactId>
>                <inherited>true</inherited>
>                <configuration>
>                    <skip>false</skip>
>                    <excludes>
>                        <exclude>**/*Util.java</exclude>
>                    </excludes>
>                </configuration>
>            </plugin>
>            <plugin>
>                <groupId>org.apache.axis2</groupId>
>                <artifactId>axis2-mar-maven-plugin</artifactId>
>                <version>${version}</version>
>                <extensions>true</extensions>
>                <configuration>
>                    <includeDependencies>false</includeDependencies>
>                </configuration>
>            </plugin>
>        </plugins>
>    </build>
> </project>
>
> Saludos Cordiales desde EEUU
> Martin Gainty
> Qué estamos haciendo de hecho es de recuperación y de progreso y de mantenimiento de la recuperación de nuestra democracia. - A Fujimori
> ______________________________________________
> No altere/modifique o interrumpa esta transmisión-Gracias
>
>
>
>
>> From: hablutzel1@gmail.com
>> Date: Fri, 6 Nov 2009 12:17:16 -0500
>> Subject: Pro
>> To: rampart-dev@ws.apache.org
>>
>> Hi, i´m trying to build a jar with dependencies included for a swing
>> application with an axis2 client and rampart 1.4 for Username Token
>> authentication, and, I´m getting the following error when trying. I think it
>> is related to the jar-with-dependencies maven descriptor.
>>
>> > mvn install
>>
>>
>> [INFO] Failed to create assembly: Error adding file-set for
>> 'org.apache.axis2:ad
>> dressing:mar:1.4' to archive: Error adding archived file-set.
>> PlexusIoResourceCo
>> llection not found for:
>> C:\m2\repo\org\apache\axis2\addressing\1.4\addressing-1.
>> 4.mar
>>
>> No such archiver: 'mar'.
>>
>> By the way, my pom is:
>>
>>
>> <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">
>>     <modelVersion>4.0.0</modelVersion>
>>     <groupId>pe.gob.hndac</groupId>
>>     <artifactId>epicrisis</artifactId>
>>     <packaging>jar</packaging>
>>     <version>1.0-SNAPSHOT</version>
>>     <name>ModuloEpicrisis</name>
>>     <build>
>>         <plugins>
>>             <plugin>
>>                 <groupId>org.apache.maven.plugins</groupId>
>>                 <artifactId>maven-compiler-plugin</artifactId>
>>                 <version>2.0.2</version>
>>                 <configuration>
>>                     <source>1.6</source>
>>                     <target>1.6</target>
>>                     <encoding>UTF-8</encoding>
>>                 </configuration>
>>             </plugin>
>>
>>
>>             <plugin>
>>                 <groupId>org.apache.maven.plugins</groupId>
>>                 <artifactId>maven-source-plugin</artifactId>
>>                 <executions>
>>                     <execution>
>>                         <phase>package</phase>
>>                         <goals>
>>                             <goal>jar</goal>
>>                         </goals>
>>                     </execution>
>>                 </executions>
>>             </plugin>
>>
>>
>>             <plugin>
>>                 <groupId>org.apache.maven.plugins</groupId>
>>                 <artifactId>maven-jar-plugin</artifactId>
>>                 <configuration>
>>                     <archive>
>>                         <manifest>
>>                             <addClasspath>true</addClasspath>
>>
>> <mainClass>Epicrisis.FrameInicioSesion</mainClass>
>>                         </manifest>
>>                     </archive>
>>                 </configuration>
>>             </plugin>
>>
>>
>>
>>             <plugin>
>>                 <artifactId>maven-assembly-plugin</artifactId>
>>                 <configuration>
>>                     <descriptorRefs>
>>                         <descriptorRef>jar-with-dependencies</descriptorRef>
>>                     </descriptorRefs>
>>                     <archive>
>>                         <manifest>
>>
>> <mainClass>Epicrisis.FrameInicioSesion</mainClass>
>>                         </manifest>
>>                     </archive>
>>                 </configuration>
>>                 <executions>
>>                     <execution>
>>                         <id>make-assembly</id>
>>                         <phase>package</phase>
>>                         <goals>
>>                             <goal>attached</goal>
>>                         </goals>
>>                     </execution>
>>                 </executions>
>>             </plugin>
>>
>>             <plugin>
>>                 <groupId>org.apache.axis2</groupId>
>>                 <artifactId>axis2-mar-maven-plugin</artifactId>
>>                 <version>1.4</version>
>>             </plugin>
>>
>>         </plugins>
>>
>>
>>     </build>
>>
>>     <repositories>
>>         <repository>
>>             <id>netbeans</id>
>>             <name>Netbeans</name>
>>             <url>http://bits.nbextras.org/maven2</url>
>>         </repository>
>>         <repository>
>>             <id>52north</id>
>> <!--            <name>Netbeans</name> -->
>>             <url>http://incubator.52north.org/maven/maven-repo/releases
>> </url>
>>         </repository>
>>         <repository>
>>             <id>eviware</id>
>>             <url>http://www.eviware.com/repository/maven2</url>
>>         </repository>
>>         <repository>
>>             <id>jboss</id>
>>             <url>http://repository.jboss.org/maven2</url>
>>         </repository>
>>
>>
>>     </repositories>
>>
>>     <dependencies>
>>
>>         <dependency>
>>             <groupId>junit</groupId>
>>             <artifactId>junit</artifactId>
>>             <version>4.7</version>
>>             <scope>test</scope>
>>         </dependency>
>>
>>         <dependency>
>>             <groupId>org.easymock</groupId>
>>             <artifactId>easymock</artifactId>
>>             <version>2.5.2</version>
>>             <scope>test</scope>
>>         </dependency>
>>
>>         <dependency>
>>             <groupId>org.netbeans</groupId>
>>             <artifactId>jemmy</artifactId>
>>             <version>2.2.7.5</version>
>>             <scope>test</scope>
>>         </dependency>
>>
>>         <dependency>
>>             <groupId>org.swinglabs</groupId>
>>             <artifactId>swing-worker</artifactId>
>>             <version>1.1</version>
>>         </dependency>
>>         <dependency>
>>             <groupId>org.swinglabs</groupId>
>>             <artifactId>swing-layout</artifactId>
>>             <version>1.0.3</version>
>>         </dependency>
>>         <dependency>
>>             <groupId>jfree</groupId>
>>             <artifactId>jcommon</artifactId>
>>             <version>1.0.15</version>
>>         </dependency>
>>         <dependency>
>>             <groupId>jfree</groupId>
>>             <artifactId>jfreechart</artifactId>
>>             <version>1.0.13</version>
>>         </dependency>
>>         <dependency>
>>             <groupId>mysql</groupId>
>>             <artifactId>mysql-connector-java</artifactId>
>>             <version>5.1.10</version>
>>         </dependency>
>>         <dependency>
>>             <groupId>log4j</groupId>
>>             <artifactId>log4j</artifactId>
>>             <version>1.2.15</version>
>>         </dependency>
>>         <dependency>
>>             <groupId>com.toedter</groupId>
>>             <artifactId>jcalendar</artifactId>
>>             <version>1.3.2</version>
>>         </dependency>
>>         <dependency>
>>             <groupId>com.jgoodies</groupId>
>>             <artifactId>looks</artifactId>
>>             <version>2.2.2</version>
>>         </dependency>
>>         <dependency>
>>             <groupId>org.apache.rampart</groupId>
>>             <artifactId>rampart-core</artifactId>
>>             <version>1.4</version>
>>         <!--    <exclusions>
>>                 <exclusion>
>>                     <artifactId>addressing</artifactId>
>>                     <groupId>org.apache.axis2</groupId>
>>                 </exclusion>
>>             </exclusions>-->
>>         </dependency>
>>         <dependency>
>>             <groupId>org.apache.axis2</groupId>
>>             <artifactId>axis2-kernel</artifactId>
>>             <version>1.4.1</version>
>>         </dependency>
>>         <dependency>
>>             <groupId>jasperreports</groupId>
>>             <artifactId>jasperreports</artifactId>
>>             <version>3.5.3</version>
>>         </dependency>
>>         <dependency>
>>             <groupId>commons-digester</groupId>
>>             <artifactId>commons-digester</artifactId>
>>             <version>2.0</version>
>>         </dependency>
>>         <dependency>
>>             <groupId>jexcelapi</groupId>
>>             <artifactId>jxl</artifactId>
>>             <version>2.4.2</version>
>>         </dependency>
>>         <dependency>
>>             <groupId>org.tango-project</groupId>
>>             <artifactId>tango-icon-theme</artifactId>
>>             <version>0.8.0</version>
>>         </dependency>
>>
>>         <dependency>
>>             <groupId>org.springframework</groupId>
>>             <artifactId>spring</artifactId>
>>             <version>2.5.6.SEC01</version>
>>         </dependency>
>>
>>         <dependency>
>>             <groupId>org.netbeans.external</groupId>
>>             <artifactId>AbsoluteLayout</artifactId>
>>             <version>RELEASE67</version>
>>         </dependency>
>>     </dependencies>
>>
>>     <properties>
>>         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
>>     </properties>
>> </project>
>>
>> Thank you.
>>
>>
>>
>> --
>> Jaime Hablutzel
>>
>> (tildes omitidas intencionalmente) 9 8964 0369
>
> _________________________________________________________________
> Hotmail: Trusted email with Microsoft's powerful SPAM protection.
> http://clk.atdmt.com/GBL/go/177141664/direct/01/
> http://clk.atdmt.com/GBL/go/177141664/direct/01/
>

RE: Pro

Posted by Martin Gainty <mg...@hotmail.com>.
necesita cambia a .m2 depósito por ejemplo
necesita cmabia a carpeta del depósito por ejemplo
 
${user.home}/.m2/repository/org/apache/axis2/addressing

01/01/2002  12:12    <DIR>          .
01/01/2002  12:12    <DIR>          ..
01/01/2002  12:12    <DIR>          1.3
01/01/2002  12:12    <DIR>          1.4-SNAPSHOT
01/01/2002  08:00    <DIR>          1.5
28/09/2009  15:12               300 maven-metadata-local.xml
01/01/2002  12:12    <DIR>          SNAPSHOT
               1 File(s)            300 bytes

entonces  cambia a 1.4* carpeta y mira en el contenido

01/01/2002  12:12    <DIR>          .
01/01/2002  12:12    <DIR>          ..
22/04/2000  17:02            34.149 addressing-1.4-20080421.161536-24.mar
22/04/2000  17:02                40 addressing-1.4-20080421.161536-24.mar.sha1
22/04/2008  15:38             3.454 addressing-1.4-20080421.161536-24.pom
22/04/2008  15:38                40 addressing-1.4-20080421.161536-24.pom.sha1
22/04/2008  15:38                40 addressing-1.4-20080421.161536-24.pom.tmp.sh
a1.tmp
22/04/2000  17:02            34.149 addressing-1.4-SNAPSHOT.mar
22/04/2008  15:38             3.454 addressing-1.4-SNAPSHOT.pom
22/04/2000  17:00               359 maven-metadata-apache.snapshots.xml
22/04/2008  15:38                40 maven-metadata-apache.snapshots.xml.sha1
22/04/2008  15:38                40 maven-metadata-apache.snapshots.xml.tmp.sha1
.tmp
22/04/2000  17:00               170 maven-metadata-wso2-m2.xml

entonces exhiba los detalles del archivo pom.xml

<?xml version="1.0" encoding="UTF-8"?>
<!--
  ~ Licensed to the Apache Software Foundation (ASF) under one
  ~ or more contributor license agreements. See the NOTICE file
  ~ distributed with this work for additional information
  ~ regarding copyright ownership. The ASF licenses this file
  ~ to you under the Apache License, Version 2.0 (the
  ~ "License"); you may not use this file except in compliance
  ~ with the License. You may obtain a copy of the License at
  ~
  ~ http://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ Unless required by applicable law or agreed to in writing,
  ~ software distributed under the License is distributed on an
  ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  ~ KIND, either express or implied. See the License for the
  ~ specific language governing permissions and limitations
  ~ under the License.
  -->

<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">
    <modelVersion>4.0.0</modelVersion>
    <parent>
        <groupId>org.apache.axis2</groupId>
        <artifactId>axis2-parent</artifactId>
        <version>1.4-SNAPSHOT</version>
        <relativePath>../parent/pom.xml</relativePath>
    </parent>
    <artifactId>addressing</artifactId>
    <packaging>mar</packaging>
    <name>Apache Axis2 - Addressing</name>
    <description>WS-Addressing implementation</description>
    <dependencies>
        <dependency>
            <groupId>org.apache.axis2</groupId>
            <artifactId>axis2-kernel</artifactId>
            <version>${version}</version>
        </dependency>
    </dependencies>
    <build>
        <sourceDirectory>src</sourceDirectory>
        <testSourceDirectory>test</testSourceDirectory>
        <resources>
            <resource>
                <directory>conf</directory>
                <excludes>
                    <exclude>**/*.properties</exclude>
                </excludes>
                <filtering>false</filtering>
            </resource>
            <resource>
                <directory>src</directory>
                <excludes>
                    <exclude>**/*.java</exclude>
                </excludes>
            </resource>
        </resources>
        <testResources>
            <testResource>
                <targetPath>../test-resources</targetPath>
                <directory>test-resources</directory>
                <includes>
                    <include>**/**</include>
                </includes>
            </testResource>
        </testResources>
        <plugins>
            <plugin>
                <artifactId>maven-surefire-plugin</artifactId>
                <inherited>true</inherited>
                <configuration>
                    <skip>false</skip>
                    <excludes>
                        <exclude>**/*Util.java</exclude>
                    </excludes>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.axis2</groupId>
                <artifactId>axis2-mar-maven-plugin</artifactId>
                <version>${version}</version>
                <extensions>true</extensions>
                <configuration>
                    <includeDependencies>false</includeDependencies>
                </configuration>
            </plugin>
        </plugins>
    </build>
</project>

Saludos Cordiales desde EEUU
Martin Gainty 
Qué estamos haciendo de hecho es de recuperación y de progreso y de mantenimiento de la recuperación de nuestra democracia. - A Fujimori
______________________________________________ 
No altere/modifique o interrumpa esta transmisión-Gracias




> From: hablutzel1@gmail.com
> Date: Fri, 6 Nov 2009 12:17:16 -0500
> Subject: Pro
> To: rampart-dev@ws.apache.org
> 
> Hi, i´m trying to build a jar with dependencies included for a swing
> application with an axis2 client and rampart 1.4 for Username Token
> authentication, and, I´m getting the following error when trying. I think it
> is related to the jar-with-dependencies maven descriptor.
> 
> > mvn install
> 
> 
> [INFO] Failed to create assembly: Error adding file-set for
> 'org.apache.axis2:ad
> dressing:mar:1.4' to archive: Error adding archived file-set.
> PlexusIoResourceCo
> llection not found for:
> C:\m2\repo\org\apache\axis2\addressing\1.4\addressing-1.
> 4.mar
> 
> No such archiver: 'mar'.
> 
> By the way, my pom is:
> 
> 
> <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">
>     <modelVersion>4.0.0</modelVersion>
>     <groupId>pe.gob.hndac</groupId>
>     <artifactId>epicrisis</artifactId>
>     <packaging>jar</packaging>
>     <version>1.0-SNAPSHOT</version>
>     <name>ModuloEpicrisis</name>
>     <build>
>         <plugins>
>             <plugin>
>                 <groupId>org.apache.maven.plugins</groupId>
>                 <artifactId>maven-compiler-plugin</artifactId>
>                 <version>2.0.2</version>
>                 <configuration>
>                     <source>1.6</source>
>                     <target>1.6</target>
>                     <encoding>UTF-8</encoding>
>                 </configuration>
>             </plugin>
> 
> 
>             <plugin>
>                 <groupId>org.apache.maven.plugins</groupId>
>                 <artifactId>maven-source-plugin</artifactId>
>                 <executions>
>                     <execution>
>                         <phase>package</phase>
>                         <goals>
>                             <goal>jar</goal>
>                         </goals>
>                     </execution>
>                 </executions>
>             </plugin>
> 
> 
>             <plugin>
>                 <groupId>org.apache.maven.plugins</groupId>
>                 <artifactId>maven-jar-plugin</artifactId>
>                 <configuration>
>                     <archive>
>                         <manifest>
>                             <addClasspath>true</addClasspath>
> 
> <mainClass>Epicrisis.FrameInicioSesion</mainClass>
>                         </manifest>
>                     </archive>
>                 </configuration>
>             </plugin>
> 
> 
> 
>             <plugin>
>                 <artifactId>maven-assembly-plugin</artifactId>
>                 <configuration>
>                     <descriptorRefs>
>                         <descriptorRef>jar-with-dependencies</descriptorRef>
>                     </descriptorRefs>
>                     <archive>
>                         <manifest>
> 
> <mainClass>Epicrisis.FrameInicioSesion</mainClass>
>                         </manifest>
>                     </archive>
>                 </configuration>
>                 <executions>
>                     <execution>
>                         <id>make-assembly</id>
>                         <phase>package</phase>
>                         <goals>
>                             <goal>attached</goal>
>                         </goals>
>                     </execution>
>                 </executions>
>             </plugin>
> 
>             <plugin>
>                 <groupId>org.apache.axis2</groupId>
>                 <artifactId>axis2-mar-maven-plugin</artifactId>
>                 <version>1.4</version>
>             </plugin>
> 
>         </plugins>
> 
> 
>     </build>
> 
>     <repositories>
>         <repository>
>             <id>netbeans</id>
>             <name>Netbeans</name>
>             <url>http://bits.nbextras.org/maven2</url>
>         </repository>
>         <repository>
>             <id>52north</id>
> <!--            <name>Netbeans</name> -->
>             <url>http://incubator.52north.org/maven/maven-repo/releases
> </url>
>         </repository>
>         <repository>
>             <id>eviware</id>
>             <url>http://www.eviware.com/repository/maven2</url>
>         </repository>
>         <repository>
>             <id>jboss</id>
>             <url>http://repository.jboss.org/maven2</url>
>         </repository>
> 
> 
>     </repositories>
> 
>     <dependencies>
> 
>         <dependency>
>             <groupId>junit</groupId>
>             <artifactId>junit</artifactId>
>             <version>4.7</version>
>             <scope>test</scope>
>         </dependency>
> 
>         <dependency>
>             <groupId>org.easymock</groupId>
>             <artifactId>easymock</artifactId>
>             <version>2.5.2</version>
>             <scope>test</scope>
>         </dependency>
> 
>         <dependency>
>             <groupId>org.netbeans</groupId>
>             <artifactId>jemmy</artifactId>
>             <version>2.2.7.5</version>
>             <scope>test</scope>
>         </dependency>
> 
>         <dependency>
>             <groupId>org.swinglabs</groupId>
>             <artifactId>swing-worker</artifactId>
>             <version>1.1</version>
>         </dependency>
>         <dependency>
>             <groupId>org.swinglabs</groupId>
>             <artifactId>swing-layout</artifactId>
>             <version>1.0.3</version>
>         </dependency>
>         <dependency>
>             <groupId>jfree</groupId>
>             <artifactId>jcommon</artifactId>
>             <version>1.0.15</version>
>         </dependency>
>         <dependency>
>             <groupId>jfree</groupId>
>             <artifactId>jfreechart</artifactId>
>             <version>1.0.13</version>
>         </dependency>
>         <dependency>
>             <groupId>mysql</groupId>
>             <artifactId>mysql-connector-java</artifactId>
>             <version>5.1.10</version>
>         </dependency>
>         <dependency>
>             <groupId>log4j</groupId>
>             <artifactId>log4j</artifactId>
>             <version>1.2.15</version>
>         </dependency>
>         <dependency>
>             <groupId>com.toedter</groupId>
>             <artifactId>jcalendar</artifactId>
>             <version>1.3.2</version>
>         </dependency>
>         <dependency>
>             <groupId>com.jgoodies</groupId>
>             <artifactId>looks</artifactId>
>             <version>2.2.2</version>
>         </dependency>
>         <dependency>
>             <groupId>org.apache.rampart</groupId>
>             <artifactId>rampart-core</artifactId>
>             <version>1.4</version>
>         <!--    <exclusions>
>                 <exclusion>
>                     <artifactId>addressing</artifactId>
>                     <groupId>org.apache.axis2</groupId>
>                 </exclusion>
>             </exclusions>-->
>         </dependency>
>         <dependency>
>             <groupId>org.apache.axis2</groupId>
>             <artifactId>axis2-kernel</artifactId>
>             <version>1.4.1</version>
>         </dependency>
>         <dependency>
>             <groupId>jasperreports</groupId>
>             <artifactId>jasperreports</artifactId>
>             <version>3.5.3</version>
>         </dependency>
>         <dependency>
>             <groupId>commons-digester</groupId>
>             <artifactId>commons-digester</artifactId>
>             <version>2.0</version>
>         </dependency>
>         <dependency>
>             <groupId>jexcelapi</groupId>
>             <artifactId>jxl</artifactId>
>             <version>2.4.2</version>
>         </dependency>
>         <dependency>
>             <groupId>org.tango-project</groupId>
>             <artifactId>tango-icon-theme</artifactId>
>             <version>0.8.0</version>
>         </dependency>
> 
>         <dependency>
>             <groupId>org.springframework</groupId>
>             <artifactId>spring</artifactId>
>             <version>2.5.6.SEC01</version>
>         </dependency>
> 
>         <dependency>
>             <groupId>org.netbeans.external</groupId>
>             <artifactId>AbsoluteLayout</artifactId>
>             <version>RELEASE67</version>
>         </dependency>
>     </dependencies>
> 
>     <properties>
>         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
>     </properties>
> </project>
> 
> Thank you.
> 
> 
> 
> -- 
> Jaime Hablutzel
> 
> (tildes omitidas intencionalmente) 9 8964 0369
 		 	   		  
_________________________________________________________________
Hotmail: Trusted email with Microsoft's powerful SPAM protection.
http://clk.atdmt.com/GBL/go/177141664/direct/01/
http://clk.atdmt.com/GBL/go/177141664/direct/01/