<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Arquillian on despatches</title><link>https://icle.es/tags/arquillian/</link><description>Recent content in Arquillian on despatches</description><generator>Hugo</generator><language>en</language><lastBuildDate>Fri, 20 Jun 2025 09:25:00 +0100</lastBuildDate><atom:link href="https://icle.es/tags/arquillian/index.xml" rel="self" type="application/rss+xml"/><item><title>WARN - Missing artifact descriptor for XXX</title><link>https://icle.es/2013/01/31/warn-missing-artifact-descriptor-for-xxx/</link><pubDate>Thu, 31 Jan 2013 20:38:48 +0000</pubDate><guid>https://icle.es/2013/01/31/warn-missing-artifact-descriptor-for-xxx/</guid><description>&lt;p>Working on an Arquillian test deployment which had some library changes
recently, I ran into the following error.&lt;/p>
```
WARN - Missing artifact descriptor for org.javassist:javassist:jar:3.16.1-GA
```
&lt;p>The particular library was in the pom.xml dependency hierarchy but it was
resolving to an earlier  version. Maven was switched to offline mode during the
tests and I had never needed this version of the library before. This meant
 that the local version of my maven repository did not have jar and maven emits
it slightly unhelpful error. It would be better if it told us that it could not
find the artifact and since its in offline mode, can't go and retrieve it.&lt;/p></description><content:encoded><![CDATA[<p>Working on an Arquillian test deployment which had some library changes
recently, I ran into the following error.</p>
```
WARN - Missing artifact descriptor for org.javassist:javassist:jar:3.16.1-GA
```
<p>The particular library was in the pom.xml dependency hierarchy but it was
resolving to an earlier  version. Maven was switched to offline mode during the
tests and I had never needed this version of the library before. This meant
 that the local version of my maven repository did not have jar and maven emits
it slightly unhelpful error. It would be better if it told us that it could not
find the artifact and since its in offline mode, can't go and retrieve it.</p>
<p>There are two quick hacks. Add the library and version into the pom.xml and do a
build. This will pull the library into your local repository and maven will be
able to find it offline. You could also just take maven in the tests online by
removing the goOffline() method call.</p>
<p>As for the cause of the issue, it stems from the way maven resolves dependencies
from Arquillian in comparison to building. I had updated a library version,
which now depends on the newer version of javassist. However, in considering all
the other things within the pom.xml, maven brings it down to an earlier version
when building.</p>
<p>However, the dependency resolution within the maven run through Arquillian
considers a slightly different set of requirements and resolves to a later
version of the lib which is not available.</p>
]]></content:encoded></item></channel></rss>