Also check for error messages on the Tomcat server side, in the Tomcat logs.

Wayne
On Oct 8, 2015 6:49 PM, "ke...@na7kr.us" <krr...@gmail.com> wrote:

> I tried tomcat plugin and it starts to upload and stops no error.
>
>
> On October 8, 2015 2:13:18 PM tras...@stratuscom.com wrote:
>
> Check the Tomcat site for the Tomcat Maven plug-in. Not sure if it will
>> use sftp, though. I believe it can use https.
>>
>> Cheers,
>>
>> Greg Trasuk.
>>
>>
>> Sent from my BlackBerry 10 smartphone.
>>   Original Message
>> From: ke...@na7kr.us
>> Sent: Thursday, October 8, 2015 4:58 PM
>> To: Maven Users List
>> Reply To: Maven Users List
>> Subject: Re: War file name and sftp to server
>>
>> Tomcat7 running on Raspberry Pi
>>
>>
>> On October 8, 2015 1:36:53 PM Curtis Rueden <ctrue...@wisc.edu> wrote:
>>
>> Hi K R,
>>>
>>> How do I sftp it to the server?
>>>>
>>>
>>> What kind of server? Web server? Maven repository? Something else?
>>>
>>> == Web server ==
>>>
>>> If it's just a web server, typically that is done outside of the Maven
>>> build. You can also rename the file at that point. Alternately, you can
>>> use
>>> the exec-maven-plugin to automate whatever steps you want during any
>>> phase(s) of your Maven build.
>>>
>>> == Maven repository ==
>>>
>>> If you want to transfer the final artifact to a Maven repository, this is
>>> called "deploying" the artifact, and is done by Maven's deploy phase. You
>>> have to configure the "wagon" plugin you want to use. For SFTP you'd use
>>> wagon-ssh [1].
>>>
>>> You have to add a distributionManagement section to your POM, and put
>>> your
>>> credentails in your ~/.m2/settings.xml. See:
>>> https://maven.apache.org/plugins/maven-deploy-plugin/usage.html
>>>
>>> However, note that you cannot override the final name of the artifact in
>>> your remote Maven repository, since Maven repos use a standard naming
>>> scheme which includes the version suffix.
>>>
>>> == Something else ==
>>>
>>> Feel free to elaborate on your question. ;-)
>>> http://stackoverflow.com/help/how-to-ask
>>>
>>> Regards,
>>> Curtis
>>>
>>> [1] https://maven.apache.org/wagon/wagon-providers/wagon-ssh/
>>>
>>> On Thu, Oct 8, 2015 at 3:16 PM, K R <krr...@gmail.com> wrote:
>>>
>>> I have this in pom.xml
>>>>
>>>> <version>0.0.1-SNAPSHOT</version>
>>>> <name>YT-100_ATU_Controller</name>
>>>>
>>>> and I get YT-100_ATU_Controller-0.0.1-SNAPSHOT.war how do I get
>>>> YT-100_ATU_Controller.war?
>>>>
>>>> How do I sftp it to the server?
>>>>
>>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
>> For additional commands, e-mail: users-h...@maven.apache.org
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
>> For additional commands, e-mail: users-h...@maven.apache.org
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>

Reply via email to