com.xpn.xwiki.test.AbstractXWikiComponentTestCase
This is the only class that cannot be resolved. I have run
mvn package
Then I have tried to build with sourceanalyzer and this is the only class that cannot be found. I do not understand why mvn package would not have gotten this for me.
Any help would be great.
Thanks
...
I am building my project with Apache Maven and have a custom repository configured but when it hits the repository it just hangs for a very long time with
Downloading: http://maven.mycompany.com/m2/org/springframework/spring/2.5.6/spring-2.5.6.pom
after a few minutes it goes and downloads it from the central repo
Downloading: http://r...
I am using Assembly plugin for maven to create an installation package.
For my packaging requirement, I need to split artifacts generated during the build and all dependencies into separate folders.
My current Assembly manifest is as follows:
<moduleSets>
<moduleSet>
<includes>
<include>test:test</include>
</includes>
...
I am relatively new to the world of Java and Maven, but I couldn't imagine starting a new Java project without using Maven.
The idea of providing a human-readable project model is something that I would imagine is universally desirable across many languages. This is especially true when your application relies upon numerous external lib...
Is there any way to force Maven to use remote artifacts and not those installed on your machine? since I worry about runtime errors and not compilation errors build server is not valid option.
P.S. I know I could delete or rename the .m2 folder, but I bet there is some more clever way of doing this. Maybe some plugin or special command ...
I define the dependencies for compiling, testing and running my programs in the pom.xml files. But Eclipse still has a separately configured build path, so whenever I change either, I have to manually update the other. I guess this is avoidable? How?
...
Hi
I have several sub module (say A, B + C) that each generate an assembly tar.gz and a module (X) that will bundle them all together by extracting the tarballs into the target directory.
Right now setting up my dependency on A, B + C using the classifier and type in module X POM and using an assembly file with dependencySets the modul...
Hi all,
I am trying to deploy and run my webapplication using maven and its tomcat plugin.
I have set it up in project's pom.xml, but when I'm calling it from command line:
mvn tomcat:run
all that I get is:
[root@ovz6022 trunk]# mvn -e tomcat:run
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] ------------...
Hi,
I am trying to figure out how to setup continuous integration using maven.
What I want is:
Check for new stuff in SVN
If changes are detected, check them out
Build and deploy
I think all of this can be pushed into some shell script to make it be invoked by cron. Thus we will have automated continuous integration (nightly buil...
everytime i start with a fresh new workspace, m2eclipse downloads nexus-maven-repository-index.gz from the maven central repository.
this is good.
but,
some times, i just want to start a new workspace, and not wait for it to download,
it tried copying the whole .metadata directory from an old workspace to the new one,
but the list of mav...
I followed this tutorial to the letter but I still can't get maven installed!!!
http://maven.apache.org/download.html#Installation
When I run the following in command prompt:
E:\Documents and Settings\zach>mvn --version
I get:
'mvn' is not recognized as an internal or external command,
operable program or batch file.
I navigated to t...
I have maven installed and I'm trying to go through the hibernate tutorial. But how exactly am I suppose to use this file:
http://docs.jboss.org/hibernate/stable/core/reference/en/html/tutorial.html#tutorial-firstapp-setup
What does maven need to do with it?
What exactly does that file do?
...
When running a Maven build on the CI server, I generate the site to publish the documentation and reports, and also deploy the artifact to the snapshot repository for use by other projects. To do this I run the following goals:
mvn clean site deploy
This means the unit tests are run twice, once for the site lifecycle and once for the ...
I'm using resource filtering on jsps, based on profiles. I'm also developing locally using mvn jetty:run, but the filtering phase does not run.
How can I perform filtering using the jetty plugin?
Configuration snippets:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>2.0.2</ver...
How can I execute Pax-Runner tasks using a Maven Plugin, which I can specify in the pom.xml file?
i.e. I can do the following in command line using Pax-Runner (to convert a war file into an OSGi bundle)
pax-run war:file:C:/somefile.war warref:C:/somefile.properties
What should I do to make it happen in a pom.xml file?
Thanks in adva...
We are building our EAR & EJB projects with maven. It will build all the EJB projects and then they are used as the dependency for EAR, so they are packed into the EAR file eventually.
The problem is that each EJB project has junit tests that check the EJB. For now these tests are not very useful because they try to connect to applicati...
I'm developing my application as a set of OSGi bundles using Maven 2. Some common functionality, such as logging, web server etc. is used from other OSGi bundles, for example, I'm using the OSGi version of Jetty.
I want to ship my application with all third-party bundles and an OSGi container included. I chose Apache Felix as my default...
This question is a bit of a "best-practice" question, my team is new to Maven and I am looking for the best way forward on this topic:
When working on a project that has packaging = war, what's the best way to deploy it to your Maven repository (such as a company-wide Nexus installation)?
For example, let's say you have a webapp where ...
I have two wars which I deploy in two maven projects using tomcat plugin.
I want to do this in one step and be able to deploy more than one war in a single maven project.
How can I do this? any suggestions?
...
What I want to do is to create source code distribution of my application with all dependencies and burn it on DVD. So that I could build it in 100 years (well, ok, you know what I mean...). No online dependencies on libraries or maven plugins!
I know that Ant would be better for this, but I'm using maven in my project. I'm not going to...