Mavenda muammo

+2 ovoz
45 marta ko‘rilgan
so‘radi 19 dekabr, 18 Qahhorov (257 bal)
Assalomu alaykum! Intellijda maven proyekt yaratmoqchiman. Maven turgan papkani kŏrsatdim. Lekin plaginlada xatolik berayabdi. Bu muammoni qanday yechish mumkin?
izoh qoldirdi 19 dekabr, 18 Saidolim (3,516 bal)
pom file da nimalar borligini ko`rsatingchi
izoh qoldirdi 06 yanvar Qahhorov (257 bal)
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <groupId>uz.yordam.atmdt</groupId>
    <artifactId>web-server</artifactId>
    <version>1.0-SNAPSHOT</version>
    <build>
        <pluginManagement>
            <plugins>
                <plugin>
                    <artifactId>maven-compiler-plugin</artifactId>
                    <version>3.7.0</version>
                    <configuration>
                        <source>1.8</source>
                        <target>1.8</target>
                        <useIncrementalCompilation>true</useIncrementalCompilation>
                        <optimize>true</optimize>
                    </configuration>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-deploy-plugin</artifactId>
                    <version>2.8.2</version>
                    <configuration>
                        <skip>true</skip>
                    </configuration>
                </plugin>
            </plugins>
        </pluginManagement>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-shade-plugin</artifactId>
                <version>3.1.1</version>
                <executions>
                    <execution>
                        <phase>package</phase>
                        <goals>
                            <goal>shade</goal>
                        </goals>
                        <configuration>
                            <artifactSet>
                            </artifactSet>
                            <outputFile>${project.build.directory}/${project.name}-api.jar
                            </outputFile>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>
</project>
izoh qoldirdi 06 yanvar Qahhorov (257 bal)
Saidolim aka shu pom faylga plaginlar ko'rsatilishi kerak ekan. Lekin yuqorida ko'rsatilgan plaginlardan boshqalarini qanday ko'rsatishni bilmayabman

1 ta javob

0 ovoz
javob berdi 09 yanvar Ruhillo (186 bal)

Bu yerda men o'zgacha bir narsaga ega bo'ldim, ammo "mvn clean install" ni yozganimda, maven oynasida muvaffaqiyatga erishish mumkin, biroq Eclipse-ga import qilinganida xatolarni ko'rsatmoqda.

O'zingizga qarang:

mvn clean install

Eclipse

Menimcha, pom.xml dan kvartsni chiqarib tashlash muammoni hal qildi, lekin nima uchun buni bilmoqchi edim.

sizdayam xuddi shunday bo'lyaptimi???/

Assalomu alaykum, yordam.uz saytimizga xush kelibsiz.

Bu saytda o`zingizni qiziqtirgan savollarga javob olishingiz va o`z sohangiz bo`yicha savollarga javob berishingiz mumkin.

Bizning Oilamizga a'zo bo`lganingiz uchun chuqur Minnatdorchilik bildiramiz !!!

Telegram kanal YordamUzRss

...