you have to declare your mojo class as @requiresDependencyResolution.
Best regards,
Christoph
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Just set up a variable in eclipse, M2_REPO, and point it to the location
of your local repository (which is where maven stores the downloaded
files). The value for the variable needs to be: $USER/.m2/repository.
The variable can be created in Window>Preferences>Run/Debug/String
Substitution.
Then
Hi,
the following code does not seem to work:
projectHelper.addResource(
project, outputDirectory.getAbsolutePath(),
Collections.singletonList("**/*.wsdl"),
Collections.EMPTY_LIST);
It is located at the end of Java2WSDLMojo.execute() of the
axistool-maven-plugin which uses Axis to create
Hi,
the first suspect, the character encoding which is often enough cause of
problems, wasn't guilty. :)
The description contained a newline which is used by the Manifest format
to distinguish sections. The first sentence from your link says:
"A JAR file manifest consists of a main section follo
Hi,
I have noticed that the project description is used in the
Specification-Title attribute of the manifest.mf file in generated JARs.
Shouldn't this be the project name instead?
I just stumbled over that because Tomcat complained about an invalid JAR
file. My description contained Unicode chara
Hi Jesse,
> want me to make a java2wsdl plugin?
that would be great!
Regarding my open question, I looked into the documentation of the
WSDL2Java tool at
http://ws.apache.org/axis/java/reference.html#WSDL2JavaReference
There is a switch which solves my problem:
-c, --implementationClassName
Hi,
The sections for maps and properties are missing. Is this not documented
or not implemented yet?
Thanks,
Christoph
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I want to share my solution for the Axis/Maven 2.0 integration. I was
able to get both, java2wsdl and wsdl2java, running, using the Ant trick
for java2wsdl.
I was wrong with the point about the build life cycle. WSDL creation
fits very well into it!
As long as there is no maven plug-in for java2w
I am also dealing with this right now. As far as my research led me,
there seems to be only the wsdl2java-maven-plugin. There is no official
release of it but you can download the plug-in and build it yourself
from http://svn.mojo.codehaus.org/trunk/mojo/wsdl2java-maven-plugin/
You need to rename
I figured this out myself. Here is the setting I use in the topmost
pom.xml of my project.
maven-compiler-plugin
UTF-8
However, I have one question: Is there any other/better way to do it?
Using mvn projecthelp:effective-pom, I f
Hi,
for Maven 1 there was a property to set, maven.compile.encoding.
How is that set in Maven 2.0?
I tried mvn -Dmaven.compile.encoding=UTF-8 compile, but the build still
fails at a file containing UTF-8 characters.
Thanks in advance,
Christoph
Thank you for the hint. I fixed it in my local POM file and it works
now.
Christoph
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I get the following warning:
[WARNING] POM for: 'jdom:jdom:pom:1.0' does not appear to be valid. Its
will be ignored for artifact resolution.
Reason: Parse error reading POM
I use the following dependency:
jdom
jdom
1.0
Is that POM on repo1.maven.org server corrupt? Can I use a differ
Nope. :-)
You can use it.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Brett, thank you very much. The patch does what I need.
Cheers to the person who wrote these improvements!
Keep on going with Maven 2.0 as it really rocks!
Yesterday, I started experimenting with it and it's such a breeze, I'm
becoming already productive with Maven, converting our hand-written An
Hi,
I am new to Maven and would like integrate Castor to generate source
code from XML Schema files.
I found a Castor plug-in for Maven 2.0 at
http://svn.mojo.codehaus.org/trunk/mojo/castor-maven-plugin which I
built and installed the plug-in in my local maven repository.
I have the attached p
16 matches
Mail list logo