telnet-maven-plugin
Comments: 3Our project has ant magic telnet deployment. After project was moved too maven, we encounter a problem with telnet under maven. Firstly I googled a while to find something useful plugin, without success.
Everybody suggest use antrun, but if i moved to maven why i must still use ant. So i decided to write my own telnet-maven-plugin. It’s very simple to write maven plugin, so if you need something write your own, don’t ever use ant-run.
Now I convince that maven problem lies in antrun plugin, because if you can’t do something, everybody suggest using antrun, bullshit.
The next step is to join mojo and make plugin public. This is more complicated than write it. You must follow rules, convention and finally vote for plugin to be released. I’m sure that I can do it. For now you can download telnet-maven-plugin from my site, put it into local maven repository.
Here is simple configuration:
<plugin>
<groupid>org.codehaus.mojo</groupid>
<artifactid>maven-telnet-plugin</artifactid>
<version>0.1-SNAPSHOT</version>
<executions>
<execution>
<phase>your_phase</phase>
<goals>
<goal>telnet</goal>
</goals>
</execution>
</executions>
<configuration>
<echo>false</echo>
<url>your_url</url>
<username>your_usser</username>
<password>your_pass</password>
<commands>
<command>your_command</command>
</commands>
</configuration>
</plugin>
Comments
pedro
Unfortunately, the code is gone :/
pedro
I didn’t notice that.
I will search source code and for sure that should be .jar file in my company.
Stay tuned, I be back 😉
Felix Thomas
hi,
Can i get the maven telnet client plugin jar or the source code, I guess it is removed from this site.
thanks in advance.