Return-Path:
Delivered-To: apmail-ws-axis-user-archive@www.apache.org
Received: (qmail 63995 invoked from network); 22 Sep 2009 18:35:41 -0000
Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3)
by minotaur.apache.org with SMTP; 22 Sep 2009 18:35:41 -0000
Received: (qmail 7091 invoked by uid 500); 22 Sep 2009 18:35:39 -0000
Delivered-To: apmail-ws-axis-user-archive@ws.apache.org
Received: (qmail 7012 invoked by uid 500); 22 Sep 2009 18:35:39 -0000
Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm
Precedence: bulk
Reply-To: axis-user@ws.apache.org
list-help:
list-unsubscribe:
List-Post:
List-Id:
Delivered-To: mailing list axis-user@ws.apache.org
Received: (qmail 7003 invoked by uid 99); 22 Sep 2009 18:35:39 -0000
Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230)
by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Sep 2009 18:35:39 +0000
X-ASF-Spam-Status: No, hits=-0.0 required=10.0
tests=SPF_PASS
X-Spam-Check-By: apache.org
Received-SPF: pass (nike.apache.org: domain of andreas.veithen@gmail.com
designates 209.85.220.220 as permitted sender)
Received: from [209.85.220.220] (HELO mail-fx0-f220.google.com)
(209.85.220.220)
by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Sep 2009 18:35:29 +0000
Received: by fxm20 with SMTP id 20so4494fxm.14
for ; Tue, 22 Sep 2009 11:35:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=gamma;
h=domainkey-signature:mime-version:received:in-reply-to:references
:from:date:message-id:subject:to:content-type
:content-transfer-encoding;
bh=JUzAwIz36XHw43OZr+65/UJVuZaxDUZ4TNoC8+ZvmTw=;
b=T2bAeMur+F3embkvWg0IhBvx3qwYnWPPobY4iWXg4j9SC3CoCevO2/lM9zm5/XU0Ai
QuRXdFsKSRPi2XvwlK5Lkfh6aSHf6FU0NYneo5NenY9UBA16m5RE2+v9ymwnqLG1AByW
oR879c/q3nu0vO24fCAibk2r2eWexTPWBXmU8=
DomainKey-Signature: a=rsa-sha1; c=nofws;
d=gmail.com; s=gamma;
h=mime-version:in-reply-to:references:from:date:message-id:subject:to
:content-type:content-transfer-encoding;
b=E8fUNk1nI2zVWkJtXDWGy6ZHeOTPDXSw8uROvMxTfEtPUqCh+u1zXo9E8AEznPx1T3
0ZnENAW5GWfc/+iFR0ZTrmmYADhgLnnb68aGh47k7L1nSLhGwMBwdN/J7VuHNxqPJjGp
KYgQpsgilpLwD0b/jpQhtq3S2fWhWUy6tfeF4=
MIME-Version: 1.0
Received: by 10.239.145.13 with SMTP id q13mr102743hba.125.1253644509109;
Tue,
22 Sep 2009 11:35:09 -0700 (PDT)
In-Reply-To: <974730.18624.qm@web57605.mail.re1.yahoo.com>
References: <974730.18624.qm@web57605.mail.re1.yahoo.com>
From: Andreas Veithen
Date: Tue, 22 Sep 2009 20:34:49 +0200
Message-ID:
Subject: Re: [AXIS2] A question on axis2-wsdl2code-maven-plugin
To: axis-user@ws.apache.org
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Virus-Checked: Checked by ClamAV on apache.org
In a Maven build you should never let a plugin output generated code
into src/main/java, but instead into a temporary directory under
"target" (so that it will be removed by mvn clean). In that case it
doesn't matter that axis2-wsdl2code-maven-plugin places the code in a
subdirectory called "src".
Andreas
On Tue, Sep 22, 2009 at 19:58, Indrit Selimi wrote=
:
> Dear all,
>
> I'm using the maven plugin of axis2. As a maven plugin I thought that giv=
ing an output directory of
> src/main/java(or better nothing at all=
)
> and the right package name I could find the generated sources on my packa=
ge, but I'm seeing that the plugin generates a new directory src! So, at th=
e end I have this situation: src/main/java/src... how I can get rid of this=
new src directory? Which are the best practices for integrating the plugin=
in a maven project? BTW, a build.xml file is also created, for what is nee=
ded?
>
> Thank you very much.
>
> Indrit
>
>
> Plugin Configuration:
> =A0 =A0 =A0 =A0
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0org.apache.axis2
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0axis2-wsdl2code-maven-plugin=
artifactId>
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A01.5
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0it.rcs.maps.service.p=
roviders.microsoft.webservice
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0src/main/resources/wsdl/=
mappoint.wsdl
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0true
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0src/main/java
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0wsdl
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0generate-sources
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0wsdl2code
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0
> =A0 =A0 =A0 =A0 =A0 =A0
>
>
>
>
>