Moderator: JIDE Support
<build>
<plugins>
<plugin>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<phase>deploy</phase>
<goals>
<goal>source:jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.5</source>
<target>1.5</target>
</configuration>
</plugin>
<plugin>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<phase>deploy</phase>
<goals>
<goal>source:jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
</plugin>
<dependencies>
<dependency>
<groupId>aqua</groupId>
<artifactId>aqua</artifactId>
<version>5.0</version>
<scope>system</scope>
<systemPath>${basedir}/libs/laf.jar</systemPath>
</dependency>
</dependencies>
Validation Errors:
[DEBUG] For dependency Dependency {groupId=aqua, artifactId=aqua, version=5.0, type=jar}: system-scoped dependency must specify an absolute path systemPath.
[DEBUG]
<?xml version="1.0"?><project>
<modelVersion>4.0.0</modelVersion>
<groupId>com.jidesoft</groupId>
<artifactId>jide-oss</artifactId>
<name>JIDE Common Layer</name>
<version>2.1.3.04</version>
<description>JIDE Common Layer (Professional Swing Components)</description>
<url>https://jide-oss.dev.java.net</url>
<licenses>
<license>
<name>GPL with classpath exception</name>
<url>http://www.gnu.org/licenses/gpl.txt</url>
<distribution>repo</distribution>
</license>
<license>
<name>Free commercial license</name>
<url>http://www.jidesoft.com/purchase/SLA.htm</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<connection>https://jide-oss.dev.java.net/svn/jide-oss/trunk</connection>
<url>https://jide-oss.dev.java.net/svn/jide-oss/trunk</url>
</scm>
<build>
<sourceDirectory>src</sourceDirectory>
<resources>
<resource>
<directory>src</directory>
<includes>
<include>**/*.properties</include>
<include>**/*.gif</include>
<include>**/*.jpg</include>
<include>**/*.png</include>
</includes>
</resource>
</resources>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.5</source>
<target>1.5</target>
</configuration>
</plugin>
<plugin>
<artifactId>maven-source-plugin</artifactId>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<activation>
<os>
<family>mac</family>
</os>
</activation>
<dependencies>
<dependency>
<groupId>aqua</groupId>
<artifactId>aqua</artifactId>
<version>5.0</version>
<scope>system</scope>
<systemPath>${basedir}/libs/laf.jar</systemPath>
</dependency>
</dependencies>
</profile>
</profiles>
<distributionManagement>
<repository>
<id>local-repository</id>
<url>${m2-repo.java.net.url}</url>
</repository>
<status>deployed</status>
</distributionManagement>
</project>
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.reactor.MavenExecutionException: Invalid project file: distribution status must not be specified for a project outside of the repository
at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:365)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:278)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.project.ProjectBuildingException: Invalid project file: distribution status must not be specified for a project outside of the repository
at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:430)
at org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:192)
at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:515)
at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:447)
at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:351)
... 11 more
<status>deployed</status>
<dependency>
<groupId>com.jidesoft</groupId>
<artifactId>jide-oss</artifactId>
<version>2.2.1.04</version>
</dependency>
Return to JIDE Common Layer Open Source Project Discussion (Community Driven)
Users browsing this forum: No registered users and 7 guests