Hello everybody, I've built my project successfully. My war is located in target dir and I try to run the war on the jboss here is the part of pom.xml that says jboss where to look for war..
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>jboss-maven-plugin<...
Hello everybody,
I started jboss-5.1.0.GA server with maven2, is there a possibility that I can see what is happening in the console. I'm using eclipse plugin to run maven. Is it possible to see console in eclipse or elsewhere?
Here is what I mean by console :
Is it possible to see this output somewhere? I took this screen shot when...
Hi there,
I am trying to do my first project with Spring 3.0 (and maven). I have been using Spring 2.5 (and primer versions) in quite some projects. Nevertheless I am kinda confused, what modules I have to define as dependencies in my pom.xml. I just want to use the core container functions (beans, core, context, el).
I was used to do ...
Is there a way to configure a TeamCity build to forbid remote runs? I want to configure a maven build that deploys a snapshot but I don't want to allow remote runs on that configuration.
...
I want to set up each TeamCity agent to use a local repository (maven.repo.local) in the agent's working directory (agent.work.dir). Is it possible to configure maven properties to use TeamCity properties in this way?
...
I cannot seem to get the Maven Glassfish plugin working for the life of me:
<project>
...
<pluginRepositories>
<pluginRepository>
<id>glassfish-repository</id>
<name>Java.net Repository for Glassfish</name>
<url>http://download.java.net/maven/glassfish</url>
<layout>default</layout>
<snapshots...
I have a simple spring 3 mvc application, that just ouputs index.aspx when someone browses to http://localhost:8080/
When I do RunAs and run on server option (which is hooked into tomcat 6), it opens up the browser to http://localhost:8080/springmvc2/ (where springmvc2 is the applications name).
I have build this same simple test app...
I have a Web application in maven that follows this structure:
src
`-- main
|-- java
|-- resources
`-- webapp
Is is better to put it in the main folder and then the maven plug in will try to move it or I should put it inside the webapp folder and why?
...
The eclipse 'problems' tab is displaying this error:
Description Resource Path Location Type
Java compiler level does not match the version of the installed Java project facet. groupping Unknown Faceted Project Problem (Java Version Mismatch)
I am using eclipse, my pom.xml has this setting:
<plugins>
<plugi...
I can't seem to find apache common logging when using eclipse w/maven2 plugin.
I need it for spring3 mvc apparently.
...
I use the m2eclipse plugin, and I commute on a ferry with wifi service provided by Boigo. When I try to access anything via http on the ferry, if I haven't already logged in any request gets redirected to a login screen. The problem is that if for any reason eclipse decides to refresh its maven dependencies before I've logged in, I get...
I am using eclipse with maven2 plugin.
When doing a Run-As -> build with a goal of 'deploy' I am getting this error:
Error message:org.codehaus.plexus.component.configurator.ComponentConfigurationException: Class 'org.apache.maven.artifact.repository.ArtifactRepository' cannot be instantiated
I'm not sure I even need to do a 'deploy'...
I am using eclipse, tomcat6 and I have the maven2 eclipse plugin.
I have tried with using my own downloaded version of tomcat6 and the built in eclipse tomcat server, both havent' worked for me.
The page simply returns a 404 error from tomcat at http://localhost:8080/
(I set the context the '/')
I fired up netbeans and created the ex...
Hello,
How can I execute java program during the build, or after the build has just finished, is it possible to do this directly from pom:
mvn exec:java -Dexec.mainClass=org.sonatype.mavenbook.weather.Main
EDIT
Lets say I wanna execute org.eclipse.content.MyClass how would I needed to write code?
This builds the project but it does...
I'm having maven project on Eclipse with m2eclipse plugin. This project has some dependencies. Some of them are libraries as slf4j, apache-commons etc. But there are also mine libraries, that I'm developing simultaneously in eclipse. Unfortunately m2eclipse creates build path in such a way that my libraries are added to the classpath not...
Hi,
My test code in Maven project B (which is a child of project A) has something like
String filePath = "src/main/webapp";
//do something with the filePath
The above test case runs fine when I run the project from child (i.e, level B) but when I run from Parent project A (i.e, doing a mvn install at parent level) this fails because o...
We use Hudson and the maven-release-plugin to do the release builds. Now I have a project which contains an assembly that puts together all needed components and then packages them into a .tar.gz package with the desired directory structure.
Now I'm trying to get the release-plugin to deploy this package to our Maven repository during t...
I'm using MyEclipse 8.0 to develop a Spring Batch project. Recently, I added MySQL to the database explorer perspective and now when I try to do "mvn clean" on my project, it fails because it can't delete the mysql-connector-java-5.1.6.jar from the target lib folder. I've tried manually deleting this jar, but I get that popup that says...
Hi,
I have to clean up an old project and general knowledge here is that the project contains lots of unused code that we could remove. That would save some headaches and make maintenance easier.
I found the Eclipse Core Tools plugin which looks like a great tool, but in our case we have a Maven2 project that is split in 3 modules.
I...
I have a multimodule Maven2 project which builds a web application. The application is connected to a backend server and a DB. There are several server instances deployed in our environment, and there are also multiple backend and DB instances for development, UAT, production, etc. So practically, each application configuration needs the...