archiva graphic interface doesn't find my artifact

限于喜欢 提交于 2019-12-13 05:17:49

问题


I have this problem, i have tried to publish an artifact of mine in my archiva repository, but even if phisical it seems that everything is ok when i go to the ui view of archiva i don't find anything about that artifact.
I have allready try to do the scan of the repositories, but nothing happens, i had look into the log file, and the only error that i see is this one

Not a valid artifact path in a Maven 2 repository, filename 'bbi-resutil.jar' doesn't start with artifact ID 'resutil'

i suspect that the error is in my make pom structure

Build.xml

<ivy:makepom ivyfile="ivy.xml" pomfile="bbi-resutil-pom.pom" conf="default,runtime">
    <mapping conf="default" scope="compile"/>
    <mapping conf="runtime" scope="runtime"/>
</ivy:makepom>

ivy.xml

<publications>
    <artifact name="bbi-resutil" type="pom" ext="pom"/>
    <artifact name="bbi-resutil" type="jar" ext="jar"/>
</publications>

i don't really understand if it is necessaire that something else must be in the ivy.xml, or if th problem is something else, If it's the problem how i have to structure the making of the pom?

来源:https://stackoverflow.com/questions/24957374/archiva-graphic-interface-doesnt-find-my-artifact

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!