MangoAutomation / BACnet4J

BACnet/IP stack written in Java. Forked from http://sourceforge.net/projects/bacnet4j/
GNU General Public License v3.0
183 stars 110 forks source link

Non-SNAPSHOT release needed for 5.0.2 #48

Closed WhittlesJr closed 4 years ago

WhittlesJr commented 4 years ago
Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: 
Could not transfer artifact com.serotonin:bacnet4j:pom:5.0.2 from/to ias-snapshots (https://maven.mangoautomation.net/repository/ias-snapshot/): 
Repository version policy: SNAPSHOT does not allow version: 5.0.2 (400)
terrypacker commented 4 years ago

@WhittlesJr it looks like you are trying to use the ias-snapshots repo to get a release. Use the ias-releases repo:

    <repository>
        <releases>
            <enabled>true</enabled>
        </releases>
        <snapshots>
            <enabled>false</enabled>
        </snapshots>
        <id>ias-releases</id>
        <name>Infinite Automation Release Repository</name>
        <url>https://maven.mangoautomation.net/repository/ias-release/</url>
    </repository>
WhittlesJr commented 4 years ago

I have both ias-releases and ias-snapshots configured. If I take away ias-snapshots, it fails to resolve 5.0.2:

Error building classpath. Could not find artifact com.serotonin:bacnet4j:jar:5.0.2 in central (https://repo1.maven.org/maven2/)

terrypacker commented 4 years ago

Ah I see. In 5.0 the maven coordinates changed:

    <groupId>com.infiniteautomation</groupId>
    <artifactId>bacnet4j</artifactId>
WhittlesJr commented 4 years ago

Oh ok. Thank you!