You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Alan D. Cabrera" <li...@toolazydogs.com> on 2012/03/18 02:36:36 UTC
Trunk build dies
This patch seemed to fix it:
(linkedin)[acabrera-mn:trunk 509]$ svn diff
Index: webbeans-tomcat7/pom.xml
===================================================================
--- webbeans-tomcat7/pom.xml (revision 1302042)
+++ webbeans-tomcat7/pom.xml (working copy)
@@ -28,6 +28,7 @@
<description>Apache OpenWebBeans Tomcat 7 Web Profile</description>
<dependencies>
+
<dependency>
<groupId>org.apache.tomcat</groupId>
<artifactId>tomcat-catalina</artifactId>
@@ -61,6 +62,13 @@
<scope>provided</scope>
</dependency>
+ <dependency>
+ <groupId>org.apache.geronimo.specs</groupId>
+ <artifactId>geronimo-servlet_2.5_spec</artifactId>
+ <scope>provided</scope>
+ </dependency>
+
+
</dependencies>
</project>
Re: Trunk build dies
Posted by Romain Manni-Bucau <rm...@gmail.com>.
np,
maybe an error due to maven while it was getting dependencies. It happens
sometimes (in particular in 3G ;)).
- Romain
2012/3/18 Alan D. Cabrera <li...@toolazydogs.com>
> How odd, it now works after I built w/ those profiles. I was previously
> getting compile errors about missing Servlet classes. Sorry about the
> noise!
>
>
> Regards,
> Alan
>
>
> On Mar 18, 2012, at 9:03 AM, Romain Manni-Bucau wrote:
>
> > yes it compiles for me without any change
> >
> > which error did you get?
> >
> > - Romain
> >
> >
> > 2012/3/18 Mark Struberg <st...@yahoo.de>
> >
> >> Romain is right. The default for CDI is Servlet-3.0 nowadays.
> >>
> >>
> >> mvn dependency:tree shows that the following jar:
> >>
> >> org.apache.tomcat:tomcat-servlet-api:jar:7.0.0:provided
> >>
> >>
> >> Thus it should compile at least.
> >>
> >> LieGrue,
> >> strub
> >>
> >>
> >> ----- Original Message -----
> >>> From: Alan D. Cabrera <li...@toolazydogs.com>
> >>> To: dev@openwebbeans.apache.org
> >>> Cc:
> >>> Sent: Sunday, March 18, 2012 4:04 PM
> >>> Subject: Re: Trunk build dies
> >>>
> >>> Not sure. I merely picked the first one that I found in a higher level
> >> POM.
> >>>
> >>>
> >>> Regards,
> >>> Alan
> >>>
> >>>
> >>> On Mar 18, 2012, at 2:36 AM, Romain Manni-Bucau wrote:
> >>>
> >>>> Shouldn't it be servlet 3?
> >>>>
> >>>> - Romain
> >>>>
> >>>> Le 18 mars 2012 02:37, "Alan D. Cabrera"
> >>> <li...@toolazydogs.com> a écrit :
> >>>>
> >>>>> This patch seemed to fix it:
> >>>>>
> >>>>>
> >>>>> (linkedin)[acabrera-mn:trunk 509]$ svn diff
> >>>>> Index: webbeans-tomcat7/pom.xml
> >>>>> ===================================================================
> >>>>> --- webbeans-tomcat7/pom.xml (revision 1302042)
> >>>>> +++ webbeans-tomcat7/pom.xml (working copy)
> >>>>> @@ -28,6 +28,7 @@
> >>>>> <description>Apache OpenWebBeans Tomcat 7 Web
> >>> Profile</description>
> >>>>>
> >>>>> <dependencies>
> >>>>> +
> >>>>> <dependency>
> >>>>> <groupId>org.apache.tomcat</groupId>
> >>>>> <artifactId>tomcat-catalina</artifactId>
> >>>>> @@ -61,6 +62,13 @@
> >>>>> <scope>provided</scope>
> >>>>> </dependency>
> >>>>>
> >>>>> + <dependency>
> >>>>> + <groupId>org.apache.geronimo.specs</groupId>
> >>>>> +
> >>> <artifactId>geronimo-servlet_2.5_spec</artifactId>
> >>>>> + <scope>provided</scope>
> >>>>> + </dependency>
> >>>>> +
> >>>>> +
> >>>>> </dependencies>
> >>>>>
> >>>>> </project>
> >>>>>
> >>>>>
> >>>
> >>
>
>
Re: Trunk build dies
Posted by "Alan D. Cabrera" <li...@toolazydogs.com>.
How odd, it now works after I built w/ those profiles. I was previously getting compile errors about missing Servlet classes. Sorry about the noise!
Regards,
Alan
On Mar 18, 2012, at 9:03 AM, Romain Manni-Bucau wrote:
> yes it compiles for me without any change
>
> which error did you get?
>
> - Romain
>
>
> 2012/3/18 Mark Struberg <st...@yahoo.de>
>
>> Romain is right. The default for CDI is Servlet-3.0 nowadays.
>>
>>
>> mvn dependency:tree shows that the following jar:
>>
>> org.apache.tomcat:tomcat-servlet-api:jar:7.0.0:provided
>>
>>
>> Thus it should compile at least.
>>
>> LieGrue,
>> strub
>>
>>
>> ----- Original Message -----
>>> From: Alan D. Cabrera <li...@toolazydogs.com>
>>> To: dev@openwebbeans.apache.org
>>> Cc:
>>> Sent: Sunday, March 18, 2012 4:04 PM
>>> Subject: Re: Trunk build dies
>>>
>>> Not sure. I merely picked the first one that I found in a higher level
>> POM.
>>>
>>>
>>> Regards,
>>> Alan
>>>
>>>
>>> On Mar 18, 2012, at 2:36 AM, Romain Manni-Bucau wrote:
>>>
>>>> Shouldn't it be servlet 3?
>>>>
>>>> - Romain
>>>>
>>>> Le 18 mars 2012 02:37, "Alan D. Cabrera"
>>> <li...@toolazydogs.com> a écrit :
>>>>
>>>>> This patch seemed to fix it:
>>>>>
>>>>>
>>>>> (linkedin)[acabrera-mn:trunk 509]$ svn diff
>>>>> Index: webbeans-tomcat7/pom.xml
>>>>> ===================================================================
>>>>> --- webbeans-tomcat7/pom.xml (revision 1302042)
>>>>> +++ webbeans-tomcat7/pom.xml (working copy)
>>>>> @@ -28,6 +28,7 @@
>>>>> <description>Apache OpenWebBeans Tomcat 7 Web
>>> Profile</description>
>>>>>
>>>>> <dependencies>
>>>>> +
>>>>> <dependency>
>>>>> <groupId>org.apache.tomcat</groupId>
>>>>> <artifactId>tomcat-catalina</artifactId>
>>>>> @@ -61,6 +62,13 @@
>>>>> <scope>provided</scope>
>>>>> </dependency>
>>>>>
>>>>> + <dependency>
>>>>> + <groupId>org.apache.geronimo.specs</groupId>
>>>>> +
>>> <artifactId>geronimo-servlet_2.5_spec</artifactId>
>>>>> + <scope>provided</scope>
>>>>> + </dependency>
>>>>> +
>>>>> +
>>>>> </dependencies>
>>>>>
>>>>> </project>
>>>>>
>>>>>
>>>
>>
Re: Trunk build dies
Posted by Romain Manni-Bucau <rm...@gmail.com>.
yes it compiles for me without any change
which error did you get?
- Romain
2012/3/18 Mark Struberg <st...@yahoo.de>
> Romain is right. The default for CDI is Servlet-3.0 nowadays.
>
>
> mvn dependency:tree shows that the following jar:
>
> org.apache.tomcat:tomcat-servlet-api:jar:7.0.0:provided
>
>
> Thus it should compile at least.
>
> LieGrue,
> strub
>
>
> ----- Original Message -----
> > From: Alan D. Cabrera <li...@toolazydogs.com>
> > To: dev@openwebbeans.apache.org
> > Cc:
> > Sent: Sunday, March 18, 2012 4:04 PM
> > Subject: Re: Trunk build dies
> >
> > Not sure. I merely picked the first one that I found in a higher level
> POM.
> >
> >
> > Regards,
> > Alan
> >
> >
> > On Mar 18, 2012, at 2:36 AM, Romain Manni-Bucau wrote:
> >
> >> Shouldn't it be servlet 3?
> >>
> >> - Romain
> >>
> >> Le 18 mars 2012 02:37, "Alan D. Cabrera"
> > <li...@toolazydogs.com> a écrit :
> >>
> >>> This patch seemed to fix it:
> >>>
> >>>
> >>> (linkedin)[acabrera-mn:trunk 509]$ svn diff
> >>> Index: webbeans-tomcat7/pom.xml
> >>> ===================================================================
> >>> --- webbeans-tomcat7/pom.xml (revision 1302042)
> >>> +++ webbeans-tomcat7/pom.xml (working copy)
> >>> @@ -28,6 +28,7 @@
> >>> <description>Apache OpenWebBeans Tomcat 7 Web
> > Profile</description>
> >>>
> >>> <dependencies>
> >>> +
> >>> <dependency>
> >>> <groupId>org.apache.tomcat</groupId>
> >>> <artifactId>tomcat-catalina</artifactId>
> >>> @@ -61,6 +62,13 @@
> >>> <scope>provided</scope>
> >>> </dependency>
> >>>
> >>> + <dependency>
> >>> + <groupId>org.apache.geronimo.specs</groupId>
> >>> +
> > <artifactId>geronimo-servlet_2.5_spec</artifactId>
> >>> + <scope>provided</scope>
> >>> + </dependency>
> >>> +
> >>> +
> >>> </dependencies>
> >>>
> >>> </project>
> >>>
> >>>
> >
>
Re: Trunk build dies
Posted by Mark Struberg <st...@yahoo.de>.
Romain is right. The default for CDI is Servlet-3.0 nowadays.
mvn dependency:tree shows that the following jar:
org.apache.tomcat:tomcat-servlet-api:jar:7.0.0:provided
Thus it should compile at least.
LieGrue,
strub
----- Original Message -----
> From: Alan D. Cabrera <li...@toolazydogs.com>
> To: dev@openwebbeans.apache.org
> Cc:
> Sent: Sunday, March 18, 2012 4:04 PM
> Subject: Re: Trunk build dies
>
> Not sure. I merely picked the first one that I found in a higher level POM.
>
>
> Regards,
> Alan
>
>
> On Mar 18, 2012, at 2:36 AM, Romain Manni-Bucau wrote:
>
>> Shouldn't it be servlet 3?
>>
>> - Romain
>>
>> Le 18 mars 2012 02:37, "Alan D. Cabrera"
> <li...@toolazydogs.com> a écrit :
>>
>>> This patch seemed to fix it:
>>>
>>>
>>> (linkedin)[acabrera-mn:trunk 509]$ svn diff
>>> Index: webbeans-tomcat7/pom.xml
>>> ===================================================================
>>> --- webbeans-tomcat7/pom.xml (revision 1302042)
>>> +++ webbeans-tomcat7/pom.xml (working copy)
>>> @@ -28,6 +28,7 @@
>>> <description>Apache OpenWebBeans Tomcat 7 Web
> Profile</description>
>>>
>>> <dependencies>
>>> +
>>> <dependency>
>>> <groupId>org.apache.tomcat</groupId>
>>> <artifactId>tomcat-catalina</artifactId>
>>> @@ -61,6 +62,13 @@
>>> <scope>provided</scope>
>>> </dependency>
>>>
>>> + <dependency>
>>> + <groupId>org.apache.geronimo.specs</groupId>
>>> +
> <artifactId>geronimo-servlet_2.5_spec</artifactId>
>>> + <scope>provided</scope>
>>> + </dependency>
>>> +
>>> +
>>> </dependencies>
>>>
>>> </project>
>>>
>>>
>
Re: Trunk build dies
Posted by Mark Struberg <st...@yahoo.de>.
yup, builds fine over here.
If you like to run it fully blown then start
$> mvn clean install -Ptck -Pjsr330-tck
This will run the full build plus the JSR-299 and JSR-330 TCKs.
LieGrue,
strub
----- Original Message -----
> From: Alan D. Cabrera <li...@toolazydogs.com>
> To: dev@openwebbeans.apache.org
> Cc:
> Sent: Sunday, March 18, 2012 4:51 PM
> Subject: Re: Trunk build dies
>
> Ahh, yes. Did trunk build for you w/out the dep? Just curious.
>
>
> Regards,
> Alan
>
>
> On Mar 18, 2012, at 8:32 AM, Romain Manni-Bucau wrote:
>
>> I said it because it is in tomcat 7 module.
>>
>> - Romain
>>
>> Le 18 mars 2012 16:04, "Alan D. Cabrera"
> <li...@toolazydogs.com> a écrit :
>>
>>> Not sure. I merely picked the first one that I found in a higher level
>>> POM.
>>>
>>>
>>> Regards,
>>> Alan
>>>
>>>
>>> On Mar 18, 2012, at 2:36 AM, Romain Manni-Bucau wrote:
>>>
>>>> Shouldn't it be servlet 3?
>>>>
>>>> - Romain
>>>>
>>>> Le 18 mars 2012 02:37, "Alan D. Cabrera"
> <li...@toolazydogs.com> a écrit
>>> :
>>>>
>>>>> This patch seemed to fix it:
>>>>>
>>>>>
>>>>> (linkedin)[acabrera-mn:trunk 509]$ svn diff
>>>>> Index: webbeans-tomcat7/pom.xml
>>>>>
> ===================================================================
>>>>> --- webbeans-tomcat7/pom.xml (revision 1302042)
>>>>> +++ webbeans-tomcat7/pom.xml (working copy)
>>>>> @@ -28,6 +28,7 @@
>>>>> <description>Apache OpenWebBeans Tomcat 7 Web
> Profile</description>
>>>>>
>>>>> <dependencies>
>>>>> +
>>>>> <dependency>
>>>>> <groupId>org.apache.tomcat</groupId>
>>>>> <artifactId>tomcat-catalina</artifactId>
>>>>> @@ -61,6 +62,13 @@
>>>>> <scope>provided</scope>
>>>>> </dependency>
>>>>>
>>>>> + <dependency>
>>>>> +
> <groupId>org.apache.geronimo.specs</groupId>
>>>>> +
> <artifactId>geronimo-servlet_2.5_spec</artifactId>
>>>>> + <scope>provided</scope>
>>>>> + </dependency>
>>>>> +
>>>>> +
>>>>> </dependencies>
>>>>>
>>>>> </project>
>>>>>
>>>>>
>>>
>>>
>
Re: Trunk build dies
Posted by "Alan D. Cabrera" <li...@toolazydogs.com>.
Ahh, yes. Did trunk build for you w/out the dep? Just curious.
Regards,
Alan
On Mar 18, 2012, at 8:32 AM, Romain Manni-Bucau wrote:
> I said it because it is in tomcat 7 module.
>
> - Romain
>
> Le 18 mars 2012 16:04, "Alan D. Cabrera" <li...@toolazydogs.com> a écrit :
>
>> Not sure. I merely picked the first one that I found in a higher level
>> POM.
>>
>>
>> Regards,
>> Alan
>>
>>
>> On Mar 18, 2012, at 2:36 AM, Romain Manni-Bucau wrote:
>>
>>> Shouldn't it be servlet 3?
>>>
>>> - Romain
>>>
>>> Le 18 mars 2012 02:37, "Alan D. Cabrera" <li...@toolazydogs.com> a écrit
>> :
>>>
>>>> This patch seemed to fix it:
>>>>
>>>>
>>>> (linkedin)[acabrera-mn:trunk 509]$ svn diff
>>>> Index: webbeans-tomcat7/pom.xml
>>>> ===================================================================
>>>> --- webbeans-tomcat7/pom.xml (revision 1302042)
>>>> +++ webbeans-tomcat7/pom.xml (working copy)
>>>> @@ -28,6 +28,7 @@
>>>> <description>Apache OpenWebBeans Tomcat 7 Web Profile</description>
>>>>
>>>> <dependencies>
>>>> +
>>>> <dependency>
>>>> <groupId>org.apache.tomcat</groupId>
>>>> <artifactId>tomcat-catalina</artifactId>
>>>> @@ -61,6 +62,13 @@
>>>> <scope>provided</scope>
>>>> </dependency>
>>>>
>>>> + <dependency>
>>>> + <groupId>org.apache.geronimo.specs</groupId>
>>>> + <artifactId>geronimo-servlet_2.5_spec</artifactId>
>>>> + <scope>provided</scope>
>>>> + </dependency>
>>>> +
>>>> +
>>>> </dependencies>
>>>>
>>>> </project>
>>>>
>>>>
>>
>>
Re: Trunk build dies
Posted by Romain Manni-Bucau <rm...@gmail.com>.
I said it because it is in tomcat 7 module.
- Romain
Le 18 mars 2012 16:04, "Alan D. Cabrera" <li...@toolazydogs.com> a écrit :
> Not sure. I merely picked the first one that I found in a higher level
> POM.
>
>
> Regards,
> Alan
>
>
> On Mar 18, 2012, at 2:36 AM, Romain Manni-Bucau wrote:
>
> > Shouldn't it be servlet 3?
> >
> > - Romain
> >
> > Le 18 mars 2012 02:37, "Alan D. Cabrera" <li...@toolazydogs.com> a écrit
> :
> >
> >> This patch seemed to fix it:
> >>
> >>
> >> (linkedin)[acabrera-mn:trunk 509]$ svn diff
> >> Index: webbeans-tomcat7/pom.xml
> >> ===================================================================
> >> --- webbeans-tomcat7/pom.xml (revision 1302042)
> >> +++ webbeans-tomcat7/pom.xml (working copy)
> >> @@ -28,6 +28,7 @@
> >> <description>Apache OpenWebBeans Tomcat 7 Web Profile</description>
> >>
> >> <dependencies>
> >> +
> >> <dependency>
> >> <groupId>org.apache.tomcat</groupId>
> >> <artifactId>tomcat-catalina</artifactId>
> >> @@ -61,6 +62,13 @@
> >> <scope>provided</scope>
> >> </dependency>
> >>
> >> + <dependency>
> >> + <groupId>org.apache.geronimo.specs</groupId>
> >> + <artifactId>geronimo-servlet_2.5_spec</artifactId>
> >> + <scope>provided</scope>
> >> + </dependency>
> >> +
> >> +
> >> </dependencies>
> >>
> >> </project>
> >>
> >>
>
>
Re: Trunk build dies
Posted by "Alan D. Cabrera" <li...@toolazydogs.com>.
Not sure. I merely picked the first one that I found in a higher level POM.
Regards,
Alan
On Mar 18, 2012, at 2:36 AM, Romain Manni-Bucau wrote:
> Shouldn't it be servlet 3?
>
> - Romain
>
> Le 18 mars 2012 02:37, "Alan D. Cabrera" <li...@toolazydogs.com> a écrit :
>
>> This patch seemed to fix it:
>>
>>
>> (linkedin)[acabrera-mn:trunk 509]$ svn diff
>> Index: webbeans-tomcat7/pom.xml
>> ===================================================================
>> --- webbeans-tomcat7/pom.xml (revision 1302042)
>> +++ webbeans-tomcat7/pom.xml (working copy)
>> @@ -28,6 +28,7 @@
>> <description>Apache OpenWebBeans Tomcat 7 Web Profile</description>
>>
>> <dependencies>
>> +
>> <dependency>
>> <groupId>org.apache.tomcat</groupId>
>> <artifactId>tomcat-catalina</artifactId>
>> @@ -61,6 +62,13 @@
>> <scope>provided</scope>
>> </dependency>
>>
>> + <dependency>
>> + <groupId>org.apache.geronimo.specs</groupId>
>> + <artifactId>geronimo-servlet_2.5_spec</artifactId>
>> + <scope>provided</scope>
>> + </dependency>
>> +
>> +
>> </dependencies>
>>
>> </project>
>>
>>
Re: Trunk build dies
Posted by Romain Manni-Bucau <rm...@gmail.com>.
Shouldn't it be servlet 3?
- Romain
Le 18 mars 2012 02:37, "Alan D. Cabrera" <li...@toolazydogs.com> a écrit :
> This patch seemed to fix it:
>
>
> (linkedin)[acabrera-mn:trunk 509]$ svn diff
> Index: webbeans-tomcat7/pom.xml
> ===================================================================
> --- webbeans-tomcat7/pom.xml (revision 1302042)
> +++ webbeans-tomcat7/pom.xml (working copy)
> @@ -28,6 +28,7 @@
> <description>Apache OpenWebBeans Tomcat 7 Web Profile</description>
>
> <dependencies>
> +
> <dependency>
> <groupId>org.apache.tomcat</groupId>
> <artifactId>tomcat-catalina</artifactId>
> @@ -61,6 +62,13 @@
> <scope>provided</scope>
> </dependency>
>
> + <dependency>
> + <groupId>org.apache.geronimo.specs</groupId>
> + <artifactId>geronimo-servlet_2.5_spec</artifactId>
> + <scope>provided</scope>
> + </dependency>
> +
> +
> </dependencies>
>
> </project>
>
>