Not as pretty as I hoped but works. Thanks Dan.
-Original Message-
From: Dan Tran [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 22, 2007 9:45 PM
To: Maven Users List
Subject: Re: How can I excluding a generated source from a compile step
1. use antrun to remove generated file(s) before compile phase
On 2/22/07, Matthews, Brian [EMAIL PROTECTED] wrote:
I am using the axistools-maven-plug-in to generate my server side classes
for a web service. I use the following plugin definition:
plugin
groupIdorg.codehaus.mojo/groupId
artifactIdaxistools-maven-plugin/artifactId
version1.0/version
configuration
packageSpace
com.terranua.mco.charts.webservice
/packageSpace
serverSidetrue/serverSide
testCasesfalse/testCases
allElementsfalse/allElements
subPackageByFileNamefalse/subPackageByFileName
/configuration
executions
execution
goals
goalwsdl2java/goal
/goals
/execution
/executions
/plugin
It generates the following files for me in .
\target\generated-sources\axistools\wsdl2java\com\terranua\mco\charts\webser
vice:
deploy.wsdd
GraphDataService.java
GraphDataServiceLocator.java
GraphDataSoapBindingImpl.java
GraphDataSoapBindingStub.java
GraphData_PortType.java
undeploy.wsdd
My problem is that I need to exclude GraphDataSoapBindingImpl.java from
the compile step because I already have that implemented. Is there anyway
to
excluded a single file from the generated sources or does anybody know of
a
way to get the axistools-maven-plugin to avoid generating
GraphDataSoapBindingImpl.java in the first place.
Thanks for your help,
Brian
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]