Skip to content

Commit

Permalink
ns
Browse files Browse the repository at this point in the history
  • Loading branch information
belaban committed Dec 19, 2014
1 parent 2f6e21d commit c718ad7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
5 changes: 3 additions & 2 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,8 @@
<!-- =================================
target: publish
================================= -->
<target name="publish" depends="define-ivy-task" description="--> publish this project in the ivy repository">
<target name="publish-local" depends="define-ivy-task"
description="Publishes this project to the local ivy repo (artifacts need to be in ./dist)">
<property name="revision" value="${version}"/>

<!--<ivy:deliver
Expand Down Expand Up @@ -177,7 +178,7 @@



<!--<target name="publish-to-repo" depends="define-ivy-task" description="&ndash;&gt; publish this project in the ivy repository">
<!--<target name="publish-remote" depends="define-ivy-task" description="&ndash;&gt; publish this project in the ivy repository">
<property name="revision" value="${version}"/>
<ivy:publish artifactspattern="${dist.dir}/[artifact]-[revision](-[classifier]).[ext]"
publishivy="false"
Expand Down
8 changes: 8 additions & 0 deletions ivysettings.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<ivysettings>
<settings defaultResolver="default"/>
<credentials host="repository.jboss.org" realm="jboss-releases-repository" username="${username}" passwd="${password}"/>

<!--<property name="nexus-public"
value="https://repository.jboss.org/nexus/content/groups/public"/>-->
<property name="nexus-public"
value="https://repository.jboss.org/nexus/service/local/staging/deploy/maven2"/>

<property
name="m2-location"
Expand Down Expand Up @@ -29,6 +35,8 @@

<ibiblio name="public" m2compatible="true"/>

<ibiblio name="nexus" m2compatible="true" root="${nexus-public}"/>

<!-- Tries to find an artifact in the local maven repo first -->
<chain name="default">
<resolver ref="local-ivy"/>
Expand Down

0 comments on commit c718ad7

Please sign in to comment.