title: How to solve dependency problem in Integration Project when building with maven?
body: <p>I have an integration project, created with wso2 IntegrationStudio. It consists of two modules:</p>
  <ul>
  <li><code>file-integration-01-configs</code> for ESB configs</li>
  <li><code>file-integration-01-exporter</code> for the composite exporter</li>
  </ul>
  <p>Here's the content of the project:</p>
  <pre><code>├── file-integration-01-configs
  │   ├── artifact.xml
  │   ├── pom.xml
  │   ├── src
  │   │   └── main
  │   │       └── synapse-config
  │   │           ├── api
  │   │           ├── endpoints
  │   │           ├── inbound-endpoints
  │   │           ├── local-entries
  │   │           ├── message-processors
  │   │           ├── message-stores
  │   │           ├── proxy-services
  │   │           │   └── file-proxy.xml
  │   │           ├── sequences
  │   │           │   └── file-write-sequence.xml
  │   │           ├── tasks
  │   │           └── templates
  │   └── test
  │       └── resources
  │           └── mock-services
  ├── file-integration-01-exporter
  │   └── pom.xml
  ├── pom.xml
  
  </code></pre>
  <p>I try to build and package the project on the command line</p>
  <pre class="lang-sh prettyprint-override"><code># in the root of the project
  $ mvn clean 
  $ mvn package
  </code></pre>
  <p>The configs compile just fine. But the composite exporter modules fails with the following error:</p>
  <pre><code>[INFO] --------------&lt; com.example:file-integration-01-exporter &gt;--------------
  [INFO] Building file-integration-01-exporter 1.0.0                        [2/3]
  [INFO] -------------------------[ carbon/application ]-------------------------
  [WARNING] The POM for com.example.sequence:file-write-sequence:xml:1.0.0 is missing, no dependency information available
  [WARNING] The POM for com.example.proxy-service:file-proxy:xml:1.0.0 is missing, no dependency information available
  [INFO] ------------------------------------------------------------------------
  [INFO] Reactor Summary for file-integration-01 1.0.0:
  [INFO] 
  [INFO] file-integration-01-configs ........................ SUCCESS [  7.335 s]
  [INFO] file-integration-01-exporter ....................... FAILURE [  0.209 s]
  [INFO] file-integration-01 ................................ SKIPPED
  [INFO] ------------------------------------------------------------------------
  [INFO] BUILD FAILURE
  [INFO] ------------------------------------------------------------------------
  [INFO] Total time:  9.815 s
  [INFO] Finished at: 2021-03-23T09:52:14+01:00
  [INFO] ------------------------------------------------------------------------
  [ERROR] Failed to execute goal on project file-integration-01-exporter: 
  Could not resolve dependencies for project com.example:file-integration-01-exporter:carbon/application:1.0.0: T
  he following artifacts could not be resolved: 
  com.example.sequence:file-write-sequence:xml:1.0.0, 
  com.example.proxy-service:file-proxy:xml:1.0.0: 
  Failure to find com.example.sequence:file-write-sequence:xml:1.0.0 in http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached in 
  the local repository, resolution will not be reattempted until the update 
  interval of wso2-nexus has elapsed or updates are forced -&gt;
  </code></pre>
  <p>The file <code>file-integration-01-configs/artifact.xml</code> is as follows:</p>
  <pre class="lang-xml prettyprint-override"><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&lt;artifacts&gt;
  &lt;artifact name=&quot;file-proxy&quot; groupId=&quot;com.example.proxy-service&quot; version=&quot;1.0.0&quot; type=&quot;synapse/proxy-service&quot; serverRole=&quot;Enterp
  riseServiceBus&quot;&gt;
          &lt;file&gt;src/main/synapse-config/proxy-services/file-proxy.xml&lt;/file&gt;
      &lt;/artifact&gt;
      &lt;artifact name=&quot;file-write-sequence&quot; groupId=&quot;com.example.sequence&quot; version=&quot;1.0.0&quot; type=&quot;synapse/sequence&quot; serverRole=&quot;Enterpr
  iseServiceBus&quot;&gt;
          &lt;file&gt;src/main/synapse-config/sequences/file-write-sequence.xml&lt;/file&gt;
      &lt;/artifact&gt;
  &lt;/artifacts&gt;
  </code></pre>
  <p>Beginning of the <code>file-integration-01-exporte/pom.xml</code>, including dependency information:</p>
  <pre class="lang-xml prettyprint-override"><code>?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
  &lt;project xsi:schemaLocation=&quot;http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd&quot; xmlns=&quot;http://maven.apache.org/POM/4.0.
  0&quot;
      xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;&gt;
    &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
    &lt;groupId&gt;com.example&lt;/groupId&gt;
    &lt;artifactId&gt;file-integration-01-exporter&lt;/artifactId&gt;
    &lt;version&gt;1.0.0&lt;/version&gt;
    &lt;packaging&gt;carbon/application&lt;/packaging&gt;
    &lt;name&gt;file-integration-01-exporter&lt;/name&gt;
    &lt;description&gt;file-integration-01-exporter&lt;/description&gt;
    &lt;properties&gt;
      &lt;com.example.proxy-service_._file-proxy&gt;capp/EnterpriseServiceBus&lt;/com.example.proxy-service_._file-proxy&gt;
      &lt;com.example.sequence_._file-write-sequence&gt;capp/EnterpriseServiceBus&lt;/com.example.sequence_._file-write-sequence&gt;
      &lt;artifact.types&gt;jaggery/app=zip,synapse/priority-executor=xml,synapse/inbound-endpoint=xml,service/rule=aar,synapse/message-store=xml,event/stre
  am=json,service/meta=xml,datasource/datasource=xml,synapse/proxy-service=xml,bpel/workflow=zip,synapse/sequence=xml,synapse/endpointTemplate=xml,car
  bon/application=car,wso2/gadget=dar,synapse/api=xml,synapse/event-source=xml,synapse/message-processors=xml,event/receiver=xml,lib/dataservice/valid
  ator=jar,synapse/template=xml,synapse/endpoint=xml,lib/carbon/ui=jar,lib/synapse/mediator=jar,event/publisher=xml,synapse/local-entry=xml,synapse/ta
  sk=xml,webapp/jaxws=war,registry/resource=zip,synapse/configuration=xml,service/axis2=aar,synapse/lib=zip,synapse/sequenceTemplate=xml,event/executi
  on-plan=siddhiql,service/dataservice=dbs,web/application=war,lib/library/bundle=jar&lt;/artifact.types&gt;
    &lt;/properties&gt;
    &lt;dependencies&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;com.example.sequence&lt;/groupId&gt;
        &lt;artifactId&gt;file-write-sequence&lt;/artifactId&gt;
        &lt;version&gt;1.0.0&lt;/version&gt;
        &lt;type&gt;xml&lt;/type&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;com.example.proxy-service&lt;/groupId&gt;
        &lt;artifactId&gt;file-proxy&lt;/artifactId&gt;
        &lt;version&gt;1.0.0&lt;/version&gt;
        &lt;type&gt;xml&lt;/type&gt;
      &lt;/dependency&gt;
    &lt;/dependencies&gt;
  </code></pre>
  <p>What kind of fix do I have to apply to which of the maven POMs in the project workspace in order to resolve this missing dependency?</p>