- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for addMirror (0.06 sec)
-
compat/maven-settings-builder/src/test/java/org/apache/maven/settings/validation/DefaultSettingsValidatorTest.java
Settings settings = new Settings(); Mirror mirror = new Mirror(); mirror.setId("local"); settings.addMirror(mirror); mirror = new Mirror(); mirror.setId("illegal\\:/chars"); mirror.setUrl("http://void"); mirror.setMirrorOf("void"); settings.addMirror(mirror); SimpleProblemCollector problems = new SimpleProblemCollector(); validator.validate(settings, problems);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.6K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/configuration/SettingsXmlConfigurationProcessor.java
// <url>http://repository.sonatype.org/content/groups/public</url> // </mirror> // </mirrors> for (Mirror mirror : settings.getMirrors()) { request.addMirror(mirror); } for (Repository remoteRepository : settings.getRepositories()) { try {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 12.1K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequestPopulator.java
// </mirror> // </mirrors> for (Mirror mirror : settings.getMirrors()) { mirror = mirror.clone(); request.addMirror(mirror); } request.setActiveProfiles(settings.getActiveProfiles()); for (org.apache.maven.settings.Profile rawProfile : settings.getProfiles()) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequest.java
MavenExecutionRequest addServer(Server server); // Mirrors List<Mirror> getMirrors(); MavenExecutionRequest setMirrors(List<Mirror> mirrors); MavenExecutionRequest addMirror(Mirror mirror); // Plugin groups List<String> getPluginGroups(); MavenExecutionRequest setPluginGroups(List<String> pluginGroups); MavenExecutionRequest addPluginGroup(String pluginGroup);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 18.4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java
this.mirrors = new ArrayList<>(mirrors); } else { this.mirrors = null; } return this; } @Override public MavenExecutionRequest addMirror(Mirror mirror) { Objects.requireNonNull(mirror, "mirror cannot be null"); for (Mirror p : getMirrors()) { if (p.getId() != null && p.getId().equals(mirror.getId())) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 31.7K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java
// <url>http://repository.sonatype.org/content/groups/public</url> // </mirror> // </mirrors> for (Mirror mirror : settings.getMirrors()) { request.addMirror(new org.apache.maven.settings.Mirror(mirror)); } for (Repository remoteRepository : settings.getRepositories()) { try {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 38K bytes - Viewed (0) -
scan.go
} db.scanIntoStruct(rows, reflectValue, values, fields, joinFields) } default: db.AddError(rows.Scan(dest)) } } if err := rows.Err(); err != nil && err != db.Error { db.AddError(err) } if db.RowsAffected == 0 && db.Statement.RaiseErrorOnNotFound && db.Error == nil { db.AddError(ErrRecordNotFound) }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Jun 24 09:42:59 UTC 2024 - 10.1K bytes - Viewed (0) -
callbacks/preload.go
switch reflectFieldValue.Kind() { case reflect.Struct: tx.AddError(rel.Field.Set(tx.Statement.Context, data, elem.Interface())) case reflect.Slice, reflect.Array: if reflectFieldValue.Type().Elem().Kind() == reflect.Ptr { tx.AddError(rel.Field.Set(tx.Statement.Context, data, reflect.Append(reflectFieldValue, elem).Interface())) } else {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Wed Jun 12 10:52:33 UTC 2024 - 11.6K bytes - Viewed (0) -
finisher_api.go
err = ErrInvalidTransaction } if err != nil { tx.AddError(err) } return tx } // Commit commits the changes in a transaction func (db *DB) Commit() *DB { if committer, ok := db.Statement.ConnPool.(TxCommitter); ok && committer != nil && !reflect.ValueOf(committer).IsNil() { db.AddError(committer.Commit()) } else { db.AddError(ErrInvalidTransaction) } return db }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Sat Sep 14 12:58:29 UTC 2024 - 22.8K bytes - Viewed (0) -
statement.go
stmt.AddError(field.Set(stmt.Context, stmt.ReflectValue.Index(stmt.CurDestIndex), value)) } case reflect.Struct: if !stmt.ReflectValue.CanAddr() { stmt.AddError(ErrInvalidValue) return } stmt.AddError(field.Set(stmt.Context, stmt.ReflectValue, value)) } } else { stmt.AddError(ErrInvalidField) } } else { stmt.AddError(ErrInvalidField) } }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Jun 24 09:42:59 UTC 2024 - 19.9K bytes - Viewed (0)