You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by Benson Margulies <bi...@gmail.com> on 2009/09/05 13:45:26 UTC
Have we got a new maven dependency ?
INFO] [antrun:run {execution: validate}]
[INFO] Executing tasks
[INFO] Executed tasks
[INFO] Registering compile source root
/Users/benson/asf/cxf/testutils/target/generated/src/main/java
[INFO] [cxf-xml2fastinfoset:xml2fastinfoset {execution: xml2fastinfoset}]
[INFO]
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Unresolved compilation problems:
The import org.apache.maven.execution cannot be resolved
MavenSession cannot be resolved to a type
MavenSession cannot be resolved to a type
[INFO]
------------------------------------------------------------------------
[INFO] Trace
java.lang.Error: Unresolved compilation problems:
The import org.apache.maven.execution cannot be resolved
MavenSession cannot be resolved to a type
MavenSession cannot be resolved to a type
at
org.apache.cxf.maven_plugin.WSDL2JavaMojo.<init>(WSDL2JavaMojo.java:40)
Re: Have we got a new maven dependency ?
Posted by Daniel Kulp <dk...@apache.org>.
On Sat September 5 2009 9:49:57 am Benson Margulies wrote:
> The quickest path to failure is:
>
> mvn clean
> mvn -Pfastinstall,setup.eclipse
You probably needed:
mvn install -Pfastinstall,setup.eclipse
setup.eclipse resets the default target to process-test-sources so the plugin
probably wasn't installed.
Dan
>
> On Sat, Sep 5, 2009 at 9:37 AM, Christian Schneider
> <chris@die-schneider.net
>
> > wrote:
> >
> > So mvn install worked and mvn -Pfastinstall did not work?
> >
> >
> > Greetings
> >
> > Christian
> >
> > Benson Margulies schrieb:
> >> Something is wrong with the 'fastinstall' profile. Maybe it doesn't
> >> rebuild
> >> the codegen?
> >>
> >> On Sat, Sep 5, 2009 at 9:02 AM, Christian Schneider <
> >> chris@die-schneider.net
> >>
> >>> wrote:
> >>>
> >>>
> >>>
> >>>
> >>>
> >>> Hi Benson,
> >>>
> >>> I have added this dependency. It is used to pull wsdl files from the
> >>> maven
> >>> repo.
> >>> (see https://issues.apache.org/jira/browse/CXF-2275)
> >>>
> >>> I have added the following dependencies to the codegen plugin:
> >>>
> >>> <dependency>
> >>> <groupId>org.apache.maven</groupId>
> >>> <artifactId>maven-core</artifactId>
> >>> <scope>provided</scope>
> >>> </dependency>
> >>> <dependency>
> >>> <groupId>org.apache.maven</groupId>
> >>> <artifactId>maven-artifact</artifactId>
> >>> <scope>provided</scope>
> >>> </dependency>
> >>>
> >>>
> >>>
> >>> Did I forget to include something to make the build work? A complete
> >>> build
> >>> seems to run without problems.
> >>>
> >>> Greetings
> >>>
> >>> Christian
> >>>
> >>>
> >>> Benson Margulies schrieb:
> >>>
> >>> INFO] [antrun:run {execution: validate}]
> >>>
> >>>> [INFO] Executing tasks
> >>>> [INFO] Executed tasks
> >>>> [INFO] Registering compile source root
> >>>> /Users/benson/asf/cxf/testutils/target/generated/src/main/java
> >>>> [INFO] [cxf-xml2fastinfoset:xml2fastinfoset {execution:
> >>>> xml2fastinfoset}]
> >>>> [INFO]
> >>>> ----------------------------------------------------------------------
> >>>>-- [ERROR] FATAL ERROR
> >>>> [INFO]
> >>>> ----------------------------------------------------------------------
> >>>>-- [INFO] Unresolved compilation problems:
> >>>> The import org.apache.maven.execution cannot be resolved
> >>>> MavenSession cannot be resolved to a type
> >>>> MavenSession cannot be resolved to a type
> >>>>
> >>>> [INFO]
> >>>> ----------------------------------------------------------------------
> >>>>-- [INFO] Trace
> >>>> java.lang.Error: Unresolved compilation problems:
> >>>> The import org.apache.maven.execution cannot be resolved
> >>>> MavenSession cannot be resolved to a type
> >>>> MavenSession cannot be resolved to a type
> >>>>
> >>>> at
> >>>> org.apache.cxf.maven_plugin.WSDL2JavaMojo.<init>(WSDL2JavaMojo.java:40
> >>>>)
>
--
Daniel Kulp
dkulp@apache.org
http://www.dankulp.com/blog
Re: Have we got a new maven dependency ?
Posted by Benson Margulies <bi...@gmail.com>.
The quickest path to failure is:
mvn clean
mvn -Pfastinstall,setup.eclipse
On Sat, Sep 5, 2009 at 9:37 AM, Christian Schneider <chris@die-schneider.net
> wrote:
> So mvn install worked and mvn -Pfastinstall did not work?
>
>
> Greetings
>
> Christian
>
> Benson Margulies schrieb:
>
>> Something is wrong with the 'fastinstall' profile. Maybe it doesn't
>> rebuild
>> the codegen?
>>
>> On Sat, Sep 5, 2009 at 9:02 AM, Christian Schneider <
>> chris@die-schneider.net
>>
>>
>>> wrote:
>>>
>>>
>>
>>
>>
>>> Hi Benson,
>>>
>>> I have added this dependency. It is used to pull wsdl files from the
>>> maven
>>> repo.
>>> (see https://issues.apache.org/jira/browse/CXF-2275)
>>>
>>> I have added the following dependencies to the codegen plugin:
>>>
>>> <dependency>
>>> <groupId>org.apache.maven</groupId>
>>> <artifactId>maven-core</artifactId>
>>> <scope>provided</scope>
>>> </dependency>
>>> <dependency>
>>> <groupId>org.apache.maven</groupId>
>>> <artifactId>maven-artifact</artifactId>
>>> <scope>provided</scope>
>>> </dependency>
>>>
>>>
>>>
>>> Did I forget to include something to make the build work? A complete
>>> build
>>> seems to run without problems.
>>>
>>> Greetings
>>>
>>> Christian
>>>
>>>
>>> Benson Margulies schrieb:
>>>
>>> INFO] [antrun:run {execution: validate}]
>>>
>>>
>>>> [INFO] Executing tasks
>>>> [INFO] Executed tasks
>>>> [INFO] Registering compile source root
>>>> /Users/benson/asf/cxf/testutils/target/generated/src/main/java
>>>> [INFO] [cxf-xml2fastinfoset:xml2fastinfoset {execution:
>>>> xml2fastinfoset}]
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [ERROR] FATAL ERROR
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] Unresolved compilation problems:
>>>> The import org.apache.maven.execution cannot be resolved
>>>> MavenSession cannot be resolved to a type
>>>> MavenSession cannot be resolved to a type
>>>>
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] Trace
>>>> java.lang.Error: Unresolved compilation problems:
>>>> The import org.apache.maven.execution cannot be resolved
>>>> MavenSession cannot be resolved to a type
>>>> MavenSession cannot be resolved to a type
>>>>
>>>> at
>>>> org.apache.cxf.maven_plugin.WSDL2JavaMojo.<init>(WSDL2JavaMojo.java:40)
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>>
>
>
Re: Have we got a new maven dependency ?
Posted by Christian Schneider <ch...@die-schneider.net>.
So mvn install worked and mvn -Pfastinstall did not work?
Greetings
Christian
Benson Margulies schrieb:
> Something is wrong with the 'fastinstall' profile. Maybe it doesn't rebuild
> the codegen?
>
> On Sat, Sep 5, 2009 at 9:02 AM, Christian Schneider <chris@die-schneider.net
>
>> wrote:
>>
>
>
>> Hi Benson,
>>
>> I have added this dependency. It is used to pull wsdl files from the maven
>> repo.
>> (see https://issues.apache.org/jira/browse/CXF-2275)
>>
>> I have added the following dependencies to the codegen plugin:
>>
>> <dependency>
>> <groupId>org.apache.maven</groupId>
>> <artifactId>maven-core</artifactId>
>> <scope>provided</scope>
>> </dependency>
>> <dependency>
>> <groupId>org.apache.maven</groupId>
>> <artifactId>maven-artifact</artifactId>
>> <scope>provided</scope>
>> </dependency>
>>
>>
>>
>> Did I forget to include something to make the build work? A complete build
>> seems to run without problems.
>>
>> Greetings
>>
>> Christian
>>
>>
>> Benson Margulies schrieb:
>>
>> INFO] [antrun:run {execution: validate}]
>>
>>> [INFO] Executing tasks
>>> [INFO] Executed tasks
>>> [INFO] Registering compile source root
>>> /Users/benson/asf/cxf/testutils/target/generated/src/main/java
>>> [INFO] [cxf-xml2fastinfoset:xml2fastinfoset {execution: xml2fastinfoset}]
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [ERROR] FATAL ERROR
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Unresolved compilation problems:
>>> The import org.apache.maven.execution cannot be resolved
>>> MavenSession cannot be resolved to a type
>>> MavenSession cannot be resolved to a type
>>>
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Trace
>>> java.lang.Error: Unresolved compilation problems:
>>> The import org.apache.maven.execution cannot be resolved
>>> MavenSession cannot be resolved to a type
>>> MavenSession cannot be resolved to a type
>>>
>>> at
>>> org.apache.cxf.maven_plugin.WSDL2JavaMojo.<init>(WSDL2JavaMojo.java:40)
>>>
>>>
>>>
>>>
>>
>
>
Re: Have we got a new maven dependency ?
Posted by Benson Margulies <bi...@gmail.com>.
Something is wrong with the 'fastinstall' profile. Maybe it doesn't rebuild
the codegen?
On Sat, Sep 5, 2009 at 9:02 AM, Christian Schneider <chris@die-schneider.net
> wrote:
> Hi Benson,
>
> I have added this dependency. It is used to pull wsdl files from the maven
> repo.
> (see https://issues.apache.org/jira/browse/CXF-2275)
>
> I have added the following dependencies to the codegen plugin:
>
> <dependency>
> <groupId>org.apache.maven</groupId>
> <artifactId>maven-core</artifactId>
> <scope>provided</scope>
> </dependency>
> <dependency>
> <groupId>org.apache.maven</groupId>
> <artifactId>maven-artifact</artifactId>
> <scope>provided</scope>
> </dependency>
>
>
>
> Did I forget to include something to make the build work? A complete build
> seems to run without problems.
>
> Greetings
>
> Christian
>
>
> Benson Margulies schrieb:
>
> INFO] [antrun:run {execution: validate}]
>> [INFO] Executing tasks
>> [INFO] Executed tasks
>> [INFO] Registering compile source root
>> /Users/benson/asf/cxf/testutils/target/generated/src/main/java
>> [INFO] [cxf-xml2fastinfoset:xml2fastinfoset {execution: xml2fastinfoset}]
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] FATAL ERROR
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Unresolved compilation problems:
>> The import org.apache.maven.execution cannot be resolved
>> MavenSession cannot be resolved to a type
>> MavenSession cannot be resolved to a type
>>
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Trace
>> java.lang.Error: Unresolved compilation problems:
>> The import org.apache.maven.execution cannot be resolved
>> MavenSession cannot be resolved to a type
>> MavenSession cannot be resolved to a type
>>
>> at
>> org.apache.cxf.maven_plugin.WSDL2JavaMojo.<init>(WSDL2JavaMojo.java:40)
>>
>>
>>
>
>
Re: Have we got a new maven dependency ?
Posted by Christian Schneider <ch...@die-schneider.net>.
Hi Benson,
I have added this dependency. It is used to pull wsdl files from the
maven repo.
(see https://issues.apache.org/jira/browse/CXF-2275)
I have added the following dependencies to the codegen plugin:
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-core</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-artifact</artifactId>
<scope>provided</scope>
</dependency>
Did I forget to include something to make the build work? A complete
build seems to run without problems.
Greetings
Christian
Benson Margulies schrieb:
> INFO] [antrun:run {execution: validate}]
> [INFO] Executing tasks
> [INFO] Executed tasks
> [INFO] Registering compile source root
> /Users/benson/asf/cxf/testutils/target/generated/src/main/java
> [INFO] [cxf-xml2fastinfoset:xml2fastinfoset {execution: xml2fastinfoset}]
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Unresolved compilation problems:
> The import org.apache.maven.execution cannot be resolved
> MavenSession cannot be resolved to a type
> MavenSession cannot be resolved to a type
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> java.lang.Error: Unresolved compilation problems:
> The import org.apache.maven.execution cannot be resolved
> MavenSession cannot be resolved to a type
> MavenSession cannot be resolved to a type
>
> at
> org.apache.cxf.maven_plugin.WSDL2JavaMojo.<init>(WSDL2JavaMojo.java:40)
>
>