When I do a clean all on my maven project in Eclipse, it always comes back with the following error:
The filename, directory name, or volume label syntax is incorrect
I have the maven builder and java bulider enabled. Does anyone know what this error means?
thanks,
Jeff
...
Because of transitive dependencies, my wars are getting populated by xml-apis, xerces jars.
I tried following the instructions on the reference page for maven-war-plugin but it is not working.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<configuration>
<packagingExclud...
Is there an option in Maven (2.0.9) to turn off jar compression for the entire operation? I'm using Maven both in the build server and in my work station and I'd like to disable jar compression on the work station builds (development only). However, I don't want to touch all the poms and create two versions for each.
Is there an option ...
The AbstractMavenMojo's execute method declares it throws two exceptions, MojoExecutionException and MojoFailureException. Throwing either results in the build stopping and the log displays an almost identical message in each case.
The message for MojoExecutionException is:
[INFO] -------------------------------------------------------...
When I run mvn javadoc:javadoc, I get the following error:
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] An error has occurred in JavaDocs report generation:Exit code: 1 -
javadoc: error - cannot read options (The system cannot find the file specified)
Command line was:"C:\P...
My assembly descriptor applies the includes and excludes correctly when the dependencies are included in the pom file directly.
However when I put the dependencies in the parent pom file the assembly:directory goal reports that the includes and excludes haven't been triggered.
Do you know why maven-assembly-plugin ignores parent depend...
I'm interested in maintaining a Maven 2 repository for my organization. What are the some of the pointers and pitfalls that would help.
What are guidelines for users to follow when setting up standards for downloading from or publishing their own artifacts to the repository when releasing their code? What kinds of governance/rules do ...
Is there a way to have Artifactory automatically generate the archetype-catalog.xml file for a repository? At the moment, I maintain it by hand and publish it via HTTP PUT. While this is doable for our small internal repository, it would be nice to do this automatically, and I was rather surprised it doesn't seem to happen out of the box...
Is there a Maven Simian plugin available for Maven 2.x? I can't seem to locate a repository which holds it.
The earliest mention I could find was an unreleased version at:
https://svn.codehaus.org/mojo/trunk/sandbox/simian-report-maven-plugin/
Perhaps I'm googling using the wrong terms...
...
Hi,
I wrote my own custom namespace for a Spring based project I'm working on. The project is built with maven, and I'd like to put my xsd files in the resources directory. The problem is the spring.schemas directory requires me to define where I put my xsd file. In my dev environment it will be resources/schemas/myschema.xsd. But, when...
I am getting tired of manually installing javax jar files in Maven and would like to know what is the best solution to include a dependency on javax.cache, javax.transaction, or other JSRs that are not easy to find in Maven repositories.
...
I'm trying to execute my project using the Maven exec:exec goal and I've tried to configure it with this snippet:
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.1.1</version>
<configuration>
<executable>java</executable>
<arguments>
<argumen...
Hi all,
I have no idea what's wrong here, so you guys are my last chance:
When trying to start my JUnit-Test out of Eclipse, I get a "ClassNotFoundException". When running "mvn test" from console - everything works fine. Also, there are no problems reported in Eclipse.
My project structure is the following:
parent project (pom-packa...
I need to set "execute" permissions on a file which is a part of the WAR project. Can I do this without resorting to Ant script?
...
EDIT:
I am basically running into the following documented issue. I am using the maven assembly plugin to generate a jar file that includes my dependencies so that my project can be run from a single file. However, the jar file is not being built properly it seems. The below was an attempt to try and work around the issue. Has anyone ru...
Hello all,
What I want to do is this: I have a pom.xml that depends on some property that the user will have to type as he calls mvn by an -D property.
The problem is, if the user don't give me this option, the mvn should fail with an custom error message, as "This program won't compile because you must define this property..."
Does ...
I have a large Java project with a large number of jar file dependencies. When I try to run the project (using exec) from Eclipse or Netbeans, Maven throws an exception which turns out to be a too large number of entries on the classpath (only 2/3 of the needed entries are included). Does anyone know a workaround for this? (Except from...
Can we bind some native OS commands to the maven goals and/or phases?
...
Hi,
I am using Maven2 and would like to deploy my generated site to a web server using ftp.
i tried to use:
<distributionManagement>
<site>
<id>website</id>
<url>ftp://host/pub/</url>
</site>
</distributionManagement>
the problem is that get an error that ftp is not supported.
could it be that this basic feature d...
Hi,
I have a maven project and I'd like to create a distribution of it with the dependencies. I've tried the maven-assembly-plugin and built the jar with dependencies, but that unpacked all of the jars and repackaged them all into a big, single jar. What I'd like is something like my jar file and a lib folder that has all of the depende...