Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] Maven AspectJ plugin compiles differently on build server

When comparing local developer maven builds with the builds generated by our
build server, there is a weird difference.  On the build server, there are
211 weaving statements in the build log compared to 300 weaving statement in
the developer builds.  The weaving on the build server is incomplete.

            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>aspectj-maven-plugin</artifactId>
                <version>1.3.1</version>
                <dependencies>
                    <dependency>
                        <groupId>org.aspectj</groupId>
                        <artifactId>aspectjrt</artifactId>
                        <version>1.6.11</version>
                    </dependency>
                    <dependency>
                        <groupId>org.aspectj</groupId>
                        <artifactId>aspectjtools</artifactId>
                        <version>1.6.11</version>
                    </dependency>
                </dependencies>
                <configuration>
                    <source>1.6</source>
                    <complianceLevel>1.6</complianceLevel>
                    <verbose>true</verbose>
                    <showWeaveInfo>true</showWeaveInfo>
                    <target>1.6</target>
                </configuration>
                <executions>
                    <execution>
                        <goals>
                            <goal>compile</goal>
                            <goal>test-compile</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>


I have been looking for differences between our build server and the
developer setup but they run the same Maven version and the same JDK
version.

Local developer machines run either Win7 or OSX, the build server runs Linux
:

cat /proc/version

Linux version 2.6.18-92.el5PAE (mockbuild@xxxxxxxxxxxxxxxxxxxx) (gcc version
4.1.2 20071124 (Red Hat 4.1.2-42)) #1 SMP Tue Jun 10 19:22:41 EDT 2008

uname -m
 
i686

Any suggestions what could be wrong with our build server ?

--
View this message in context: http://aspectj.2085585.n4.nabble.com/Maven-AspectJ-plugin-compiles-differently-on-build-server-tp3601938p3601938.html
Sent from the AspectJ - users mailing list archive at Nabble.com.


Back to the top