Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [glassfish-dev] Configuring Intellij Development Environment

Thanks Arjan, it did the trick :)
Now, time to play with code :)
Regards.
Gurkan

On Tue, May 12, 2020 at 11:42 AM arjan tijms <arjan.tijms@xxxxxxxxx> wrote:
Hi,

What I found helpful in this case is setting a global ~/.m2/settings.xml with the following:

    <profiles>
        <profile>
            <id>default</id>
            <activation>
                <activeByDefault>true</activeByDefault>
            </activation>

            <repositories>
                <repository>
                    <id>sonatype-nexus-staging</id>
                    <name>Sonatype Nexus Staging</name>
                    <url>https://jakarta.oss.sonatype.org/content/repositories/staging/ </url>
                    <releases>
                        <enabled>true</enabled>
                    </releases>
                    <snapshots>
                        <enabled>false</enabled>
                    </snapshots>
                </repository>
            </repositories>
            <pluginRepositories>
                <pluginRepository>
                    <id>sonatype-nexus-staging</id>
                    <name>Sonatype Nexus Staging</name>
                    <url>https://jakarta.oss.sonatype.org/content/repositories/staging/ </url>
                    <releases>
                        <enabled>true</enabled>
                    </releases>
                    <snapshots>
                        <enabled>false</enabled>
                    </snapshots>
                </pluginRepository>
            </pluginRepositories>
        </profile>
    </profiles>
</settings>

Eclipse, NetBeans, Maven command line etc should all use that universally.

Kind regards,
Arjan Tijms


On Tue, May 12, 2020 at 10:29 AM Steve Millidge (Payara) <steve.millidge@xxxxxxxxxxx> wrote:

I know NetBeans has issues because to see any of the depdencies you need to specify -Pstaging on your maven builds. Therefore NetBeans sees the project as broken as it can’t find any dependencies. Even configuring the maven build to use -Pstaging in the build didn’t fix it in NetBeans.

 

Steve

 

From: glassfish-dev-bounces@xxxxxxxxxxx <glassfish-dev-bounces@xxxxxxxxxxx> On Behalf Of Gurkan Erdogdu
Sent: 12 May 2020 07:42
To: glassfish-dev@xxxxxxxxxxx
Subject: [glassfish-dev] Configuring Intellij Development Environment

 

Hi there

I am trying to configure Intellij (Ultimate 2018.3) to use the Glassfish 6 development environment. But still no luck, Intellij does not see the project as maven project.

 

Does anybody uses intellij for development environment?
--

Gurkan Erdogdu

_______________________________________________
glassfish-dev mailing list
glassfish-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/glassfish-dev
_______________________________________________
glassfish-dev mailing list
glassfish-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/glassfish-dev


--

Back to the top