Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version appears twice in artefact in publish task #270

Closed
Synesso opened this issue Jun 10, 2014 · 4 comments
Closed

Version appears twice in artefact in publish task #270

Synesso opened this issue Jun 10, 2014 · 4 comments

Comments

@Synesso
Copy link

Synesso commented Jun 10, 2014

When using the sbt-native-packager to publish artefacts, the version appears twice in the artefact name

See SO for full details and how to replicate

@muuki88 muuki88 added the bug label Jun 10, 2014
@muuki88 muuki88 added this to the 0.8.0 - windows services milestone Jun 10, 2014
@jsuereth
Copy link
Member

Thanks for reporting. This may be related to the altering of the names we did to consolidate/fix things. The publishing probably needs made up-to-date.

@yatskevich
Copy link

As a workaround I've added

name in Universal <<= normalizedName,

to build settings.

@muuki88
Copy link
Contributor

muuki88 commented Sep 12, 2014

Can you try with 0.8.0-M1. We introduced the setting packageName which defaults to normalized name. In case this solves the problem, please give feedback :)

@Synesso
Copy link
Author

Synesso commented Sep 13, 2014

Fixed now. Although the error message when it can't publish no longer shows the attempted PUT URI. Now it simply reports [error] (universal:publish) java.io.IOException: Error writing to server.

Using tcpdump I see it attempting to PUT /nexus/content/repositories/fake/name/name/version/name-version.zip

@Synesso Synesso closed this as completed Sep 13, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants