Giter Club home page Giter Club logo

Comments (6)

volkodava avatar volkodava commented on September 27, 2024 2

Hi @edemen , @wangtao , @lllewellyn , @nixargh . Fix for this issue available in the following PR: #44

from wagon-maven-plugin.

dantran avatar dantran commented on September 27, 2024 1

wagon-m-p-2.0.1 uploaded to maven central

from wagon-maven-plugin.

edemen avatar edemen commented on September 27, 2024

Edited the opening post heavily to make it easier to reproduce.

from wagon-maven-plugin.

wangtao avatar wangtao commented on September 27, 2024

same error here.

the following pom.xml works on 3.6.2, but failed on 3.6.3

`

<plugin>
                        <groupId>org.codehaus.mojo</groupId>
                        <artifactId>wagon-maven-plugin</artifactId>
                        <executions>

                            <execution>
                                <id>test</id>
                                <phase>generate-resources</phase>
                                <goals>
                                    <goal>download</goal>
                                </goals>
                                <configuration>
                                    <url>${templatehost}</url>
                                    <includes>*.mustache</includes>
                                    <toDir>${project.build.directory}/${templatepath}</toDir>
                                </configuration>
                            </execution>

.......

`

failed with a 404 error.

from wagon-maven-plugin.

lllewellyn avatar lllewellyn commented on September 27, 2024

Same 404 error here, with similar configuration.

Additional piece of information: the POM containing the plugin config also included this:

        <extensions>
            <extension>
                <groupId>org.apache.maven.wagon</groupId>
                <artifactId>wagon-ssh</artifactId>
                <version>${org.apache.maven.wagon.version}</version>
            </extension>

            <!-- Needed by wagon-maven-plugin, see http://jira.codehaus.org/browse/MOJO-1821 -->
            <extension>
                <groupId>org.apache.maven.wagon</groupId>
                <artifactId>wagon-http</artifactId>
                <version>${org.apache.maven.wagon.version}</version>
            </extension>
        </extensions>

Originally, org.apache.maven.wagon.version was 3.0.0 and this worked fine with Maven 3.6.3. When I updated to 3.4.1 (latest available as of this writing) I got the error. I tested with the versions between with these results:

  • 3.4.1: fails
  • 3.4.0: fails
  • 3.3.4: fails
  • 3.3.3: works
  • 3.3.2: works
  • 3.3.1: works
  • 3.2.0: works
  • 3.0.0: works

Perhaps a change made for the 3.3.4 release causes this issue?

from wagon-maven-plugin.

nixargh avatar nixargh commented on September 27, 2024

Have faced the same issue with 3.6.3:

[DEBUG] Configuring mojo org.codehaus.mojo:wagon-maven-plugin:1.0:download from plugin realm ClassRealm[plugin>org.codehaus.mojo:wagon-maven-plugin:1.0, parent: jdk.internal.loader.ClassLoaders$AppClassLoader@55054057]
[DEBUG] Configuring mojo 'org.codehaus.mojo:wagon-maven-plugin:1.0:download' with basic configurator -->
[DEBUG]   (f) caseSensitive = true
[DEBUG]   (f) includes = *
[DEBUG]   (f) project = MavenProject: apache-spark:apache-spark:2.4.6-1~scala2.11 @ /builds/apache-spark-debian/pom.xml
[DEBUG]   (f) serverId = artifactory
[DEBUG]   (f) settings = org.apache.maven.execution.SettingsAdapter@193bb809
[DEBUG]   (f) skip = false
[DEBUG]   (f) toDir = /builds/apache-spark-debian/target
[DEBUG]   (f) url = https://repo.maven.apache.org/maven2/io/sentry/sentry/1.7.30
[DEBUG] -- end configuration --
https://repo.maven.apache.org/maven2/io/sentry/sentry/1.7.30 - Session: Opened  
[INFO] Scanning remote file system: https://repo.maven.apache.org/maven2/io/sentry/sentry/1.7.30 ...
[DEBUG] scandir: dir:  vpath: 
https://repo.maven.apache.org/maven2/io/sentry/sentry/1.7.30/ -- status code: 200, reason phrase: OK
[DEBUG] scandir: dir: sentry-1.7.30.jar.asc vpath: sentry-1.7.30.jar.asc/
https://repo.maven.apache.org/maven2/io/sentry/sentry/1.7.30/sentry-1.7.30.jar.asc/ -- status code: 404, reason phrase: Not Found
https://repo.maven.apache.org/maven2/io/sentry/sentry/1.7.30 - Session: Disconnecting  
https://repo.maven.apache.org/maven2/io/sentry/sentry/1.7.30 - Session: Disconnected

from wagon-maven-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.