Nice work :)

I 've been anticipating deploy:deploy-file a while,
to upload new jars to my internal repository.

Still, to use it I need to copy paste a long command (with -Dfile etc).
It would be nice if it works with command line input, like archetype:

> mvn deploy:deploy-file-cmd-line-input
What artifact?
> hello.jar
Which version?
> 1.1
Which type? [default: jar]
>
Do you want to create a pom? yes/no [default: no]
hello.jar uploaded.

With kind regards,
Geoffrey De Smet

Brett Porter wrote:
The Install and Deploy plugins for Maven 2.0 have been released.

Release notes for the install plugin:
   * [MINSTALL-2] - Install-file zeros file if the source file is the
target file.
   * [MINSTALL-3] - The install plugin fails if there are only
"attached" artifacts.
   * [MINSTALL-4] - install:install-file makes reactor parse subprojects
   * [MINSTALL-6] - Add ability to generate a basic pom when installing a file.

Release notes for the deploy plugin:
    * [MDEPLOY-8] - create a deploy:deploy-file goal
    * [MDEPLOY-14] - Add POM generation/uploading to deploy:deploy-file goal

To obtain the latest release, include the <version> in your POM, for example:
<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-install-plugin</artifactId>
  <version>2.1</version>
</plugin>

Alternatively, you can use the -U option the next time the plugin is used:

mvn -U deploy

- The Maven Team

--


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to