You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Antoine Véret <an...@gmail.com> on 2007/01/02 16:16:00 UTC

maven-dependency-plugin from apache snapshot repo

Hello, i try to use the maven-dependency-plugin, i need the lastest snapshot
(2.0-alpha-1-SNAPSHOT) for the dependency:build-classpath goal from
http://people.apache.org/repo/m2-snapshot-repository/ (FTPluginSnaphots).

i have registered the plugin like this :
    <build>
     <plugins>
       <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-dependency-plugin</artifactId>
          <version>2.0-alpha-1-SNAPSHOT</version>
          <executions>
            <execution>
              <id>copy-dependencies</id>
              <phase>package</phase>
              <goals>
                <goal>copy-dependencies</goal>
              </goals>
              <configuration>
                <outputDirectory>${project.build.directory
}/dependency</outputDirectory>
              </configuration>
            </execution>
          </executions>
        </plugin>
      </plugins>
    </build>

And when i launch the command "mvn package", i got following messages :

-------------------------
[DEBUG] maven-resources-plugin: resolved to version 2.3-SNAPSHOT from
repository FTPluginSnaphots
[DEBUG] Skipping disabled repository central
[DEBUG] maven-resources-plugin: resolved to version
2.3-20061118.060205-2from repository FTPluginSnaphots
[DEBUG] Retrieving parent-POM:
org.apache.maven.plugins:maven-plugins::4-SNAPSHOT for project:
null:maven-resources-plugin:maven-plugin:2.3-20061118.060205-2 from the
repository.
[DEBUG] Skipping disabled repository central
[DEBUG] maven-plugins: resolved to version 4-20061029.113029-2 from
repository FTPluginSnaphots
[DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent::4 for project:
org.apache.maven.plugins:maven-plugins:pom:4-SNAPSHOT from the repository.
[DEBUG] Retrieving parent-POM: org.apache:apache::3 for project:
org.apache.maven:maven-parent:pom:4 from the repository.
[DEBUG] Skipping blacklisted repository central
[DEBUG] maven-compiler-plugin: resolved to version 2.1-SNAPSHOT from
repository FTPluginSnaphots
[DEBUG] Skipping disabled repository central
[DEBUG] maven-compiler-plugin: resolved to version
2.1-20060829.112045-2from repository FTPluginSnaphots
[DEBUG] Retrieving parent-POM: org.apache.maven.plugins:maven-plugins::3 for
project: null:maven-compiler-plugin:maven-plugin:2.1-20060829.112045-2 from
the repository.
[DEBUG] Trying repository codehaus.org
Downloading:
http://snapshots.repository.codehaus.org//org/apache/maven/plugins/maven-plugins/3/maven-plugins-3.pom
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: null:maven-compiler-plugin:maven-plugin:2.1-20060829.112045-2

Reason: Cannot find parent: org.apache.maven.plugins:maven-plugins for
project: null:maven-compiler-plugin:maven-plugin:2.1-20060829.112045-2
-------------------------

I doesn't understand why the maven-plugins-3.pom couldn't get retrieved from
http://repo1.maven.org/maven2.

Is there an other way to use the apache maven-dependency-plugin, not the
codehaus one ?

Thanks

Re: maven-dependency-plugin from apache snapshot repo

Posted by Antoine Véret <an...@gmail.com>.
Yes, i am behind a proxy, but i use Archiva.
PS : I work with Maven 2.0.4

On 1/2/07, Wendy Smoak <ws...@gmail.com> wrote:
>
> On 1/2/07, Antoine Véret <an...@gmail.com> wrote:
>
> > And when i launch the command "mvn package", i got following messages :
> >
> > -------------------------
> > [DEBUG] maven-resources-plugin: resolved to version 2.3-SNAPSHOT from
> > repository FTPluginSnaphots
> > [DEBUG] Skipping disabled repository central
> ...
> > I doesn't understand why the maven-plugins-3.pom couldn't get retrieved
> from
> > http://repo1.maven.org/maven2.
>
> Looks like Maven isn't able to connect to central at all.  Are you
> behind a proxy?
>
> --
> Wendy
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Re: maven-dependency-plugin from apache snapshot repo

Posted by Wendy Smoak <ws...@gmail.com>.
On 1/2/07, Antoine Véret <an...@gmail.com> wrote:

> And when i launch the command "mvn package", i got following messages :
>
> -------------------------
> [DEBUG] maven-resources-plugin: resolved to version 2.3-SNAPSHOT from
> repository FTPluginSnaphots
> [DEBUG] Skipping disabled repository central
...
> I doesn't understand why the maven-plugins-3.pom couldn't get retrieved from
> http://repo1.maven.org/maven2.

Looks like Maven isn't able to connect to central at all.  Are you
behind a proxy?

-- 
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org