Publish Maven packages in Visual Studio Team Services and TFS

Last Update: 4/25/2017

Publish Maven packages to a feed in Package Management to share them with your team and your organization.

  1. Set up the Maven client with your feed.
  2. Open a shell and navigate to the directory that contains your package's POM.xml. If you don't have a POM.xml, run mvn archetype:generate (see the Maven CLI docs).
  3. Push your package by running mvn deploy inside the directory containing your POM.xml.

See the Maven CLI docs for more publish options.