Skip to content
Open
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
40 changes: 40 additions & 0 deletions java-ecosystem/libs/analysis-api/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
target/
!.mvn/wrapper/maven-wrapper.jar
!**/src/main/**/target/
!**/src/test/**/target/
/src/main/resources/application.properties

### IntelliJ IDEA ###
.idea
*.iws
*.iml
*.ipr

### Eclipse ###
.apt_generated
.classpath
.factorypath
.project
.settings
.springBeans
.sts4-cache

### NetBeans ###
/nbproject/private/
/nbbuild/
/dist/
/nbdist/
/.nb-gradle/
build/
!**/src/main/**/build/
!**/src/test/**/build/

### VS Code ###
.vscode/

### Mac OS ###
.DS_Store

index.ts
.env
server.log
Comment on lines +38 to +40
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

index.ts seems out of place in a Java module.

This is a Java Maven module (analysis-api), but index.ts is a TypeScript entry point file. This appears to be copy-pasted from a Node.js project template. Consider removing it if not applicable to this module.

.env and server.log are reasonable entries for any project.

🤖 Prompt for AI Agents
In `@java-ecosystem/libs/analysis-api/.gitignore` around lines 38 - 40, Remove the
stray "index.ts" entry from the analysis-api module's .gitignore because this is
a Java/Maven module and that TypeScript entry is likely copy-pasted; keep the
`.env` and `server.log` entries intact and only delete the "index.ts" line in
the .gitignore for the analysis-api module.

49 changes: 49 additions & 0 deletions java-ecosystem/libs/analysis-api/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>org.rostilos.codecrow</groupId>
<artifactId>codecrow-parent</artifactId>
<version>1.0</version>
<relativePath>../../pom.xml</relativePath>
</parent>

<artifactId>codecrow-analysis-api</artifactId>
<packaging>jar</packaging>
<version>1.0</version>
<name>CodeCrow Analysis API</name>
<description>API interfaces for analysis services - allows modules to depend on interfaces without implementations</description>

<properties>
<java.version>17</java.version>
</properties>

<dependencies>
<!-- Core library for model classes (Project, etc.) -->
<dependency>
<groupId>org.rostilos.codecrow</groupId>
<artifactId>codecrow-core</artifactId>
</dependency>

<!-- SLF4J for logging in default implementations -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
</configuration>
</plugin>
</plugins>
</build>
</project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module org.rostilos.codecrow.analysisapi {
requires org.rostilos.codecrow.core;
requires org.slf4j;

exports org.rostilos.codecrow.analysisapi.rag;
}
Loading