خرید بک لینک

Vote count: 0

**I have a very simple / basic Web app. When I run

mvn deploy -e I am seeing the following error in the console.**

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project TestWebApp: Deployment failed: repository element was not specified in the POM inside distributionManagement element or in -DaltDeploymentRepository=id::layout::url parameter -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project TestWebApp: Deployment failed: reposi tory element was not specified in the POM inside distributionManagement element or in -DaltDeploymentRepository=id::layout::url parameter at org.apache.maven.lifecycle.inteal.MojoExecutor.execute(MojoExecutor.java:216) at org.apache.maven.lifecycle.inteal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.inteal.MojoExecutor.execute(MojoExecutor.java:145)

<profile>
        <id>TestWebApp-Repo</id>
            <repositories>
                <distributionManagement>
                    <repository>
                      <id>TestWebApp_Repository</id>
                      <name>TestWebApp Applications Repository Inteal</name>
                      <url>C:/Users/~/.m2/repository</url>
                      <releases>
                        <enabled>true</enabled>
                      </releases>
                      <snapshots>
                        <enabled>false</enabled>
                      </snapshots>
                    </repository>
                </distributionManagement>
            </repositories>
</profile>

asked 1 min ago

برچسب: نویسنده: استخدام کار تاريخ: پنجشنبه 19 فروردين 1395 ساعت: 20:10

صفحه بندی