Log in to follow, share, and participate in this community.
Thread Resolving artifact only from the local repository
Resolving artifact only from the local repositoryHi, I wonder if there is a way to say to ShrinkWrap to resolve an artifact only from local repository? I have this code File[] libs = Maven.resolver()
.loadPomFromFile("pom.xml")
.resolve("org.j...
Get dependencies of war artifactIs it possible to get the dependency list from a war artifact? This code returns an single MavenResolvedArtifact with empty dependency list. Maven.resolver().resolve("groupId:artifactId:war:version").withTran...
Thread Support for custom Maven packaging types in ShrinkWrap Resolvers?
Support for custom Maven packaging types in ShrinkWrap Resolvers?I have a Maven project that uses custom packaging types that are normally contributed by a plugin (with extensions=true). When building a new Arquillian deployment using ShrinkWrap Resolvers, the wrong extension is us...
Thread how to use maven resolver with dynamic arguments?
how to use maven resolver with dynamic arguments?Hi, I am using the maven resolver as follows: MavenResolverSystemImpl mrs = (MavenResolverSystemImpl) Resolvers.use(MavenResolverSystem.class, cl); mrs.getMavenWorkingSession().useLegacyLocalRep...
Maven dependencies orderHi, I am using Shrinkwrap to determine the dependencies of any Maven project. However I think I have found a "bug". When a dependency appear more than once with a different version number, the final classpath ...
Thread Shrinkwrap maven respolver fails if pom has namespace?
Shrinkwrap maven respolver fails if pom has namespace?I am trying to add a library to my shrinkwrap deployment using the Maven resolver, but if the pom.xml is defined with a namespace (<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/200...
Shrinkwrap and timestmaped snapshotsHi all, I'm trying to build a war containing some snapshots. The repository contains timestamped snapshots, but the shrinkwrap resolver is not picking them up. It is searching for non-timestamped snapshots thr...
Thread Exclude maven central in transitive dep resolution
Exclude maven central in transitive dep resolutionI am trying to resolve dependencies strictly from a private repo. This is my MavenResolverSystem definition : Maven.configureResolver().withMavenCentralRepo(false).fromClassloaderResource("settings.xml") ...
Thread How to resolve the classpath of a Maven module
How to resolve the classpath of a Maven moduleHi, I am trying to resolve the classpath of a Maven module, which also contains dependencies that appear in the parent pom as "managedDependencies". In my code (gist:62b2e4d7af4166ab7e94 · GitHub), ShrikW...
Loading dependencies from external pom.xmlHi, I have two different projects. One is my Arquillian unit test project and the other is my actual project. Can I load dependencies from my actual project's pom.xml which ...
Thread Aqruillian shrink wrapp can't inject Ejbs that includes others ?
Aqruillian shrink wrapp can't inject Ejbs that includes others ?i'm using arquillian to test my ejb services. when i inject an independent EJB into my test class,all things work better. However. when i try to inject EJB that includes others ejbs session one, it dosn't work?
Thread Having the most difficult time getting my MyBatis test to work...
Having the most difficult time getting my MyBatis test to work...I'm new to using CDI (coming over from Spring) and I'm trying to get a simple MyBatis test working using Arquillian. I have a sample app I put together that works fine deployed to Tomcat or JBoss, and I'd love...
Thread How to include xsd files in a ShrinkWrap WebArchive?
How to include xsd files in a ShrinkWrap WebArchive?I have a simple 'contact first' web application, using the jax-ws maven plugin's wsimport task to generate the web service artifacts. Is there a working example of including maven project files as resources no...