Hi, I took a fresh checkout of the trunk and building it. When I am building dependencies I am getting the following build failure(stack trace below) in Axis2 - ADB Codegen.
I tried to build in the dependencies from branches and getting the same error. Environment: java version "1.6.0_15" Apache Maven 2.2.1 (rdebian-1) Any solutions to this? Thanks, Umashanthi -------------------------------------------------------------------------------------------------- INFO] Building Apache Axis2 - ADB Codegen [INFO] task-segment: [clean, install] [INFO] ------------------------------------------------------------------------ [INFO] [clean:clean {execution: default-clean}] [INFO] [remote-resources:process {execution: default}] [WARNING] Invalid project model for artifact [woden-impl-dom:org.apache.woden:1.0M8]. It will be ignored by the remote resources Mojo. [WARNING] Invalid project model for artifact [woden-api:org.apache.woden:1.0M8]. It will be ignored by the remote resources Mojo. [INFO] [remote-resources:process {execution: legal-files}] [WARNING] Invalid project model for artifact [woden-impl-dom:org.apache.woden:1.0M8]. It will be ignored by the remote resources Mojo. [WARNING] Invalid project model for artifact [woden-api:org.apache.woden:1.0M8]. It will be ignored by the remote resources Mojo. [INFO] [resources:resources {execution: default-resources}] [INFO] Using encoding: 'UTF-8' to copy filtered resources. [INFO] [antrun:run {execution: process-resources}] [INFO] Executing tasks [copy] Copying 7 files to /home/umashanthi/sources/branches/dependencies/axis2/modules/adb-codegen/target/classes [INFO] Executed tasks [INFO] [compiler:compile {execution: default-compile}] [INFO] Compiling 17 source files to /home/umashanthi/sources/branches/dependencies/axis2/modules/adb-codegen/target/classes [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Compilation failure could not parse error message: gcj-4.4: 1.5: No such file or directory gcj-4.4: 1.5: No such file or directory gcj-4.4: unrecognized option '-nowarn' gcj-4.4: unrecognized option '-target' gcj-4.4: unrecognized option '-source' gcj-4.4: unrecognized option '-J-Xmx256m' gcj-4.4: unrecognized option '-J-Xms128m' /home/umashanthi/sources/branches/dependencies/axis2/modules/adb-codegen/src/org/apache/axis2/schema/writer/CStructWriter.java:80: warning: Map is a raw type. References to generic type Map<K,V> should be parameterized private Map modelMap = new HashMap(); ^^^ /home/umashanthi/sources/branches/dependencies/axis2/modules/adb-codegen/src/org/apache/axis2/schema/writer/CStructWriter.java:[80,28] HashMap is a raw type. References to generic type HashMap<K,V> should be parameterized /home/umashanthi/sources/branches/dependencies/axis2/modules/adb-codegen/src/org/apache/axis2/schema/writer/CStructWriter.java:[85,9] Map is a raw type. References to generic type Map<K,V> should be parameterized /home/umashanthi/sources/branches/dependencies/axis2/modules/adb-codegen/src/org/apache/axis2/schema/writer/CStructWriter.java:[113,8] Map is a raw type. References to generic type Map<K,V> should be parameterized /home/umashanthi/sources/branches/dependencies/axis2/modules/adb-codegen/src/org/apache/axis2/schema/writer/CStructWriter.java:[366,1] Type safety: The method put(Object, Object) belongs to the raw type Map. References to generic type Map<K,V> should be parameterized modelMap.put( new QName(qName.getNamespaceURI(), className) /home/umashanthi/sources/branches/dependencies/axis2/modules/adb-codegen/src/org/apache/axis2/schema/writer/CStructWriter.java:[369,1] Type safety: The method put(Object, Object) belongs to the raw type Map. References to generic type Map<K,V> should be parameterized modelMap.put( new QName(qName.getNamespaceURI(), className) /home/umashanthi/sources/branches/dependencies/axis2/modules/adb-codegen/src/org/apache/axis2/schema/writer/CStructWriter.java:[580,19] The parameter propertyNames is never read /home/umashanthi/sources/branches/dependencies/axis2/modules/adb-codegen/src/org/apache/axis2/schema/writer/CStructWriter.java:[583,29] The declared exception SchemaCompilationException is not actually thrown by the method addPropertyEntries(BeanWriterMetaInfoHolder, Document, Element, ArrayList<String>, Map<QName,String>, Map<QName,String>, boolean) from type CStructWriter /home/umashanthi/sources/branches/dependencies/axis2/modules/adb-codegen/src/org/apache/axis2/schema/writer/CStructWriter.java:[909,9] The local variable qNames is never read /home/umashanthi/sources/branches/dependencies/axis2/modules/adb-codegen/src/org/apache/axis2/schema/writer/CStructWriter.java:[1233,1] Type safety: The method put(Object, Object) belongs to the raw type Map. References to generic type Map<K,V> should be parameterized /home/umashanthi/sources/branches/dependencies/axis2/modules/adb-codegen/src/org/apache/axis2/schema/writer/CStructWriter.java:[1234,1] Type safety: The method put(Object, Object) belongs to the raw type Map. References to generic type Map<K,V> should be parameterized /home/umashanthi/sources/branches/dependencies/axis2/modules/adb-codegen/src/org/apache/axis2/schema/writer/BeanWriter.java:[29,8] The import java.io.IOException is never used /home/umashanthi/sources/branches/dependencies/axis2/modules/adb-codegen/src/org/apache/axis2/schema/writer/BeanWriter.java:[57,8] Map is a raw type. References to generic type Map<K,V> should be parameterized ----- ----- -----
_______________________________________________ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev