# Packaging your connector or processor

Once your connector or processor is developed and tested with unit tests, you can package it as a .car file to prepare its integration in the Remote Engine Gen2.

It contains a metadata file and a nested Maven repository containing the connector/processor and its dependencies.

## Procedure

1. On your developer environment, go to the directory that contains your code.
2. Run this command to produce a .car file:
   ```
   mvn clean install
   mvn talend-component:car
   ```

   The .car archive file contains the connector/processor's code and its dependencies (.car, .jar, maven-archiver, test-classes, generated-test-sources, classes, maven-status, generates-sources files) and is generated in a folder named target.