Skip to content
Merged

Dev #26

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/docs/commands/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ haft dockerize --json
| `--db` | | Database type (postgresql, mysql, mariadb, mongodb, redis, none) |
| `--no-compose` | | Skip docker-compose.yml generation |
| `--no-interactive` | | Skip interactive prompts |
| `--force` | `-f` | Overwrite existing files |
| `--json` | | Output result as JSON |

## Supported Databases
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/commands/doctor.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ The `doctor` command performs comprehensive health checks on your Spring Boot pr
|------|-------------|
| `--json` | Output results as JSON (for CI/CD pipelines) |
| `--strict` | Exit with code 1 on any warning |
| `--category` | Filter by category (build, source, config, security, dependencies, best-practice) |
| `--category` | Filter by category (build, source, config, security, dependencies, best-practice, docker) |

## Examples

Expand Down
6 changes: 3 additions & 3 deletions docs/docs/guides/dependencies.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ description: Available Spring Boot dependencies and shortcuts

# Dependencies

Haft provides access to all official Spring Boot starters plus 230+ additional dependency shortcuts for popular libraries across 35 categories.
Haft provides access to all official Spring Boot starters plus 330+ additional dependency shortcuts for popular libraries across 35 categories.

## Build Tool Support

Expand Down Expand Up @@ -154,9 +154,9 @@ These are the official Spring Boot starters available during `haft init`:

---

## Extended Shortcuts (230+)
## Extended Shortcuts (330+)

Beyond Spring Initializr starters, `haft add` supports 230+ shortcuts for popular libraries:
Beyond Spring Initializr starters, `haft add` supports 330+ shortcuts for popular libraries:

### Web & HTTP

Expand Down
2 changes: 1 addition & 1 deletion docs/docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ haft version
You should see output like:

```
haft version v0.3.0
haft version vX.Y.Z
```

## Shell Completions
Expand Down
3 changes: 3 additions & 0 deletions docs/sidebars.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,12 @@ const sidebars: SidebarsConfig = {
'commands/init',
'commands/generate',
'commands/security',
'commands/generate-scheduler',
'commands/add',
'commands/remove',
'commands/dev',
'commands/docker',
'commands/doctor',
'commands/info',
'commands/routes',
'commands/stats',
Expand Down
64 changes: 32 additions & 32 deletions internal/cli/add/catalog.go
Original file line number Diff line number Diff line change
Expand Up @@ -427,63 +427,63 @@ var dependencyCatalog = map[string]CatalogEntry{
"openai": {
Name: "Spring AI OpenAI",
Description: "OpenAI (ChatGPT, GPT-4) integration",
Category: "AI",
Category: "AI & Machine Learning",
Dependencies: []buildtool.Dependency{
{GroupId: "org.springframework.ai", ArtifactId: "spring-ai-openai-spring-boot-starter"},
},
},
"anthropic": {
Name: "Spring AI Anthropic",
Description: "Anthropic Claude integration",
Category: "AI",
Category: "AI & Machine Learning",
Dependencies: []buildtool.Dependency{
{GroupId: "org.springframework.ai", ArtifactId: "spring-ai-anthropic-spring-boot-starter"},
},
},
"ollama": {
Name: "Spring AI Ollama",
Description: "Ollama local LLM integration",
Category: "AI",
Category: "AI & Machine Learning",
Dependencies: []buildtool.Dependency{
{GroupId: "org.springframework.ai", ArtifactId: "spring-ai-ollama-spring-boot-starter"},
},
},
"azure-openai": {
Name: "Spring AI Azure OpenAI",
Description: "Azure OpenAI integration",
Category: "AI",
Category: "AI & Machine Learning",
Dependencies: []buildtool.Dependency{
{GroupId: "org.springframework.ai", ArtifactId: "spring-ai-azure-openai-spring-boot-starter"},
},
},
"bedrock": {
Name: "Spring AI Amazon Bedrock",
Description: "Amazon Bedrock AI integration",
Category: "AI",
Category: "AI & Machine Learning",
Dependencies: []buildtool.Dependency{
{GroupId: "org.springframework.ai", ArtifactId: "spring-ai-bedrock-ai-spring-boot-starter"},
},
},
"vertex-ai": {
Name: "Spring AI Vertex AI",
Description: "Google Vertex AI Gemini integration",
Category: "AI",
Category: "AI & Machine Learning",
Dependencies: []buildtool.Dependency{
{GroupId: "org.springframework.ai", ArtifactId: "spring-ai-vertex-ai-gemini-spring-boot-starter"},
},
},
"mistral": {
Name: "Spring AI Mistral",
Description: "Mistral AI integration",
Category: "AI",
Category: "AI & Machine Learning",
Dependencies: []buildtool.Dependency{
{GroupId: "org.springframework.ai", ArtifactId: "spring-ai-mistral-ai-spring-boot-starter"},
},
},
"pgvector": {
Name: "PGVector",
Description: "PostgreSQL vector database for AI",
Category: "AI",
Category: "AI & Machine Learning",
Dependencies: []buildtool.Dependency{
{GroupId: "org.springframework.ai", ArtifactId: "spring-ai-pgvector-store-spring-boot-starter"},
},
Expand Down Expand Up @@ -1771,63 +1771,63 @@ var dependencyCatalog = map[string]CatalogEntry{
"google-maps": {
Name: "Google Maps",
Description: "Google Maps Server SDK (Geocoding, Directions, Places)",
Category: "Maps",
Category: "Maps & Geo",
Dependencies: []buildtool.Dependency{
{GroupId: "com.google.maps", ArtifactId: "google-maps-services", Version: "2.2.0"},
},
},
"mapbox": {
Name: "Mapbox",
Description: "Mapbox Java SDK (Navigation, Search, Maps)",
Category: "Maps",
Category: "Maps & Geo",
Dependencies: []buildtool.Dependency{
{GroupId: "com.mapbox.mapboxsdk", ArtifactId: "mapbox-sdk-services", Version: "6.15.0"},
},
},
"graphhopper": {
Name: "GraphHopper",
Description: "Open-source routing engine (Directions API)",
Category: "Maps",
Category: "Maps & Geo",
Dependencies: []buildtool.Dependency{
{GroupId: "com.graphhopper", ArtifactId: "graphhopper-core", Version: "8.0"},
},
},
"h3": {
Name: "H3",
Description: "Uber's Hexagonal Hierarchical Spatial Index",
Category: "Maps",
Category: "Maps & Geo",
Dependencies: []buildtool.Dependency{
{GroupId: "com.uber", ArtifactId: "h3", Version: "4.1.1"},
},
},
"jts": {
Name: "JTS Topology Suite",
Description: "Geometry and spatial operations",
Category: "Maps",
Category: "Maps & Geo",
Dependencies: []buildtool.Dependency{
{GroupId: "org.locationtech.jts", ArtifactId: "jts-core", Version: "1.19.0"},
},
},
"geotools": {
Name: "GeoTools",
Description: "Geospatial data tools (Shapefiles, CRS)",
Category: "Maps",
Category: "Maps & Geo",
Dependencies: []buildtool.Dependency{
{GroupId: "org.geotools", ArtifactId: "gt-main", Version: "30.2"},
},
},
"ip2location": {
Name: "IP2Location",
Description: "IP Address to Geo-location lookup",
Category: "Maps",
Category: "Maps & Geo",
Dependencies: []buildtool.Dependency{
{GroupId: "com.ip2location", ArtifactId: "ip2location-java", Version: "8.11.1"},
},
},
"maxmind": {
Name: "MaxMind GeoIP2",
Description: "MaxMind GeoIP2 Database integration",
Category: "Maps",
Category: "Maps & Geo",
Dependencies: []buildtool.Dependency{
{GroupId: "com.maxmind.geoip2", ArtifactId: "geoip2", Version: "4.2.0"},
},
Expand Down Expand Up @@ -2075,87 +2075,87 @@ var dependencyCatalog = map[string]CatalogEntry{
"spark": {
Name: "Apache Spark",
Description: "Apache Spark Java API",
Category: "Data",
Category: "Data Processing",
Dependencies: []buildtool.Dependency{
{GroupId: "org.apache.spark", ArtifactId: "spark-core_2.13", Version: "3.5.0"},
},
},
"flink": {
Name: "Apache Flink",
Description: "Stream processing framework",
Category: "Data",
Category: "Data Processing",
Dependencies: []buildtool.Dependency{
{GroupId: "org.apache.flink", ArtifactId: "flink-java", Version: "1.18.1"},
},
},
"hadoop": {
Name: "Apache Hadoop",
Description: "Hadoop client libraries",
Category: "Data",
Category: "Data Processing",
Dependencies: []buildtool.Dependency{
{GroupId: "org.apache.hadoop", ArtifactId: "hadoop-client", Version: "3.3.6"},
},
},
"djl": {
Name: "Deep Java Library",
Description: "Amazon's ML toolkit for Java",
Category: "AI",
Category: "AI & Machine Learning",
Dependencies: []buildtool.Dependency{
{GroupId: "ai.djl", ArtifactId: "api", Version: "0.27.0"},
},
},
"weka": {
Name: "Weka",
Description: "Machine Learning algorithms collection",
Category: "AI",
Category: "AI & Machine Learning",
Dependencies: []buildtool.Dependency{
{GroupId: "nz.ac.waikato.cms.weka", ArtifactId: "weka-stable", Version: "3.8.6"},
},
},
"corenlp": {
Name: "Stanford CoreNLP",
Description: "Natural Language Processing",
Category: "AI",
Category: "AI & Machine Learning",
Dependencies: []buildtool.Dependency{
{GroupId: "edu.stanford.nlp", ArtifactId: "stanford-corenlp", Version: "4.5.6"},
},
},
"langchain4j": {
Name: "LangChain4j",
Description: "LangChain for Java (LLM orchestration)",
Category: "AI",
Category: "AI & Machine Learning",
Dependencies: []buildtool.Dependency{
{GroupId: "dev.langchain4j", ArtifactId: "langchain4j", Version: "0.28.0"},
},
},
"pinecone": {
Name: "Pinecone",
Description: "Pinecone vector database client",
Category: "AI",
Category: "AI & Machine Learning",
Dependencies: []buildtool.Dependency{
{GroupId: "io.pinecone", ArtifactId: "pinecone-client", Version: "1.0.0"},
},
},
"weaviate": {
Name: "Weaviate",
Description: "Weaviate vector database client",
Category: "AI",
Category: "AI & Machine Learning",
Dependencies: []buildtool.Dependency{
{GroupId: "io.weaviate", ArtifactId: "client", Version: "4.5.1"},
},
},
"qdrant": {
Name: "Qdrant",
Description: "Qdrant vector database client",
Category: "AI",
Category: "AI & Machine Learning",
Dependencies: []buildtool.Dependency{
{GroupId: "io.qdrant", ArtifactId: "client", Version: "1.7.2"},
},
},
"chroma": {
Name: "Chroma",
Description: "Chroma vector database client",
Category: "AI",
Category: "AI & Machine Learning",
Dependencies: []buildtool.Dependency{
{GroupId: "dev.langchain4j", ArtifactId: "langchain4j-chroma", Version: "0.28.0"},
},
Expand Down Expand Up @@ -2428,39 +2428,39 @@ var dependencyCatalog = map[string]CatalogEntry{
"tablesaw": {
Name: "Tablesaw",
Description: "Java Dataframes (Pandas equivalent)",
Category: "Data",
Category: "Data Processing",
Dependencies: []buildtool.Dependency{
{GroupId: "tech.tablesaw", ArtifactId: "tablesaw-core", Version: "0.43.1"},
},
},
"commons-math": {
Name: "Apache Commons Math",
Description: "Math and statistics library",
Category: "Data",
Category: "Data Processing",
Dependencies: []buildtool.Dependency{
{GroupId: "org.apache.commons", ArtifactId: "commons-math3", Version: "3.6.1"},
},
},
"nd4j": {
Name: "ND4J",
Description: "N-Dimensional Arrays (NumPy equivalent)",
Category: "Data",
Category: "Data Processing",
Dependencies: []buildtool.Dependency{
{GroupId: "org.nd4j", ArtifactId: "nd4j-native-platform", Version: "1.0.0-M2.1"},
},
},
"joda-money": {
Name: "Joda-Money",
Description: "Currency and money handling",
Category: "Data",
Category: "Data Processing",
Dependencies: []buildtool.Dependency{
{GroupId: "org.joda", ArtifactId: "joda-money", Version: "1.0.4"},
},
},
"jgrapht": {
Name: "JGraphT",
Description: "Graph theory data structures and algorithms",
Category: "Data",
Category: "Data Processing",
Dependencies: []buildtool.Dependency{
{GroupId: "org.jgrapht", ArtifactId: "jgrapht-core", Version: "1.5.2"},
},
Expand Down
Loading