I have created my own p2 repository using some plug-ins. Hence, I have below folder structure locally generated using maven:

```
repository
   |- plugins
       |- myplugin1.jar
       |- myplugin2.jar
   |- features (empty)
   |- artifact.jar
   |- content.jar

```

I am facing problem to deploy this to nexus. I would like to use this URL in eclipse target platform as a site.
Please help me by pointing out steps to upload p2 repository to nexus.

I tried mvn clean deploy command but it did not helped because it did not deployed it as p2 repository.