Hello,

For some reason I cannot get any maven assembly plugin in version
2.2-SNAPSHOT to download. I added:
<repositories>
    <repository>
      <id>Apache SNAPSHOTS</id>
      <name>Apache SNAPSHOTS</name>
      <url>http://people.apache.org/repo/m2-snapshot-repository</url>
      <releases>
        <enabled>true</enabled>
        <updatePolicy>always</updatePolicy>
        <checksumPolicy>warn</checksumPolicy>
      </releases>
      <snapshots>
        <enabled>true</enabled>
        <updatePolicy>always</updatePolicy>
        <checksumPolicy>fail</checksumPolicy>
      </snapshots>
    </repository>

 <!--   <repository>
      <id>CodeHaus SNAPSHOTS</id>
      <name>CodeHaus SNAPSHOTS</name>

to the parent pom and get an error as shown in the error.txt attachment.
The actual pom is attached as pom.xml

Any suggestions??

Regards,
Sebastian
[INFO] 
----------------------------------------------------------------------------
[INFO] Building IOP Test Server Integration Test
[INFO]    task-segment: [install]
[INFO] 
----------------------------------------------------------------------------
[DEBUG] maven-site-plugin: resolved to version 2.0-beta-5 from repository 
central
[DEBUG] Retrieving parent-POM: org.apache.maven.plugins:maven-plugins::1 for 
project: null:maven-site-plugin:maven-plugin:2.0-beta-5 from th
e repository.
[DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent::1 for project: 
org.apache.maven.plugins:maven-plugins:pom:1 from the repositor
y.
[DEBUG] Retrieving parent-POM: org.apache:apache::1 for project: 
org.apache.maven:maven-parent:pom:1 from the repository.
[DEBUG] maven-install-plugin: resolved to version 2.1 from repository central
[DEBUG] Retrieving parent-POM: 
org.apache.maven.plugins:maven-plugin-parent::2.0 for project: 
null:maven-install-plugin:maven-plugin:2.1 fro
m the repository.
[DEBUG] maven-surefire-plugin: resolved to version 2.2 from repository central
[DEBUG] Retrieving parent-POM: org.apache.maven.plugins:maven-plugins::1 for 
project: null:maven-surefire-plugin:maven-plugin:2.2 from the r
epository.
[DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent::1 for project: 
org.apache.maven.plugins:maven-plugins:pom:1 from the repositor
y.
[DEBUG] Retrieving parent-POM: org.apache:apache::1 for project: 
org.apache.maven:maven-parent:pom:1 from the repository.
[DEBUG] maven-compiler-plugin: resolved to version 2.0.1 from repository central
[DEBUG] Retrieving parent-POM: org.apache.maven.plugins:maven-plugins::1 for 
project: null:maven-compiler-plugin:maven-plugin:2.0.1 from the
 repository.
[DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent::1 for project: 
org.apache.maven.plugins:maven-plugins:pom:1 from the repositor
y.
[DEBUG] Retrieving parent-POM: org.apache:apache::1 for project: 
org.apache.maven:maven-parent:pom:1 from the repository.
[DEBUG] cobertura-maven-plugin: resolved to version 2.0 from repository central
[DEBUG] Retrieving parent-POM: org.codehaus.mojo:mojo::7 for project: 
null:cobertura-maven-plugin:maven-plugin:2.0 from the repository.
[DEBUG] maven-idea-plugin: resolved to version 2.0 from repository central
[DEBUG] Retrieving parent-POM: org.apache.maven.plugins:maven-plugins::1 for 
project: null:maven-idea-plugin:maven-plugin:2.0 from the repos
itory.
[DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent::1 for project: 
org.apache.maven.plugins:maven-plugins:pom:1 from the repositor
y.
[DEBUG] Retrieving parent-POM: org.apache:apache::1 for project: 
org.apache.maven:maven-parent:pom:1 from the repository.
[DEBUG] Retrieving parent-POM: 
org.apache.maven.plugins:maven-plugins::8-SNAPSHOT for project: 
null:maven-assembly-plugin:maven-plugin:2.2-2
0070112.063452-32 from the repository.
[DEBUG] Skipping disabled repository central
[INFO] snapshot org.apache.maven.plugins:maven-plugins:8-SNAPSHOT: checking for 
updates from Apache SNAPSHOTS
[DEBUG] Skipping disabled repository central
[DEBUG] maven-plugins: resolved to version 8-20070112.003613-1 from repository 
Apache SNAPSHOTS
[DEBUG] Retrieving parent-POM: 
org.apache.maven:maven-plugin-surrogate-parent::6-SNAPSHOT for project: 
org.apache.maven.plugins:maven-plugin
s:pom:8-SNAPSHOT from the repository.
[DEBUG] Skipping disabled repository central
[INFO] snapshot org.apache.maven:maven-plugin-surrogate-parent:6-SNAPSHOT: 
checking for updates from Apache SNAPSHOTS
[DEBUG] Skipping disabled repository central
[DEBUG] maven-plugin-surrogate-parent: resolved to version 6-20070112.003524-1 
from repository Apache SNAPSHOTS
[DEBUG] Retrieving parent-POM: org.apache:apache::3 for project: 
org.apache.maven:maven-plugin-surrogate-parent:pom:6-SNAPSHOT from the repo
sitory.
[DEBUG] Skipping disabled repository central
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] A required plugin was not found: Plugin could not be found - check that 
the goal name is correct: Unable to download the artifact fro
m any repository

Try downloading the file manually from the project website.

Then, install it using the command:
    mvn install:install-file -DgroupId=org.apache.maven.plugins 
-DartifactId=maven-assembly-plugin \
        -Dversion=2.2-20070112.063452-32 -Dpackaging=maven-plugin 
-Dfile=/path/to/file


  
org.apache.maven.plugins:maven-assembly-plugin:maven-plugin:2.2-20070112.063452-32

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)

  
org.apache.maven.plugins:maven-assembly-plugin:maven-plugin:2.2-20070112.063452-32

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)

[INFO] ------------------------------------------------------------------------
[DEBUG] Trace
org.apache.maven.BuildFailureException: A required plugin was not found: Plugin 
could not be found - check that the goal name is correct: Un
able to download the artifact from any repository

Try downloading the file manually from the project website.

Then, install it using the command:
    mvn install:install-file -DgroupId=org.apache.maven.plugins 
-DartifactId=maven-assembly-plugin \
        -Dversion=2.2-20070112.063452-32 -Dpackaging=maven-plugin 
-Dfile=/path/to/file


  
org.apache.maven.plugins:maven-assembly-plugin:maven-plugin:2.2-20070112.063452-32

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)

  
org.apache.maven.plugins:maven-assembly-plugin:maven-plugin:2.2-20070112.063452-32

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)

        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:463)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:589)
        at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.PluginNotFoundException: Plugin could not be 
found - check that the goal name is correct: Unable to downl
oad the artifact from any repository

Try downloading the file manually from the project website.

Then, install it using the command:
    mvn install:install-file -DgroupId=org.apache.maven.plugins 
-DartifactId=maven-assembly-plugin \
        -Dversion=2.2-20070112.063452-32 -Dpackaging=maven-plugin 
-Dfile=/path/to/file


  
org.apache.maven.plugins:maven-assembly-plugin:maven-plugin:2.2-20070112.063452-32

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)

  
org.apache.maven.plugins:maven-assembly-plugin:maven-plugin:2.2-20070112.063452-32

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)

        at 
org.apache.maven.plugin.DefaultPluginManager.verifyVersionedPlugin(DefaultPluginManager.java:227)
        at 
org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.java:163)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1252)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindPluginToLifecycle(DefaultLifecycleExecutor.java:1216)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycleMappings(DefaultLifecycleExecutor.java:982)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:453)
        ... 14 more
Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable to 
download the artifact from any repository
        at 
org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:260)
        at 
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:124)
        at 
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:63)
        at 
org.apache.maven.plugin.DefaultPluginManager.verifyVersionedPlugin(DefaultPluginManager.java:190)
        ... 19 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2 seconds
[INFO] Finished at: Mon Jan 15 18:40:08 CET 2007
[INFO] Final Memory: 3M/7M
[INFO] ------------------------------------------------------------------------
<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>com.coremedia.drm.roapserver</groupId>
  <artifactId>drm-roapserver-iopserver-integrationtest</artifactId>
  <packaging>pom</packaging>
  <version>1.0-SNAPSHOT</version>
  <name>IOP Test Server Integration Test</name>
  <url>http://coremedia.com</url>

  <parent>
    <groupId>com.coremedia.drm.roapserver</groupId>
    <artifactId>drm-roapserver</artifactId>
    <version>1.0-SNAPSHOT</version>
  </parent>


  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-plugin</artifactId>
        <executions>
          <execution>
            <id>itest</id>
            <phase>integration-test</phase>
            <goals>
              <goal>test</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <testFailureIgnore>true</testFailureIgnore>
          <includes>
            <include>com/coremedia/**/*Test.java</include>
            <include>com/coremedia/**/*TestSuite.java</include>
          </includes>
          <excludes/>
        </configuration>
      </plugin>

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-assembly-plugin</artifactId>
        <version>2.2-20070112.063452-32</version>
        <executions>
          <execution>
            <id>maketheapp</id>
            <phase>package</phase>
            <goals>
              <goal>directory</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <descriptors>
            <descriptor>src/assemble/iopserver.xml</descriptor>
          </descriptors>
        </configuration>
      </plugin>

      <!--   <plugin>
<groupId>org.codehaus.cargo</groupId>
<artifactId>cargo-maven2-plugin</artifactId>
<version>0.2</version>

<executions>
<execution>
  <id>start-container</id>
  <phase>pre-integration-test</phase>
  <goals>
    <goal>start</goal>
  </goals>
</execution>
<execution>
  <id>stop-container</id>
  <phase>post-integration-test</phase>
  <goals>
    <goal>stop</goal>
  </goals>
</execution>
</executions>

<configuration>
<wait>true</wait>
<container>
  <containerId>tomcat5x</containerId>

  <zipUrlInstaller>
    <url>http://www.apache.org/dist/tomcat/tomcat-5/v5.5.20/bin/apache-tomcat-5.5.20.zip</url>
    <installDir>${java.io.tmpdir}/cargoinstalls</installDir>
  </zipUrlInstaller>
</container>


<configuration>
  <home>${project.build.directory}/tomcat5x</home>

  <deployables>
    <deployable>
      <groupId>com.coremedia.drm.roapserver</groupId>
      <artifactId>drm-roapserver-pki</artifactId>
      <type>war</type>
      <properties>
        <context>iop-pki</context>
      </properties>
    </deployable>
    <deployable>
      <groupId>com.coremedia.drm.roapserver</groupId>
      <artifactId>drm-roapserver-iopserver</artifactId>
      <type>war</type>
      <properties>
        <context>iop-server</context>
      </properties>
    </deployable>
  </deployables>
</configuration>
</configuration>

      -->
      <!--     <configuration>

<container>
<containerId>tomcat5x</containerId>
<type>standalone</type>
<wait>false</wait>
<home>${catalina.home}</home>
<type>standalone</type>
<zipUrlInstaller>
<url>http://www.apache.org/dist/jakarta/tomcat-5/v5.0.30/bin/jakarta-tomcat-5.0.30.zip</url>
<installDir>${java.io.tmpdir}/cargoinstalls</installDir>
</zipUrlInstaller>
<output>${project.build.directory}/tomcat5/container.log</output>
<append>false</append>
<log>${project.build.directory}/tomcat5/cargo.log</log>
</container>



<configuration>
         <home>${project.build.directory}/tomcat5</home>
         <properties>
           <cargo.servlet.port>8080</cargo.servlet.port>
           <cargo.logging>high</cargo.logging>
         </properties>

         <deployables>
           <deployable>
             <groupId>com.coremedia.drm.roapserver</groupId>
             <artifactId>drm-roapserver-pki</artifactId>
             <type>war</type>
             <properties>
               <context>iop-pki</context>
             </properties>
           </deployable>
           <deployable>
             <groupId>com.coremedia.drm.roapserver</groupId>
             <artifactId>drm-roapserver-iopserver</artifactId>
             <type>war</type>
             <properties>
               <context>iop-server</context>
             </properties>
           </deployable>
         </deployables>
       </configuration>

     </configuration> -->
      <!-- </plugin>-->
    </plugins>
  </build>

  <dependencies>
    <dependency>
      <groupId>com.coremedia.drm.roapserver</groupId>
      <artifactId>drm-roapserver-iopserver-base</artifactId>
      <version>1.0-SNAPSHOT</version>
    </dependency>

    <dependency>
      <groupId>com.coremedia.drm.roapserver</groupId>
      <artifactId>drm-roapserver-pki</artifactId>
      <version>1.0-SNAPSHOT</version>
      <type>war</type>
    </dependency>

    <dependency>
      <groupId>com.coremedia.drm.roapserver</groupId>
      <artifactId>drm-roapserver-iopserver</artifactId>
      <version>1.0-SNAPSHOT</version>
      <type>war</type>
    </dependency>
  </dependencies>
</project>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to