I’m trying to embed some JARs into single OSGi bundle using the feature of maven-bundle-plugin
The thing that worries me is that all packages of embedded JARs are put into the Import-Package header of the generated MANIFEST.MF.
If I specify explicitly to use only the packages I need, like in the following snippet:
Import-Package: org...
I am trying to run a Spring webapp using maven with the
mvn tomcat:run
command, but whenever I navigate to http://localhost:8080/myApp, I get the error: "The requested resource () is not available". Nothing shows up in the logs. I think my app is supposed to be deployed to "/" instead of "/myApp". Is there a way to do this?
Maven out...
I'm trying to use Subversion as Maven repo utilizing Maven wagon. If I declare snapshot location using http as protocol I get 409 error back from server when trying to deploy (mvn clean deploy)
<snapshotRepository>
<uniqueVersion>false</uniqueVersion>
<id>engtools_snapshots</id>
<name>EngTools Maven Repository</n...
what's the point of using ant, maven, and buildr? won't the using build in eclipse or netbeans work fine? i'm just curious as to what makes the build tools so special
...
We have developers working in different geographic locations and we want to set up Archiva for each of those geographic locations (just to make sure that the round trip in getting the artifacts is less).
Is it possible that whenever an artifact is uploaded/deleted from Archiva at location G1 then the same change gets pushed to Archiva ...
The following snippet generates create / drop sql for a particular database, whenever there is a modification to JPA entity classes.
How do I perform something equivalent of a 'for' operation where-in the following code can be used to generate sql for all supported databases (e.g. H2, MySQL, Postgres)
Currently I have to modify db.grou...
I'm trying to learn how to use lift. I can create project skeleton by running maven commands (I had zero maven experience before) from Starting with Lift. It successfully downloads needed dependencies and everything works fine, however it does not download sources - I'd like to see how lift works from inside.
Looks like it downloads de...
Hello,
I'm running ant task that runs junit test from within maven, using maven-antrun-plugin. The invocation looks like this:
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>ant-test</id>
<phase>test</phase>
<goals>
<goal>run</goal>
</goals>
<configuratio...
What is the best way to put javascript/html/css code in the maven repository, so that is easily usable by java projects.
Is there a way to do it such that the included project can be easily made "web-visible" by the including project?
For example assume I write a very useful tricks.js file an put it in the mvn repository.
Is it possib...
Heya,
once again it has happened... I joined a new project, composed of several plain Eclipse Java Projects, with interdependencies, all managed through the Project build path. I find this all a bit of a chaos. And when it comes to run configurations - you just enter hell.
In the past I've sticked to create plug-in projects, instead of...
I have a series of xml messages, all with their own schemas and namespaces. The messages are currently marshalled using JAXB (we still live in a Java 1.4 environment) and we have a large amount of legacy code using this JAXB code so any solution needs to be minimally intrusive.
My problem is that while each of the messages has a set of...
I like maven. I even like it very very much.
Since I switched to it from Ant I have saved lots of hours of works, building build files, administrating dependencies, etc, and saved lots of space in my source control repository.
The problem is that maven files are too verbose. Not that Ant files where less verbose, but their verbosity was...
Hi
I have configured my assembly descriptor to have an assembly of type jar by
<formats>
<format>jar</format>
</formats>
However,on running mvn install getting zip files instead of jar.Where I have gone wrong?
...
Hi,
In my current project we use some plugins needed by other plugins parameters like properties-maven-plugin or buildnumber-plugin.
<?xml version="1.0"?>
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>mygroup</groupId>
<artifactId>myartifact</artifactId>
<packaging>pom</packaging>
<version>v0</version>
<...
I am trying to get the Cargo plugin works on my maven project in order to benefit from war hot-deployment targetting the Jonas server.
The official documentation is not that clear on what is supported and what is not (for example you can find this: http://cargo.codehaus.org/Hot+Deployment but also this http://cargo.codehaus.org/JOnAS+4....
Say I have a Maven dependency defined in a project like below.
<dependency>
<groupId>com.thoughtworks.xstream</groupId>
<artifactId>xstream</artifactId>
<version>1.3.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>mycompany.library</groupId>
<artifactId>myli...
Hi All
My project uses many assemblies and hence i m interested only in the assemblies.
On executing mvn install apart from the assemblies , i m getting the default packaged jar
How can i avoid this ?
...
Hi,
I'm trying to start modifying an existing application with Eclipse. Actually I had it working before, but I deleted the project, and now with "mvn eclipse:eclipse" I get the following:
[INFO] Resource directory's path matches an existing source directory. Resources will be merged with the source directory src/main/resources
[INFO] ...
Hi
I am using seam to develop my application and running it on weblogic 10.1MP
Using maven2 to build the application and did not find the jboss-seam-wls-compatible.jar file in any repository.
In maven how I can copy this jar from my local folder to the target/WEB-INF/lib folder.
...
As stated in the title, how can I modify - in the simplest manner possible - a pom.xml in order to make it fails if a property is not set in the command line.
For example, mvn clean package will fail, when mvn clean package -Dfoo=bar will succeed.
I'm looking for something like the <prerequisites/> tag in the pom.xml (except that <prer...