Jean-Sebastien Delfino wrote:
Luciano Resende wrote:
This seems like a maven issue :
http://jira.codehaus.org/browse/SUREFIRE-128

I committed a change to databinding-jaxb to use the same level of surefire already used in implementation-bpel, which seems to fix that issue. Can you try after an svn up?


One more update. JIRA SUREFIRE-128 (a blocker JIRA opened in June 2006) is still not fixed in Surefire 2.3.1-SNAPSHOT (contrary to what I thought earlier today).

I committed under SVN r584266 a different workaround.

Believe it or not, the following page of XML respectfully asks Maven to please copy two JARs to target/endorsed and Surefire to use these JARs. If this still doesn't work... I'm ready to start investigating another build tool :).

           <plugin>
               <groupId>org.apache.maven.plugins</groupId>
               <artifactId>maven-dependency-plugin</artifactId>
               <executions>
                   <execution>
                     <id>copy</id>
                     <phase>generate-sources</phase>
                     <goals>
                         <goal>copy</goal>
                     </goals>
                     <configuration>
                        <artifactItems>
                            <artifactItem>
                                <groupId>javax.xml.ws</groupId>
                                <artifactId>jaxws-api</artifactId>
                                <version>2.1</version>
                                <type>jar</type>
                            </artifactItem>
                            <artifactItem>
                                <groupId>javax.xml.bind</groupId>
                                <artifactId>jaxb-api</artifactId>
                                <version>2.1</version>
                                <type>jar</type>
                            </artifactItem>
                        </artifactItems>
<outputDirectory>${project.build.directory}/endorsed</outputDirectory>
                        <overWriteReleases>false</overWriteReleases>
                        <overWriteSnapshots>true</overWriteSnapshots>
                     </configuration>
                   </execution>
               </executions>
           </plugin>
           <plugin>
               <groupId>org.apache.maven.plugins</groupId>
               <artifactId>maven-surefire-plugin</artifactId>
               <configuration>
                   <argLine>-Djava.endorsed.dirs=target/endorsed</argLine>
               </configuration>
           </plugin>

--
Jean-Sebastien


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to