{% extends "moneta/base_package.html" %}{% load staticfiles i18n moneta %} {% block base_repo_urls %}
{% trans 'usage' %} {% trans 'browse repository' %} {% trans 'check' %} {% if admin_allowed %} {% trans 'modify repository' %} {% trans 'delete repository' %} {% endif %}
{% endblock %} {% block repo_content %}

{% trans 'Maven settings' %}

{% for state_info in state_infos %}

{% trans 'Add the following repositories to your pom.xml in the repositories section:' %}

{{ state_info.1 }}
{% if upload_allowed %}

{% trans 'Add a package' %}

{% trans 'You can add packages by specifying archive (groupId.artifactId, name of the package) and version:' %}

FILENAME=filename-version.XXX
ARCHIVE=$groupId.$artifactId
VERSION=$version
{% curl %} --data-binary @$FILENAME {{ absolute_url }}{% url 'moneta.views.add_element_post' rid=repo.id %}\?filename=$FILENAME\&archive=$ARCHIVE\&version=$VERSION{% for state in state_info.3 %}\&states={{ state }}{% endfor %}
{% endif %}
{% endfor %}
{% include 'moneta/add_signature.html' %} {% endblock %}