Comments (4)
Thanks.
from reposilite.
By default, NanoMaven removes repository name from urls. For example:
Artifact:
<dependency>
<groupId>org.panda-lang</groupId>
<artifactId>nanomaven</artifactId>
<version>1.0.6</version>
</dependency>
Distribution:
<distributionManagement>
<repository>
<id>panda-repository</id>
<url>https://repo.panda-lang.org/releases</url> <!-- repositrory name is required -->
</repository>
</distributionManagement>
But the URL is: https://repo.panda-lang.org/org/panda-lang/nanomaven/1.0.6/nanomaven-1.0.6.jar
.
If you'd like to provide repository name in paths, just enable:
https://github.com/dzikoysk/NanoMaven/blob/9ab1da1445a8c1d9030b64196b47cb8fdb41cb59/src/main/resources/nanomaven.pc#L14
from reposilite.
Got it.
distributionManagement
and repositories
should share exactly the same url if repository-path-enabled
is true
.
But in case of false
repository-path-enabled
maybe you can scan root dir for artifacts.
URLs will remain consistent also in this case, meaning no additional sub dir for deploy and get.
from reposilite.
1.0.7 should work as you want, add this to your configuration:
# Root directories of repositories
repositories:
- ''
- 'releases'
- 'snapshots'
from reposilite.
Related Issues (20)
- Reposilite should search all mirrors when looking up the last version of a package HOT 1
- Incorrectly Classifier Jar File Downloaded from Mirror Repository HOT 7
- Reposilite 3.5.7 fails with java.lang.IllegalMonitorStateException HOT 2
- Release 3.5.8 HOT 1
- Automated date based cleanup option for mirrored artifacts HOT 1
- Configuration reference HOT 2
- Limited path rewrites. HOT 8
- Release 3.5.9 HOT 1
- Release 3.5.10 HOT 1
- Swagger UI responds with blank page
- entrypoint.sh setting of UID/GID doesn't play nice with NFS-provisioned storage HOT 6
- SHA1 checksum is different, causing SBT build to fail HOT 3
- WebUI showing folder multiple times HOT 4
- 3.5.11 HOT 1
- SHA(X) Hashes Generated for Uploaded JAR Files Incorrect HOT 4
- Release 3.5.12 HOT 1
- Exposed changed data format in our database
- Support for Dokka in the JavaDoc integration HOT 4
- Release 3.5.13 HOT 1
- When in debug mode, log all sql statements HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from reposilite.