Advertisement
Guest User

Untitled

a guest
Dec 3rd, 2016
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.20 KB | None | 0 0
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3.  
  4. <modelVersion>4.0.0</modelVersion>
  5. <groupId>com.my.adapter</groupId>
  6. <artifactId>MYAPIAdapter</artifactId>
  7. <version>1.0-SNAPSHOT</version>
  8. <packaging>adapter</packaging>
  9. <name>MYAPIAdapter</name>
  10.  
  11. <properties>
  12. <!-- Use UTF-8 as the encoding of the adapter -->
  13. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  14.  
  15. <!-- MobileFirst adapter deployment properties -->
  16. <mfpfUrl>http://localhost:9080/mfpadmin</mfpfUrl>
  17. <mfpfUser>admin</mfpfUser>
  18. <mfpfPassword>admin</mfpfPassword>
  19. <mfpfRuntime>mfp</mfpfRuntime>
  20. </properties>
  21.  
  22. <dependencies>
  23. <dependency>
  24. <groupId>com.ibm.mfp</groupId>
  25. <artifactId>adapter-maven-api</artifactId>
  26. <scope>provided</scope>
  27. <version>[8.0.0,9.0.0)</version>
  28. </dependency>
  29. <dependency>
  30. <groupId>com.ibm.mfp</groupId>
  31. <artifactId>mfp-security-checks-base</artifactId>
  32. <version>[8.0.0,9.0.0)</version>
  33. </dependency>
  34. </dependencies>
  35.  
  36. <build>
  37. <plugins>
  38. <plugin>
  39. <groupId>com.ibm.mfp</groupId>
  40. <artifactId>adapter-maven-plugin</artifactId>
  41. <extensions>true</extensions>
  42. </plugin>
  43. </plugins>
  44. <filters>
  45. <filter>profiles/${build.profile.id}/config.properties</filter>
  46. </filters>
  47. <resources>
  48. <resource>
  49. <directory>src/main/adapter-resources</directory>
  50. <filtering>true</filtering>
  51. </resource>
  52. </resources>
  53. </build>
  54.  
  55. <profiles>
  56. <profile>
  57. <id>pc</id>
  58. <activation>
  59. <activeByDefault>true</activeByDefault>
  60. </activation>
  61. <properties>
  62. <build.profile.id>pc</build.profile.id>
  63. </properties>
  64. </profile>
  65. <profile>
  66. <id>sit</id>
  67. <properties>
  68. <build.profile.id>sit</build.profile.id>
  69. </properties>
  70. </profile>
  71. <profile>
  72. <id>uat</id>
  73. <properties>
  74. <build.profile.id>uat</build.profile.id>
  75. </properties>
  76. </profile>
  77. <profile>
  78. <id>prod</id>
  79. <properties>
  80. <build.profile.id>prod</build.profile.id>
  81. </properties>
  82. </profile>
  83. </profiles>
  84.  
  85. <mfp:adapter name="PruTouchAPIAdapter"
  86. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  87. xmlns:mfp="http://www.ibm.com/mfp/integration"
  88. xmlns:http="http://www.ibm.com/mfp/integration/http">
  89.  
  90. <displayName>PruTouchAPIAdapter</displayName>
  91. <description>PruTouchAPIAdapter</description>
  92. <connectivity>
  93. <connectionPolicy xsi:type="http:HTTPConnectionPolicyType">
  94. <protocol> ${connect.protocol}</protocol>
  95. <domain> ${connect.domain}</domain>
  96. <port> ${connect.port}</port>
  97. <connectionTimeoutInMilliseconds> ${connect.timeout.ms}</connectionTimeoutInMilliseconds>
  98. <socketTimeoutInMilliseconds> ${connect.sockettimeout.ms}</socketTimeoutInMilliseconds>
  99. <maxConcurrentConnectionsPerNode> ${max.concurrentconnections}</maxConcurrentConnectionsPerNode>
  100. </connectionPolicy>
  101. </connectivity>
  102.  
  103. <procedure name="getFeed"/>
  104. <procedure name="unprotected" secured="false"/>
  105.  
  106. ERROR] Failed to execute goal com.ibm.mfp:adapter-maven-plugin:8.0.2016082422:build (default-build) on project PruTouchAPIAdapter: Adapter xml file schema validation encountered errors: [cvc-datatype-valid.1.2.1: '${connect.port}' is not a valid value for 'integer'., cvc-type.3.1.3: The value '${connect.port}' of element 'port' is not valid., cvc-datatype-valid.1.2.1: '${connect.timeout.ms}' is not a valid value for 'integer'., cvc-type.3.1.3: The value '${connect.timeout.ms}' of element 'connectionTimeoutInMilliseconds' is not valid., cvc-datatype-valid.1.2.1: '${connect.sockettimeout.ms}' is not a valid value for 'integer'., cvc-type.3.1.3: The value '${connect.sockettimeout.ms}' of element 'socketTimeoutInMilliseconds' is not valid., cvc-datatype-valid.1.2.1: '${max.concurrentconnections}' is not a valid value for 'integer'., cvc-type.3.1.3: The value '${max.concurrentconnections}' of element 'maxConcurrentConnectionsPerNode' is not valid.] -> [Help 1]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement