Comments (9)
The fix was reverted again just before the 2.0.1 release? 4d67a10
from wagon-maven-plugin.
@jpraet please help to verify again 2.0.2 currently at staging repo https://oss.sonatype.org/content/groups/staging/
from wagon-maven-plugin.
@dantran yes, it works with the 2.0.2
from wagon-maven-plugin.
bash$ mvn help:describe -Dplugin=org.codehaus.mojo:wagon-maven-plugin:1.0 -Dgoal=upload-single -Ddetail
wagon:upload-single
Description: Upload a single file with option to change name
Implementation: org.codehaus.mojo.wagon.UploadSingleMojo
Language: java
Available parameters:
fromFile
Required: true
User property: wagon.fromFile
Path to a local file to be uploaded
serverId (Default: serverId)
User property: wagon.serverId
settings.xml's server id for the URL. This is used when wagon needs extra
authentication information.
skip (Default: false)
User property: wagon.skip
When true, skip the execution.
toFile
User property: wagon.toFile
Relative path to the URL. When blank, default to fromFile's file name.
url
Required: true
User property: wagon.url
URL to upload to or download from or list. Must exist and point to a
directory.
versus
bash$ mvn help:describe -Dplugin=org.codehaus.mojo:wagon-maven-plugin:2.0.0 -Dgoal=upload-single -Ddetail
wagon:upload-single
Description: Upload a single file with option to change name
Implementation: org.codehaus.mojo.wagon.UploadSingleMojo
Language: java
Available parameters:
fromFile
Required: true
User property: wagon.fromFile
Path to a local file to be uploaded.
serverId (Default: serverId)
User property: wagon.serverId
settings.xml's server id for the URL. This is used when wagon needs extra
authentication information.
toFile
User property: wagon.toFile
Relative path to the URL. When blank, default to fromFile's file name.
url
Required: true
User property: wagon.url
URL to upload to or download from or list. Must exist and point to a
directory.
from wagon-maven-plugin.
Same for "upload" goal
from wagon-maven-plugin.
fixed at 4b4f1d3
from wagon-maven-plugin.
Any ETA on release 2.0.1?
from wagon-maven-plugin.
It was accidentally reverted due to javadoc annotation no longer support and failed 2.0.1 release build
will put it back in 2.0.2 soon
from wagon-maven-plugin.
Hi.
I think the property is evaluated too early.
I've a (in version 2.0.2) a configuration like
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>wagon-maven-plugin</artifactId>
<executions>
<execution>
<id>deploy-rpm</id>
<phase>deploy</phase>
<goals>
<goal>upload-single</goal>
</goals>
<configuration>
<skip>${rpm.build.skip}</skip>
<fromFile>${rpm.file-path}</fromFile>
<serverId>${rpm.repository.id}</serverId>
<url>${rpm.repository.url}/${rpm.file-name}/${rpm.file-version}</url>
</configuration>
</execution>
</executions>
</plugin>
where rpm.build.skip
is dynamically set in a Groovy script. I've other plugins reading the exact same property in other phases and they're all skipped correctly but the wagon-maven-plugin
.
[2022-04-01T12:27:39.537Z] [ERROR] Failed to execute goal org.codehaus.mojo:wagon-maven-plugin:2.0.2:upload-single (deploy-rpm) on project parent: The parameters 'fromFile' for goal org.codehaus.mojo:wagon-maven-plugin:2.0.2:upload-single are missing or invalid -> [Help 1]
where such property (as well as the others) are unset since I want to skip the execution.
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.