mulesoft-labs / mule-gradle-plugin

Plugin for building mule apps with the gradle build system.
Apache License 2.0
24 stars 14 forks source link

Uploading to MMC fails #22

Closed eduardjbotha closed 9 years ago

eduardjbotha commented 9 years ago

I've got a Mule Enterprise (that came with the MMC trial) instance running on a server. This is in my build.gradle:

mule.muleEnterprise = false mmc.environments { dev url: 'http://myServer:8585/mmc-3.5.1', username: 'admin', password: 'admin', appName: 'BlazeTest', version: '0.5' }

where I use the URL to log into MMC on my web browser. mule.muleEnterprise is set to false because I don't have a full Enterprise License yet.

When I run "gradle uploadToRepository", the output is that it built and uploaded successfully. When I look in the MMC repo, nothing has been uploaded. Is there something that I'm missing?

When comparing the built zip file, produced by gradle, with the one produced when exporting a Mule Deployable Archive from Mule Studio, gradle's zip doesn't contain the "lib" or "plugins" folders. Why would these be excluded?

juancavallotti commented 9 years ago

Hello,

This is a known issue and it will get fixed for release 1.1.1, we're using reactive authentication for uploading the artifacts and mmc silently fails.

juancavallotti commented 9 years ago

@eduardjbotha I have uploaded a fix, for the issue, the bugfix release will be within the next weeks since we are holding it for the development of the visual anypoint studio integration to evolve but if you need this feature right away you can simply build the plugin and use version 1.2.0-SNAPSHOT

eduardjbotha commented 9 years ago

Thank you