Comments (6)
Hi @edemen , @wangtao , @lllewellyn , @nixargh . Fix for this issue available in the following PR: #44
from wagon-maven-plugin.
wagon-m-p-2.0.1 uploaded to maven central
from wagon-maven-plugin.
Edited the opening post heavily to make it easier to reproduce.
from wagon-maven-plugin.
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.
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.
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)
- The openssl SSH Key can not be used HOT 1
- Download docx files fromDir
- is it possible to publish my packages to github? HOT 2
- How to avoid the RSA key fingerprint pop-up when executing the goals? HOT 1
- How does <includes> tag search files from <fromDir> in detail when I use wagon:upload? HOT 1
- Goals "download-single" and "download" are hanging on Maven 3.6.3 and Maven 3.8.4 HOT 3
- Wagon-FTP Deprecation HOT 2
- The wagon you are using has not implemented getFileList() with quarkus platform 2.11.1.Final and later versions HOT 4
- maven.plugin.validation warnings HOT 1
- Add GitHub workflows, release-drafter, dependabot
- Require Java 8
- Update mojo-parent to v76
- Maven dependencies should have 'provided' scope
- Remove maven-compat and update-maven-3-Mojo
- Remove travis and replace badge with GH actions
- Install `mvnw`
- Replace tests with local server and Unit-Tests
- remove takari-lifecycle-plugin
- Move packages to org.mojohaus HOT 1
- Incremental download/upload
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wagon-maven-plugin.