Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
rubendel committed Jan 30, 2020
2 parents d33ad3e + c502a3b commit 39f4fec
Show file tree
Hide file tree
Showing 11 changed files with 54 additions and 55 deletions.
2 changes: 1 addition & 1 deletion Bdb/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.opensourcebim</groupId>
<artifactId>parent</artifactId>
<version>1.5.181-SNAPSHOT</version>
<version>1.5.182-SNAPSHOT</version>
</parent>
<packaging>jar</packaging>
<name>Bdb</name>
Expand Down
6 changes: 3 additions & 3 deletions BimServer/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.opensourcebim</groupId>
<artifactId>parent</artifactId>
<version>1.5.181-SNAPSHOT</version>
<version>1.5.182-SNAPSHOT</version>
</parent>
<build>
<sourceDirectory>src</sourceDirectory>
Expand Down Expand Up @@ -103,7 +103,7 @@
<dependency>
<groupId>org.opensourcebim</groupId>
<artifactId>bimserverclientlib</artifactId>
<version>1.5.181-SNAPSHOT</version>
<version>1.5.182-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>commons-collections</groupId>
Expand Down Expand Up @@ -189,7 +189,7 @@
<dependency>
<groupId>org.opensourcebim</groupId>
<artifactId>bdb</artifactId>
<version>1.5.181-SNAPSHOT</version>
<version>1.5.182-SNAPSHOT</version>
</dependency>
</dependencies>
<licenses>
Expand Down
3 changes: 1 addition & 2 deletions BimServer/src/org/bimserver/BimServer.java
Original file line number Diff line number Diff line change
Expand Up @@ -689,8 +689,7 @@ public void pluginBundleUninstalled(PluginBundle pluginBundle) {
if (!Files.exists(mavenPath)) {
Files.createDirectories(mavenPath);
}
// mavenPluginRepository = new MavenPluginRepository(mavenPath, "http://central.maven.org/maven2", "~/.m2/repository");


OldQuery.setPackageMetaDataForDefaultQuery(metaDataManager.getPackageMetaData("store"));

bimDatabase = new Database(this, packages, keyValueStore, metaDataManager);
Expand Down
2 changes: 1 addition & 1 deletion BimServer/www/setup.html
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,7 @@ <h4 class="media-heading">Default mergers</h4>
cd.find(".plugins .maven input[type=\"checkbox\"]:checked").each(function(index, checkbox){
var artifactId = $(checkbox).attr("class");
pluginsToInstall[artifactId] = {
repository: "http://central.maven.org/maven2",
repository: "https://repo1.maven.org/maven2",
groupId: "org.opensourcebim",
artifactId: artifactId
};
Expand Down
2 changes: 1 addition & 1 deletion BimServerClientLib/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.opensourcebim</groupId>
<artifactId>parent</artifactId>
<version>1.5.181-SNAPSHOT</version>
<version>1.5.182-SNAPSHOT</version>
</parent>
<properties>
<jetty.version>9.4.19.v20190610</jetty.version>
Expand Down
4 changes: 2 additions & 2 deletions BimServerJar/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.opensourcebim</groupId>
<artifactId>parent</artifactId>
<version>1.5.181-SNAPSHOT</version>
<version>1.5.182-SNAPSHOT</version>
</parent>
<properties>
<jetty.version>9.4.19.v20190610</jetty.version>
Expand Down Expand Up @@ -67,7 +67,7 @@
<dependency>
<groupId>org.opensourcebim</groupId>
<artifactId>bimserver</artifactId>
<version>1.5.181-SNAPSHOT</version>
<version>1.5.182-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
Expand Down
4 changes: 2 additions & 2 deletions BimServerWar/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.opensourcebim</groupId>
<artifactId>parent</artifactId>
<version>1.5.181-SNAPSHOT</version>
<version>1.5.182-SNAPSHOT</version>
</parent>
<build>
<sourceDirectory>src</sourceDirectory>
Expand Down Expand Up @@ -87,7 +87,7 @@
<dependency>
<groupId>org.opensourcebim</groupId>
<artifactId>bimserver</artifactId>
<version>1.5.181-SNAPSHOT</version>
<version>1.5.182-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
Expand Down
2 changes: 1 addition & 1 deletion PluginBase/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.opensourcebim</groupId>
<artifactId>parent</artifactId>
<version>1.5.181-SNAPSHOT</version>
<version>1.5.182-SNAPSHOT</version>
</parent>
<build>
<sourceDirectory>src</sourceDirectory>
Expand Down
80 changes: 40 additions & 40 deletions PluginBase/src/org/bimserver/plugins/RemotePluginRepository.java
Original file line number Diff line number Diff line change
@@ -1,42 +1,42 @@
package org.bimserver.plugins;

/******************************************************************************
* Copyright (C) 2009-2019 BIMserver.org
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see {@literal<http://www.gnu.org/licenses/>}.
*****************************************************************************/

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

import org.apache.maven.repository.internal.MavenRepositorySystemUtils;
import org.eclipse.aether.DefaultRepositorySystemSession;
import org.eclipse.aether.RepositorySystem;
import org.eclipse.aether.RepositorySystemSession;
import org.eclipse.aether.artifact.Artifact;
import org.eclipse.aether.artifact.DefaultArtifact;
import org.eclipse.aether.connector.basic.BasicRepositoryConnectorFactory;
import org.eclipse.aether.impl.DefaultServiceLocator;
import org.eclipse.aether.repository.LocalRepository;
import org.eclipse.aether.repository.RemoteRepository;
import org.eclipse.aether.resolution.ArtifactRequest;
import org.eclipse.aether.resolution.ArtifactResolutionException;
import org.eclipse.aether.resolution.ArtifactResult;
import org.eclipse.aether.spi.connector.RepositoryConnectorFactory;
import org.eclipse.aether.spi.connector.transport.TransporterFactory;
import org.eclipse.aether.transport.file.FileTransporterFactory;
package org.bimserver.plugins;

/******************************************************************************
* Copyright (C) 2009-2019 BIMserver.org
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see {@literal<http://www.gnu.org/licenses/>}.
*****************************************************************************/

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

import org.apache.maven.repository.internal.MavenRepositorySystemUtils;
import org.eclipse.aether.DefaultRepositorySystemSession;
import org.eclipse.aether.RepositorySystem;
import org.eclipse.aether.RepositorySystemSession;
import org.eclipse.aether.artifact.Artifact;
import org.eclipse.aether.artifact.DefaultArtifact;
import org.eclipse.aether.connector.basic.BasicRepositoryConnectorFactory;
import org.eclipse.aether.impl.DefaultServiceLocator;
import org.eclipse.aether.repository.LocalRepository;
import org.eclipse.aether.repository.RemoteRepository;
import org.eclipse.aether.resolution.ArtifactRequest;
import org.eclipse.aether.resolution.ArtifactResolutionException;
import org.eclipse.aether.resolution.ArtifactResult;
import org.eclipse.aether.spi.connector.RepositoryConnectorFactory;
import org.eclipse.aether.spi.connector.transport.TransporterFactory;
import org.eclipse.aether.transport.file.FileTransporterFactory;
import org.eclipse.aether.transport.http.HttpTransporterFactory;

public class RemotePluginRepository {
Expand Down Expand Up @@ -103,7 +103,7 @@ public static List<RemoteRepository> newRepositories(RepositorySystem system, Re
}

private static RemoteRepository newCentralRepository() {
return new RemoteRepository.Builder("central", "default", "http://central.maven.org/maven2/").build();
return new RemoteRepository.Builder("central", "default", "https://repo1.maven.org/maven2/").build();
}

}
2 changes: 1 addition & 1 deletion Shared/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.opensourcebim</groupId>
<artifactId>parent</artifactId>
<version>1.5.181-SNAPSHOT</version>
<version>1.5.182-SNAPSHOT</version>
</parent>
<build>
<sourceDirectory>src</sourceDirectory>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.opensourcebim</groupId>
<artifactId>parent</artifactId>
<version>1.5.181-SNAPSHOT</version>
<version>1.5.182-SNAPSHOT</version>
<packaging>pom</packaging>
<description>This is the parent pom, no idea why this is being released</description>
<properties>
Expand Down

0 comments on commit 39f4fec

Please sign in to comment.