Hy,
I have a maven project.
mvn clean install
works perfect.
When deploying on my jboss server i receive this strange error:
Caused by: java.lang.ClassNotFoundException: No ClassLoaders found for: javax.ws.rs.core.Response
at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:212)
at org.jboss.mx.loading.Repositor...
I suppose this is kinda obvious, but I still judge it as a shortcoming...
I have 23 Mavenized projects. I'm now adding the <scm> bit because I've started using the release plugin. Here was my thought process:
I'll add the <scm> section only in my company base POM, and parameterise the URLs with properties, e.g.
<scm>
<connectio...
Hi there. I have one bundle using the following configuration in pom.xml:
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>2.1.0</version>
<extensions>true</extensions>
<configuration>
<osgiManifest>
<bundleName>SAMBA Common</bundleName>
<bundleDescription>The Com...
http://maven.apache.org/pom.html#Properties says property "values are accessible anywhere within a POM".
Should this read "are accessible in most places within a POM"?
I can specify the version of a dependency no problem like so:
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>${junit.version}...
I have a Maven/Web/Eclipse project running.
When I deploy in Eclipse, the contents of /src/main/resources are not deployed.
Here's my org.eclipse.wst.common.component file:
<?xml version="1.0" encoding="UTF-8"?>
<project-modules id="moduleCoreId" project-version="1.5.0">
<wb-module deploy-name="Grapevine">
<wb-resource dep...
I am trying to extend the maven plugin: hibernate3 (org.codehaus). All I want to do is extend their base plugin class and change some functionality. The plugin compiles and installs just fine (after using maven-inherit-plugin), however at runtime I end up with trouble. For some reason, maven expects there to be a class named Component...
I've been using maven for a while, and I often review repositories before selected what version I want to use. I don't entirely understand what the extensions mean.
I know that when I see extensions like -RC1 and -RC2 that means release candidates. When I see a version without an extension, I assume that means a released version. Bu...
I'm baffled and would appreciate any help. My build machine can no longer use the maven release plugin. When I try it fails on auth during the deployment from the tag. However, this machine can release using the standard deploy method to snapshot and release repositories (which are on the same machine with nexus as intermediary).
...
I am developing code actively, with my developing team. When we release to our customers, I would like to provide jars without the -SNAPSHOT so they only need to update when a new dot version is created.
This there a maven plugin that provides this functionality. I know there is because everyone else must do it some how. I doubt it is ...
I've got a Maven project that runs perfectly inside Netbeans. How can I execute the application from the command-line (without Netbeans)?
...
Has any one used Chronos for JMeter + Maven plug-in. I am having tough time trying Maven JMeter plug-in and thought of giving it a try
I have following pom set up for chronos but when I execute "mvn verify " I encounter following exception -
#
Maven cannot calculate your build plan, given the following information:
Tasks:
- verify
C...
Is it possible for a child POM to inherit profiles defined in the parent POM? If so, how?
...
What is the simplest way to retrieve version number from maven's pom.xml in code?
...
I have a Java Annotation Processor that extends from AbstractProcessor.
I have two supported options, addResDir and verbose, and I am trying to set them like this:
-AaddResDir=src/main/webapp -Averbose=true
I have also tried this:
-AaddResDir=src/main/webapp,verbose=true
While a single parameter works, e.g.
-AaddResDir=src/main/w...
I'm learning Maven and I'd need a little help to get started. I use the m2eclipse plugin (Maven) and I would like to generate a project like Struts 2, Hibernate 3, MySQL. For now I just create a simple project with the archetype: maven-archetype-webapp
What are the dependencies I need to add?
...
According to Spring MVC documentation, <mvc:annotation-driven/> configures support for JSON if Jackson is in the classpath, and support for XML if JAXB is present in the classpath. Simply by adding a Jackson dependency to my pom.xml, I get JSON support to work! (see: Ajax Simplification in Spring 3.0)
However, after trying to access the...
Hi,
I have a maven war module which run eclipse WTP tomcat server like normal. Now i want to reuse that module artifact by using maven war overlay: i just create a new war project and include that module in project dependencies. The problem is now i cannot use eclipse "Run on server" anymore because i don't have any resource or config f...
I've looked at a bunch of sample project and I can't seem to tease out a common best practice. I've seen Spring bean files sometimes go in the web-app/WEB-INF directory. I've seen this in conjunction with with a servlet definition in web.xml like this:
<servlet>
<servlet-name>my-stuff</servlet-name>
<servlet-class>org.springf...
I have the following dependency in my pom file:-
<dependency>
<groupId>org.jvnet.ws.wadl</groupId>
<artifactId>wadl-core</artifactId>
<version>1.1-SNAPSHOT</version>
</dependency>
the jar file exists on the system and the dependency can be resolved. but when the code is run it fails on java.lang.ClassNotFoundException: org...
When building a Maven plugin, where can I find documentation for the built-in expressions that can be used for @parameter expression="${...}" constructs?
...