Yes, the original source code can be build successfully from maven
command line.

Here is the package build result:
Package build    Maven command line        Q4E plugin
Original pom          OK              spring jars duplicated
Modified pom          OK                      OK

It seems a bug of Q4E. As Q4E is becoming a formal part of Eclipse, it's
worthy to know this issue.

Regards,

Shi Yusen/Beijing Langhua Ltd.

在 2009-03-31二的 23:27 -0400,Scott Battaglia写道:
>  Does it build successfully from the command line though?  I was able
> to get it to build correctly using Maven 2.1.0 from the command line
> without any additional dependencies.
> 
> -Scott
> 
> 
>  On Tue, Mar 31, 2009 at 4:16 PM, Shi Yusen <[email protected]> wrote:
>          The Apache-Maven plugin of Eclipse is 2.1.0.x.
>         
>         I think it's because the analyse of dependencies in the q4e is
>         different
>         from m2eclispe. I add the following into pom.xml to build the
>         output war
>         correctly:
>                        <dependency>
>                                <groupId>org.springframework</groupId>
>                                <artifactId>spring-beans</artifactId>
>                                <version>${spring.version}</version>
>                                <scope>compile</scope>
>                        </dependency>
>         
>         Regards,
>         
>         Shi Yusen/Beijing Langhua Ltd.
>         
>         
>         
>         在 2009-03-31二的 10:18 -0400,Scott Battaglia写道:
>         
>         >  I just build the 3.3.2 war with LDAP support and didn't
>         pull in those
>         > two files.
>         >
>         > Which version of Maven are you using?
>         >
>         > Thanks
>         > -Scott
>         >
>         >
>         > On Tue, Mar 31, 2009 at 12:53 AM, Shi Yusen
>         <[email protected]> wrote:
>         >         I'll build and test it in my environment, Fedora 10
>         + OpenJDK
>         >         1.6.0 +
>         >         Tomcat 5.5.27 + OpenLDAP 2.4.12 + Eclipse 3.4.1 +
>         Q4E today.
>         >
>         >         I simply downloaded the source code and made a
>         package build
>         >         with
>         >         maven.test.skip=true, and found the
>         spring-core-2.0.7.jar and
>         >         spring-beans-2.0.7.jar in cas.war. I'll try to find
>         the reason
>         >         of this
>         >         strange.
>         >
>         >         Regards,
>         >
>         >         Shi Yusen/Beijing Langhua Ltd.
>         >
>         >         在 2009-03-27五的 09:53 -0400,Scott Battaglia写道:
>         >
>         >         >  All,
>         >         >
>         >         > As one final issue for 3.3.2, I upgraded Spring
>         LDAP to
>         >         1.3.0.RELEASE
>         >         > which means we can get rid of some custom code.
>          Can anyone
>         >         try this
>         >         > out to confirm that everything is still okay?
>         >         >
>         >         > Thanks
>         >         > -Scott
>         >         >
>         >         > -Scott Battaglia
>         >         > PGP Public Key Id: 0x383733AA
>         >         > LinkedIn:
>         http://www.linkedin.com/in/scottbattaglia
>         >
>         >         > --
>         >         > You are currently subscribed to
>         [email protected] as:
>         >         [email protected]
>         >
>         >         > To unsubscribe, change settings or access
>         archives, see
>         >         http://www.ja-sig.org/wiki/display/JSG/cas-dev
>         >
>         >
>         >         --
>         >         You are currently subscribed to
>         [email protected] as:
>         >         [email protected]
>         >         To unsubscribe, change settings or access archives,
>         see
>         >         http://www.ja-sig.org/wiki/display/JSG/cas-dev
>         >
>         >
>         
>         > --
>         
>         > You are currently subscribed to [email protected] as:
>         [email protected]
>         > To unsubscribe, change settings or access archives, see
>         http://www.ja-sig.org/wiki/display/JSG/cas-dev
>         
>         
>         --
>         You are currently subscribed to [email protected] as:
>         [email protected]
>         To unsubscribe, change settings or access archives, see
>         http://www.ja-sig.org/wiki/display/JSG/cas-dev
>         
> 
> -- 
> You are currently subscribed to [email protected] as: [email protected]
> To unsubscribe, change settings or access archives, see 
> http://www.ja-sig.org/wiki/display/JSG/cas-dev


-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-dev

Reply via email to