How to install Maven artifact with sources?
so later I don't need to open a project in eclipse to see some code.
I do know I can add to pom.xml this code
<plugin>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<phase>verify</phase>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
but I would like to do it from command line(to make it more universal).How to do that?