Hi,

I don't think M2E offer this functionnality (or only via its command-line
equivalent "run as maven..."), but you can upload them via the web
interface of nexus.
You probably will have to create a new  "hosted repository" and add it to
your proxy-repo.



On Thu, Feb 20, 2014 at 5:28 PM, [email protected] <[email protected]> wrote:

> Hi everybody,
>
> I set up a Nexus Maven repository on a server of mine. Then in my
> setting.xml
> I configured this repository to be the one to which Maven should ask for
> dependencies and plugins:
>
>
> <profiles>
>     <profile>
>       <id>my-profile</id>
>
>       <repositories>
>         <repository>
>           <id> my-repo </id>
>           <url> http://nexushostname:8081/nexus/content/groups/public</url>
>           <releases>
>               <enabled>true</enabled>
>           </releases>
>           <snapshots>
>               <enabled>true</enabled>
>           </snapshots>
>                   <layout>default</layout>
>         </repository>
>       </repositories>
>
>      <pluginRepositories>
>         <pluginRepository>
>           <id> my-repo </id>
>           <url> http://nexushostname:8081/nexus/content/groups/public</url>
>           <releases>
>               <enabled>true</enabled>
>           </releases>
>           <snapshots>
>               <enabled>true</enabled>
>           </snapshots>
>                   <layout>default</layout>
>         </pluginRepository>
>       </pluginRepositories>
>
>     </profile>
>   </profiles>
>
>   <activeProfiles>
>       <activeProfile> my-profile </activeProfile>
>   </activeProfiles>
>
>
> Everything works just fine; indeed  in Eclipse I can download dependecies
> from
> this Nexus repo.
>
> Now I'd like to upload a jar library and its source + javadoc (written by
> me)
> to this custom Nexus repository so that other developers can use this
> library
> as a Maven dependency.
>
> How can I get things done? In particular I need to do all the steps without
> leaving Eclipse and only using m2eclipse functionalities (so I would not
> like
> to launch mvn commands).
>
> Thanks a lot
>
> Giulio
> _______________________________________________
> m2e-users mailing list
> [email protected]
> https://dev.eclipse.org/mailman/listinfo/m2e-users
>



-- 
Adrien Rivard
_______________________________________________
m2e-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/m2e-users

Reply via email to