Hi Kevin, Have you configured the -source and -target options of the maven-compiler-plugin?
Best Brett On Fri, Mar 6, 2009 at 8:57 AM, Kevin Witten <[email protected]>wrote: > Hello, > > I'm having trouble building with maven. The issue is that it can't find the > xml security packages. > I'm using the java jdk 1.6_06 which includes the apache xml security > package. > This builds fine using ant, but we are converting to maven and I can't get > this to build with maven. > > Any help would be appreciated. > > > Here is the error: > > $ mvn clean install > [INFO] Scanning for projects... > [INFO] > ------------------------------------------------------------------------ > [INFO] Building tr69lib > [INFO] task-segment: [clean, install] > [INFO] > ------------------------------------------------------------------------ > [INFO] [clean:clean] > [INFO] Deleting directory > c:\Codebase\DocomoIntertouch\Shared\tr69lib\target > [INFO] [resources:resources] > [INFO] Using default encoding to copy filtered resources. > [INFO] [compiler:compile] > [INFO] Compiling 124 source files to > c:\Codebase\DocomoIntertouch\Shared\tr69lib > \target\classes > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Compilation failure > > c:\Codebase\DocomoIntertouch\Shared\tr69lib\src\main\java\com\nomadix\tr69\cpemethods\SetVouchers.java:[4,53] > package com.sun.org.apache.xml.internal.security.utils does not exist > > c:\Codebase\DocomoIntertouch\Shared\tr69lib\src\main\java\com\nomadix\tr69\cpemethods\ISetVouchers.java:[3,53] > package com.sun.org.apache.xml.internal.security.utils does not exist > > c:\Codebase\DocomoIntertouch\Shared\tr69lib\src\main\java\com\nomadix\tr69\cpemethods\SetVouchers.java:[22,16] > cannot find symbol > symbol : class Base64 > location: class com.nomadix.tr69.cpemethods.SetVouchers > > c:\Codebase\DocomoIntertouch\Shared\tr69lib\src\main\java\com\nomadix\tr69\cpemethods\SetVouchers.java:[33,26] > cannot find symbol > symbol : class Base64 > location: class com.nomadix.tr69.cpemethods.SetVouchers > > c:\Codebase\DocomoIntertouch\Shared\tr69lib\src\main\java\com\nomadix\tr69\cpemethods\SetVouchers.java:[40,15] > cannot find symbol > symbol : class Base64 > location: class com.nomadix.tr69.cpemethods.SetVouchers > > c:\Codebase\DocomoIntertouch\Shared\tr69lib\src\main\java\com\nomadix\tr69\cpemethods\ISetVouchers.java:[20,19] > cannot find symbol > symbol : class Base64 > location: interface com.nomadix.tr69.cpemethods.ISetVouchers > > c:\Codebase\DocomoIntertouch\Shared\tr69lib\src\main\java\com\nomadix\tr69\cpemethods\ISetVouchers.java:[27,8] > cannot find symbol > symbol : class Base64 > location: interface com.nomadix.tr69.cpemethods.ISetVouchers > > c:\Codebase\DocomoIntertouch\Shared\tr69lib\src\main\java\com\nomadix\tr69\cpemethods\SetVouchers.java:[29,36] > cannot find symbol > symbol : class Base64 > location: class com.nomadix.tr69.cpemethods.SetVouchers > > c:\Codebase\DocomoIntertouch\Shared\tr69lib\src\main\java\com\nomadix\tr69\cpemethods\SetVouchers.java:[53,11] > cannot find symbol > symbol : class Base64 > location: class com.nomadix.tr69.cpemethods.SetVouchers > > [INFO] > ------------------------------------------------------------------------ > [INFO] For more information, run Maven with the -e switch > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 2 seconds > [INFO] Finished at: Thu Mar 05 13:52:22 PST 2009 > [INFO] Final Memory: 10M/18M > [INFO] > ------------------------------------------------------------------------ > > > > Kevin Witten > Software Engineer > Nomadix, Inc. * 1100 Business Center Circle, Suite 100, Newbury Park, CA > 91320 * USA > direct +1 (818) 575-2421 * main +1-818-597-1500 * fax > interTouch Group of Companies * a NTT DoCoMo Group company > Enhancing Guest Experience > www.inter-touch.com<http://www.inter-touch.com/> * www.maginet.net< > http://www.maginet.net/> * www.percipia.com<http://www.percipia.com/> * > www.nomadix.com <http://www.nomadix.com/> * www.azure.com.au< > http://www.azure.com.au/> > > ________________________________ > Notice? The information and attachment(s) contained in this communication > are intended for the addressee only, and may be confidential and/or legally > privileged. If you have received this communication in error, please contact > the sender immediately, and delete this communication from any computer or > network system. Any interception, review, printing, copying, > re-transmission, dissemination, or other use of, or taking of any action > upon this information by persons or entities other than the intended > recipient is strictly prohibited by law and may subject them to criminal or > civil liability. None of the interTouch Group of Companies shall be liable > for the improper and/or incomplete transmission of the information contained > in this communication or for any delay in its receipt. >
