-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
It would make it easier if you published to Maven Central so we could simply reference your jar in our pom.xml. I found, after building with: mvn install clean I was able to reference locally in my ~/.m2/repository using:
<dependency>
<groupId>com.google.search.robotstxt</groupId>
<artifactId>robotstxt-java</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>
But I need to inform others to clone and build locally if they intend to use the library.
It would also be helpful to add the build for *-jar-with-dependencies.jar by updating the pom.xml with these lines in the plugin:
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
add these
<executions>
<execution>
<id>simple-command</id>
<phase>package</phase>
<goals>
<goal>attached</goal>
</goals>
</execution>
</executions>
end addition
<configuration>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
<archive>
<manifest>
<mainClass>com.google.search.robotstxt.RobotsParserApp</mainClass>
</manifest>
</archive>
</configuration>
</plugin>
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels