Build errors in samples and interop modules without an existing repository
--------------------------------------------------------------------------
Key: SANDESHA2-194
URL: https://issues.apache.org/jira/browse/SANDESHA2-194
Project: Sandesha2
Issue Type: Bug
Reporter: Katherine Sanders
1. The following error occurs when building the sandesha2 samples module
because axis2 transport has been split into a separate project with multiple
modules now:
[INFO] Copying 1 resource
[INFO] snapshot org.apache.axis2:axis2-transports:SNAPSHOT: checking for
updates from apache-snapshots
[INFO] snapshot org.apache.axis2:axis2-transports:SNAPSHOT: checking for
updates from apache-ws-snapshots2
Downloading:
http://people.apache.org/repo/m2-snapshot-repository/org/apache/axis2/axis2-transports/SNAPSHOT/axis2-transports-SNAPSHOT.pom
Downloading:
http://ws.zones.apache.org/repository2/org/apache/axis2/axis2-transports/SNAPSHOT/axis2-transports-SNAPSHOT.pom
Downloading:
http://people.apache.org/repo/m2-snapshot-repository/org/apache/axis2/axis2-transports/SNAPSHOT/axis2-transports-SNAPSHOT.jar
Downloading:
http://ws.zones.apache.org/repository2/org/apache/axis2/axis2-transports/SNAPSHOT/axis2-transports-SNAPSHOT.jar
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Missing:
----------
1) org.apache.axis2:axis2-transports:jar:SNAPSHOT
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.apache.axis2
-DartifactId=axis2-transports -Dversion=SNAPSHOT -Dpackaging=jar
-Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=org.apache.axis2
-DartifactId=axis2-transports -Dversion=SNAPSHOT -Dpackaging=jar
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.apache.sandesha2:sandesha2-samples:jar:SNAPSHOT
2) org.apache.axis2:axis2-transports:jar:SNAPSHOT
----------
1 required artifact is missing.
for artifact:
org.apache.sandesha2:sandesha2-samples:jar:SNAPSHOT
from the specified remote repositories:
central (http://repo1.maven.org/maven2),
apache-ws-snapshots2 (http://ws.zones.apache.org/repository2),
apache-snapshots (http://people.apache.org/repo/m2-snapshot-repository)
2. The following compile errors occur when building the interop module since
extra abstract methods have been added to org.apache.axis2.databinding.ADBBean:
C:\sandbox\sandesha\modules\interop\src\main\java\org\tempuri\EchoStringResponse.java:[30,7]
org.tempuri.EchoStringResponse is not abstract and does not override abstract
method
serialize(javax.xml.namespace.QName,org.apache.axis2.databinding.utils.writer.MTOMAwareXMLStreamWriter,boolean)
in org.apache.axis2.databinding.ADBBean
C:\sandbox\sandesha\modules\interop\src\main\java\org\tempuri\EchoStringResponseBodyType.java:[30,7]
org.tempuri.EchoStringResponseBodyType is not abstract and does not override
abstract method
serialize(javax.xml.namespace.QName,org.apache.axis2.databinding.utils.writer.MTOMAwareXMLStreamWriter,boolean)
in org.apache.axis2.databinding.ADBBean
C:\sandbox\sandesha\modules\interop\src\main\java\org\tempuri\EchoString.java:[30,7]
org.tempuri.EchoString is not abstract and does not override abstract method
serialize(javax.xml.namespace.QName,org.apache.axis2.databinding.utils.writer.MTOMAwareXMLStreamWriter,boolean)
in org.apache.axis2.databinding.ADBBean
C:\sandbox\sandesha\modules\interop\src\main\java\org\tempuri\EchoStringRequestBodyType.java:[30,7]
org.tempuri.EchoStringRequestBodyType is not abstract and does not override
abstract method
serialize(javax.xml.namespace.QName,org.apache.axis2.databinding.utils.writer.MTOMAwareXMLStreamWriter,boolean)
in org.apache.axis2.databinding.ADBBean
C:\sandbox\sandesha\modules\interop\src\main\java\org\tempuri\Ping.java:[30,7]
org.tempuri.Ping is not abstract and does not override abstract
methodserialize(javax.xml.namespace.QName,org.apache.axis2.databinding.utils.writer.MTOMAwareXMLStreamWriter,boolean)
in org.apache.axis2.databinding.ADBBean
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]